mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
This commit is contained in:
parent
fb4f421c8b
commit
296fa2512b
21852 changed files with 2080936 additions and 892894 deletions
|
@ -0,0 +1,54 @@
|
|||
<!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: horizontal-tb, float left, circle(50% at left 40px bottom 40px)</title>
|
||||
<link href="mailto:tlin@mozilla.com" rel="author" title="Ting-Yu Lin">
|
||||
<link href="http://www.mozilla.org/" rel="author" title="Mozilla">
|
||||
<link href="https://drafts.csswg.org/css-shapes-1/#supported-basic-shapes" rel="help">
|
||||
<link href="reference/shape-outside-circle-023-ref.htm" rel="match">
|
||||
<meta content="" name="flags">
|
||||
<meta content="Test the boxes are wrapping around the left float shape defined by circle(50% at left 40px bottom 40px) value under horizontal-tb writing-mode." name="assert">
|
||||
<style>
|
||||
.container {
|
||||
writing-mode: horizontal-tb;
|
||||
inline-size: 200px;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.shape {
|
||||
float: left;
|
||||
shape-outside: circle(50% at left 40px bottom 40px) border-box;
|
||||
clip-path: circle(50% at left 40px bottom 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-end: 20px;
|
||||
background-color: orange;
|
||||
}
|
||||
|
||||
.box {
|
||||
display: inline-block;
|
||||
inline-size: 60px;
|
||||
background-color: blue;
|
||||
}
|
||||
|
||||
.long {
|
||||
inline-size: 200px;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head><body class="container">
|
||||
<div class="shape"></div>
|
||||
<div style="block-size: 20px;" class="long box"></div> <!-- Fill the border area due to the circle shifted -->
|
||||
<div style="block-size: 12px;" class="box"></div> <!-- Box at corner -->
|
||||
<div style="block-size: 12px;" class="box"></div> <!-- Box at corner -->
|
||||
<div style="block-size: 36px;" class="box"></div>
|
||||
<div style="block-size: 36px;" class="box"></div>
|
||||
<div style="block-size: 12px;" class="box"></div> <!-- Box at corner -->
|
||||
<div style="block-size: 20px;" class="long box"></div>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue