servo/tests/wpt/css-tests/css-shapes-1_dev/xhtml1/reference/shape-outside-circle-017-ref.xht
Ms2ger 296fa2512b Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180.
- Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
2017-02-06 22:38:29 +01:00

52 lines
No EOL
2.1 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- Any copyright is dedicated to the Public Domain.
- http://creativecommons.org/publicdomain/zero/1.0/ --><html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8" />
<title>CSS Shape Test: vertical-rl, float left, circle(50% at left 40px top 40px) reference</title>
<link href="mailto:tlin@mozilla.com" rel="author" title="Ting-Yu Lin" />
<link href="http://www.mozilla.org/" rel="author" title="Mozilla" />
<style>
.container {
writing-mode: vertical-rl;
position: absolute;
inline-size: 200px;
line-height: 0;
}
.shape {
float: left;
/* Omit shape-outside */
clip-path: circle(50% at left 40px top 40px) border-box;
box-sizing: content-box;
block-size: 40px;
inline-size: 40px;
padding: 20px;
border: 20px solid lightgreen;
margin-inline-start: 20px;
margin-inline-start: 20px;
margin-block-end: 28px;
background-color: orange;
}
.box {
position: absolute;
inline-size: 60px;
background-color: blue;
}
.long {
inline-size: 200px;
}
</style>
</head><body class="container">
<div class="shape"></div>
<div style="block-size: 20px; offset-block-start: 0px; offset-inline-start: 0;" class="long box"></div> <!-- Fill the border area due to the circle shifted -->
<div style="block-size: 12px; offset-block-start: 20px; offset-inline-start: 96px;" class="box"></div> <!-- Box at corner -->
<div style="block-size: 12px; offset-block-start: 32px; offset-inline-start: 108px;" class="box"></div> <!-- Box at corner -->
<div style="block-size: 36px; offset-block-start: 44px; offset-inline-start: 120px;" class="box"></div>
<div style="block-size: 36px; offset-block-start: 80px; offset-inline-start: 120px;" class="box"></div>
<div style="block-size: 12px; offset-block-start: 116px; offset-inline-start: 108px;" class="box"></div> <!-- Box at corner -->
<div style="block-size: 20px; offset-block-start: 128px; offset-inline-start: 0;" class="long box"></div>
</body></html>