mikke89 on layout
Add tests for vertical-align an… Fix inline-block alignment Warn on missing font face when … and 1 more (compare)
mikke89 on layout
Add new inline formatting test Update line box, linked open fr… Allow splitting all open inline… (compare)
mikke89 on layout
Some cleanup, fix alignment of … Inline layout cleanup Refactor inline layout (compare)
mikke89 on layout
Fix float spacing Improved inline-block baseline Wrap if there is no available w… and 4 more (compare)
EnableScissorRegion(true)
is called, will a SetScissorRegion
call always come immediately after it, or is it possible for it to set the scissors once, then disable them and then enable again without setting it again, meaning it should use the previous value?
SetScissorResion
multiple times following a EnableScissorRegion(true)
?
Hey, I'm trying to position my dialog box based on the window edges, using margin only, rather than width and height.
body
{
font-family: LatoLatin;
font-weight: normal;
font-style: normal;
font-size: 2em;
color: white;
background: #f00;
width: 100%;
height: 100%;
}
#box
{
margin-bottom: 80dp;
background: #000;
padding: 1em;
}
I got the result in the screenshot above. The black box is not near the bottom at all, it's like it's sticking to the minimal height based on its content.
"bottom" instead of margin-bottom doesn't help. Is there a way to counter this behavior, and is it standard CSS?
position: absolute;
together with the above rules.