mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
14 lines
501 B
HTML
14 lines
501 B
HTML
|
<!DOCTYPE HTML>
|
||
|
<title>Test for left:calc() on relatively positioned elements</title>
|
||
|
<style>
|
||
|
body { margin: 0 100px; width: 100px }
|
||
|
div[style] { background: blue; position: relative; height: 3px; }
|
||
|
</style>
|
||
|
|
||
|
<div style="left: -moz-calc(50px)"></div>
|
||
|
<div style="left: -moz-calc(-50%)"></div>
|
||
|
<div style="left: -moz-calc(25px + 50%)"></div>
|
||
|
<div style="left: -moz-calc(-150% / 2 + 30px)"></div>
|
||
|
<div style="left: -moz-calc(40px + 10% - 20% / 2)"></div>
|
||
|
<div style="left: -moz-calc(10% - 40px)"></div>
|