mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
26 lines
1.2 KiB
HTML
26 lines
1.2 KiB
HTML
|
<!DOCTYPE HTML>
|
||
|
<title>intrinsic width of text-indent: calc() on blocks</title>
|
||
|
<style>
|
||
|
|
||
|
body { font-size: 10px }
|
||
|
div { float: left; clear: left;
|
||
|
margin: 0 0 1px 0; background: blue; color: white; height: 5px }
|
||
|
span { display: inline-block; width: 10px }
|
||
|
|
||
|
</style>
|
||
|
|
||
|
<div style="text-indent: -moz-calc(50% - 3px)"><span></span></div>
|
||
|
<div style="text-indent: -moz-calc(5em - 3px)"><span></span></div>
|
||
|
<div style="text-indent: -moz-calc(max(5em, 0) - 3px)"><span></span></div>
|
||
|
<div style="text-indent: -moz-calc(max(5em, 0%) - 3px)"><span></span></div>
|
||
|
<div style="text-indent: -moz-calc(5em - min(3px, 0%))"><span></span></div>
|
||
|
<div style="text-indent: -moz-calc(5em - min(3px, 0))"><span></span></div>
|
||
|
<div style="text-indent: -moz-calc(5em - 0%)"><span></span></div>
|
||
|
<div style="text-indent: -moz-calc(50%)"><span></span></div>
|
||
|
<div style="text-indent: -moz-calc(50px)"><span></span></div>
|
||
|
<div style="text-indent: -moz-calc(25% + 25%)"><span></span></div>
|
||
|
<div style="text-indent: -moz-calc(min(25%, 50%))"><span></span></div>
|
||
|
<div style="text-indent: -moz-calc(max(25%, 50%))"><span></span></div>
|
||
|
<div style="text-indent: -moz-calc(min(25%, 100px))"><span></span></div>
|
||
|
<div style="text-indent: -moz-calc(max(25%, 100px))"><span></span></div>
|