mirror of
https://github.com/servo/servo.git
synced 2025-06-23 08:34:42 +01:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
20 lines
No EOL
791 B
HTML
20 lines
No EOL
791 B
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<title>CSS Test: Test for vertical-align:calc()</title>
|
|
<link href="https://dbaron.org/" rel="author" title="L. David Baron">
|
|
<link href="http://www.w3.org/TR/css3-values/#calc-notation" rel="help">
|
|
<link href="reference/calc-vertical-align-1-ref.htm" rel="match">
|
|
<meta content="" name="flags">
|
|
|
|
</head><body><div style="line-height: 100px; margin-top: 100px">
|
|
<span>x</span>
|
|
<span style="vertical-align: calc(50px)">x</span>
|
|
<span style="vertical-align: calc(50%)">x</span>
|
|
<span style="vertical-align: calc(25px + 50%)">x</span>
|
|
<span style="vertical-align: calc(150% / 2 - 30px)">x</span>
|
|
<span style="vertical-align: calc(40px + 10% - 20% / 2)">x</span>
|
|
<span style="vertical-align: calc(40px - 10%)">x</span>
|
|
</div>
|
|
|
|
|
|
</body></html> |