mirror of
https://github.com/servo/servo.git
synced 2025-06-13 10:54:29 +00:00
Instead of taking margin size into account twice when positioning layers, just rely on the absolute position calculated during display list construction.
5 lines
143 B
HTML
5 lines
143 B
HTML
<html>
|
|
<body>
|
|
<div style="position: absolute; width: 100px; height: 100px; background: green; top: 100px; left: 0px;"></div>
|
|
</body>
|
|
</html>
|