forked from mirrors/gecko-dev
Automatic update from web-platform-tests Remove empty css flags tags from the css directory (non-CSS2) (8/8) (#32151) * remove empty flags tags from the (non CSS2) css directories * remove extra spaces from merge -- wpt-commits: 5e295079d07ef43bdd9fe1ccea9b59067fc5ae46 wpt-pr: 32151
23 lines
811 B
HTML
23 lines
811 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<title>CSS Test: Test of margin-*: calc()</title>
|
|
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
|
|
<link rel="help" href="http://www.w3.org/TR/css3-values/#calc-notation">
|
|
<link rel="match" href="calc-margin-block-1-ref.html">
|
|
<style type="text/css">
|
|
|
|
div { border: medium solid green; width: 500px }
|
|
p { background: yellow }
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div><p style="margin: calc(10px + 1%) 0 0 0">paragraph with margin</p></div>
|
|
<div><p style="margin: 0 calc(10px + 1%) 0 0">paragraph with margin</p></div>
|
|
<div><p style="margin: 0 0 calc(10px + 1%) 0">paragraph with margin</p></div>
|
|
<div><p style="margin: 0 0 0 calc(10px + 1%)">paragraph with margin</p></div>
|
|
<div><p style="margin: calc(30px - 1%)">paragraph with margin</p></div>
|
|
</body>
|
|
</html>
|