servo/tests/wpt/css-tests/css-shapes-1_dev/html/reference/shape-outside-ellipse-018-ref.htm
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

45 lines
No EOL
1.6 KiB
HTML

<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
- http://creativecommons.org/publicdomain/zero/1.0/ --><html><head><meta charset="utf-8">
<title>CSS Shape Test: vertical-lr, float right, ellipse(farthest-side closest-side at top 40px left 60px) border-box 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-lr;
direction: rtl;
position: absolute;
inline-size: 200px;
line-height: 0;
}
.shape {
float: right;
/* Omit shape-outside */
clip-path: ellipse(farthest-side closest-side at top 40px left 60px) border-box;
box-sizing: content-box;
block-size: 40px;
inline-size: 40px;
padding: 10px 20px;
border: solid lightgreen;
border-width: 10px;
margin-block-end: 20px;
background-color: orange;
}
.box {
position: absolute;
inline-size: 80px;
background-color: blue;
}
</style>
</head><body class="container">
<div class="shape"></div>
<div style="block-size: 24px; offset-block-start: 0px; offset-inline-start: 72px;" class="box"></div> <!-- Box at corner -->
<div style="block-size: 36px; offset-block-start: 24px; offset-inline-start: 80px;" class="box"></div>
<div style="block-size: 36px; offset-block-start: 60px; offset-inline-start: 80px;" class="box"></div>
<div style="block-size: 24px; offset-block-start: 96px; offset-inline-start: 72px;" class="box"></div> <!-- Box at corner -->
</body></html>