mirror of
https://github.com/servo/servo.git
synced 2025-06-13 10:54:29 +00:00
...and vice-versa. This is not a complete fix for all mixed-direction layout cases, but it fixes enough problems to make some simple test cases pass, like tha attached reftest. There are FIXME comments for many of the remaining issues. In particular, this does not yet handle RTL layout of fixed/absolute elements.
16 lines
243 B
HTML
16 lines
243 B
HTML
<head>
|
|
<style>
|
|
#outer {
|
|
width: 400px;
|
|
background: red;
|
|
}
|
|
#inner {
|
|
height: 100px;
|
|
width: 100px;
|
|
background: green;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="outer"><div id="inner"></div></div>
|
|
</body>
|