mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
2a022d4e34
The basic idea is that mOriginalDisplay and mOriginalFloats are kept synchronized with mDisplay and mFloats unless the latter are changed due to position:absolute/fixed (for both) or float:left/right (for display). When initializing an nsStyleDisplay from a start struct, we restore the values from mOriginalDisplay/Floats to get correct behavior.
10 lines
193 B
HTML
10 lines
193 B
HTML
<!DOCTYPE html>
|
|
<head>
|
|
<style>
|
|
span { float: left; border: 1px solid green }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<span style="position: static; border: 1px solid green">Test<br>Test</span>
|
|
</body>
|