mirror of
https://github.com/servo/servo
synced 2026-05-09 00:22:16 +02: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.
17 lines
243 B
HTML
17 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>
|