servo/tests/ref/rtl_body_ref.html
Matt Brubeck 531bcb12ae Fixes for positioning of RTL blocks.
This fixes a bug in finding the top left corner of an RTL block in physical
coordinates.  (The old code used the `start` point of the `position` rect,
which is not always the top left.)

It also fixes the setting of `position.start.i` in certain mixed LTR/RTL
cases.

There is still a bug related to `position.size` for RTL blocks with margins.
See the FIXME comments for details.
2015-03-17 10:18:17 -07:00

20 lines
250 B
HTML

<head>
<style>
body {
margin: 0;
}
#outer {
background: green;
width: 300px;
height: 100px;
position:absolute;
top: 0;
right: 0;
}
</style>
</head>
<body>
<div id="outer"></div>
</body>