mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Update web-platform-tests to revision 58b72393db0bd273bb93268c33666cf893feb985
This commit is contained in:
parent
43a4f01647
commit
64e0a52537
12717 changed files with 59835 additions and 59820 deletions
|
@ -0,0 +1 @@
|
|||
@jihyerish
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: Anchor of the element</title>
|
||||
<link rel="author" title="Jihye Hong" href="mailto:jh.hong@lge.com" />
|
||||
<link rel="help" href="https://www.w3.org/TR/css-round-display-1/#polar-anchor-property">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="Test checks that the representative point of the element specified with 'polar-anchor'.">
|
||||
<style type="text/css">
|
||||
.container {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border: medium solid black;
|
||||
}
|
||||
.item {
|
||||
position: absolute;
|
||||
polar-anchor: center;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the center of a red box is positioned at the upper left corner of the containing block.<br>
|
||||
The element is positioned using Cartesian coordinates and the anchor point is at its center.</p>
|
||||
<div class="container">
|
||||
<div class="item"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: Anchor of the element</title>
|
||||
<link rel="author" title="Jihye Hong" href="mailto:jh.hong@lge.com" />
|
||||
<link rel="help" href="https://www.w3.org/TR/css-round-display-1/#polar-anchor-property">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="Test checks that the representative point of the element specified with 'polar-anchor'.">
|
||||
<style type="text/css">
|
||||
.container {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border: medium solid black;
|
||||
}
|
||||
.item {
|
||||
position: absolute;
|
||||
polar-anchor: center;
|
||||
left: 50px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the center of a red box is positioned at 50px far from the left edge of the containing block.<br>
|
||||
The element is positioned using Cartesian coordinates and the anchor point is at its center.</p>
|
||||
<div class="container">
|
||||
<div class="item"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: Anchor of the element</title>
|
||||
<link rel="author" title="Jihye Hong" href="mailto:jh.hong@lge.com" />
|
||||
<link rel="help" href="https://www.w3.org/TR/css-round-display-1/#polar-anchor-property">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="Test checks that the representative point of the element specified with 'polar-anchor'.">
|
||||
<style type="text/css">
|
||||
.container {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border: medium solid black;
|
||||
}
|
||||
.item {
|
||||
position: absolute;
|
||||
polar-anchor: center;
|
||||
polar-distance: 0px;
|
||||
polar-angle: 90deg;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the center of a red box is positioned at the center of the containing block.<br>
|
||||
The element is positioned using polar coordinates and the anchor point is at its center.</p>
|
||||
<div class="container">
|
||||
<div class="item"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: Anchor of the element</title>
|
||||
<link rel="author" title="Jihye Hong" href="mailto:jh.hong@lge.com" />
|
||||
<link rel="help" href="https://www.w3.org/TR/css-round-display-1/#polar-anchor-property">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="Test checks that the representative point of the element specified with 'polar-anchor'.">
|
||||
<style type="text/css">
|
||||
.container {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border: medium solid black;
|
||||
}
|
||||
.item {
|
||||
position: absolute;
|
||||
polar-anchor: left top;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the upper left corner of a red box is positioned at the upper left corner of the containing block.<br>
|
||||
The element is positioned using Cartesian coordinates and the anchor point is at its upper left corner.</p>
|
||||
<div class="container">
|
||||
<div class="item"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: Anchor of the element</title>
|
||||
<link rel="author" title="Jihye Hong" href="mailto:jh.hong@lge.com" />
|
||||
<link rel="help" href="https://www.w3.org/TR/css-round-display-1/#polar-anchor-property">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="Test checks that the representative point of the element specified with 'polar-anchor'.">
|
||||
<style type="text/css">
|
||||
.container {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border: medium solid black;
|
||||
}
|
||||
.item {
|
||||
position: absolute;
|
||||
polar-anchor: top;
|
||||
polar-distance: 0px;
|
||||
polar-angle: 90deg;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the center point of the red box's top edge is positioned at the center of the containing block.<br>
|
||||
The element is positioned using polar coordinates and the anchor point is at the center of its top edge.</p>
|
||||
<div class="container">
|
||||
<div class="item"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: Position an element with 'polar-origin' and 'polar-anchor'</title>
|
||||
<link rel="author" title="Jihye Hong" href="mailto:jh.hong@lge.com" />
|
||||
<link rel="help" href="https://www.w3.org/TR/css-round-display-1/#positioning-content">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="Test checks that the position of an element specified with 'polar-origin' and 'polar-anchor'.">
|
||||
<style type="text/css">
|
||||
.container {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border: medium solid black;
|
||||
}
|
||||
.item {
|
||||
position: absolute;
|
||||
polar-origin: center;
|
||||
polar-anchor: center;
|
||||
polar-distance: 0px;
|
||||
polar-angle: 90deg;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the center of the red box is positioned at the center of the containing block.<br>
|
||||
The element is positioned using polar coordinates.<br>
|
||||
The origin of coordinates is the center point of the containing block.<br>
|
||||
And the anchor point of the element is its center point.</p>
|
||||
<div class="container">
|
||||
<div class="item"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: Position an element with 'polar-origin' and 'polar-anchor'</title>
|
||||
<link rel="author" title="Jihye Hong" href="mailto:jh.hong@lge.com" />
|
||||
<link rel="help" href="https://www.w3.org/TR/css-round-display-1/#positioning-content">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="Test checks that the position of an element specified with 'polar-origin' and 'polar-anchor'.">
|
||||
<style type="text/css">
|
||||
.container {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border: medium solid black;
|
||||
}
|
||||
.item {
|
||||
position: absolute;
|
||||
polar-origin: center;
|
||||
polar-anchor: left;
|
||||
polar-distance: 0px;
|
||||
polar-angle: 90deg;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the center point of the red box's left edge is positioned at the center of the containing block.<br>
|
||||
The element is positioned using polar coordinates.<br>
|
||||
The origin of coordinates is the center point of the containing block.<br>
|
||||
And the anchor point of the element is the center point of its left edge.</p>
|
||||
<div class="container">
|
||||
<div class="item"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: Position an element with 'polar-origin' and 'polar-anchor'</title>
|
||||
<link rel="author" title="Jihye Hong" href="mailto:jh.hong@lge.com" />
|
||||
<link rel="help" href="https://www.w3.org/TR/css-round-display-1/#positioning-content">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="Test checks that the position of an element specified with 'polar-origin' and 'polar-anchor'.">
|
||||
<style type="text/css">
|
||||
.container {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border: medium solid black;
|
||||
}
|
||||
.item {
|
||||
position: absolute;
|
||||
polar-origin: bottom;
|
||||
polar-anchor: left;
|
||||
polar-distance: 0px;
|
||||
polar-angle: 90deg;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the center point of the red box's left edge is positioned at the center point of the containing block's bottom edge.<br>
|
||||
The element is positioned using polar coordinates.<br>
|
||||
The origin of coordinates is the center point of the containing block's bottom edge.<br>
|
||||
And the anchor point of the element is the center point of its left edge.</p>
|
||||
<div class="container">
|
||||
<div class="item"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: Position an element with 'polar-origin' and 'polar-anchor'</title>
|
||||
<link rel="author" title="Jihye Hong" href="mailto:jh.hong@lge.com" />
|
||||
<link rel="help" href="https://www.w3.org/TR/css-round-display-1/#positioning-content">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="Test checks that the position of an element specified with 'polar-origin' and 'polar-anchor'.">
|
||||
<style type="text/css">
|
||||
.container {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border: medium solid black;
|
||||
}
|
||||
.item {
|
||||
position: absolute;
|
||||
polar-origin: bottom;
|
||||
polar-anchor: left top;
|
||||
polar-distance: 0px;
|
||||
polar-angle: 90deg;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the upper left corner of the red box is positioned at the center point of the containing block's bottom edge.<br>
|
||||
The element is positioned using polar coordinates.<br>
|
||||
The origin of coordinates is the center point of the containing block's bottom edge.<br>
|
||||
And the anchor point of the element is at its upper left corner.</p>
|
||||
<div class="container">
|
||||
<div class="item"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: Position an element with 'polar-origin' and 'polar-anchor'</title>
|
||||
<link rel="author" title="Jihye Hong" href="mailto:jh.hong@lge.com" />
|
||||
<link rel="help" href="https://www.w3.org/TR/css-round-display-1/#positioning-content">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="Test checks that the position of an element specified with 'polar-origin' and 'polar-anchor'.">
|
||||
<style type="text/css">
|
||||
.container {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border: medium solid black;
|
||||
}
|
||||
.item {
|
||||
position: absolute;
|
||||
polar-origin: right bottom;
|
||||
polar-anchor: left top;
|
||||
polar-distance: 0px;
|
||||
polar-angle: 90deg;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the upper left corner of the red box is positioned at the lower right corner of the containing block's bottom edge.<br>
|
||||
The element is positioned using polar coordinates.<br>
|
||||
The origin of coordinates is at the lower right corner of the containing block.<br>
|
||||
And the anchor point of the element is at its upper left corner.</p>
|
||||
<div class="container">
|
||||
<div class="item"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: Origin of Coordinates</title>
|
||||
<link rel="author" title="Jihye Hong" href="mailto:jh.hong@lge.com" />
|
||||
<link rel="help" href="https://www.w3.org/TR/css-round-display-1/#polar-origin-property" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Test checks that the origin of the coordinate system specified with 'polar-origin'." />
|
||||
<style type="text/css">
|
||||
.container {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border: medium solid black;
|
||||
}
|
||||
.item {
|
||||
position: absolute;
|
||||
polar-origin: auto;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the upper left corner of a red box is positioned at the upper left corner of the containing block.<br>
|
||||
The element is positioned using Cartesian coordinates and the origin of coordinates is the upper left corner of the containing block.</p>
|
||||
<div class="container">
|
||||
<div class="item"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: Origin of Coordinates</title>
|
||||
<link rel="author" title="Jihye Hong" href="mailto:jh.hong@lge.com" />
|
||||
<link rel="help" href="https://www.w3.org/TR/css-round-display-1/#polar-origin-property" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Test checks that the origin of the coordinate system specified with 'polar-origin'." />
|
||||
<style type="text/css">
|
||||
.container {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border: medium solid black;
|
||||
}
|
||||
.item {
|
||||
position: absolute;
|
||||
polar-origin: auto;
|
||||
polar-distance: 0px;
|
||||
polar-angle: 90deg;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the center of a red box is positioned at the center of the containing block.<br>
|
||||
The element is positioned using polar coordinates and the origin of coordinates is the center of the containing block.</p>
|
||||
<div class="container">
|
||||
<div class="item"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: Origin of Coordinates</title>
|
||||
<link rel="author" title="Jihye Hong" href="mailto:jh.hong@lge.com" />
|
||||
<link rel="help" href="https://www.w3.org/TR/css-round-display-1/#polar-origin-property" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Test checks that the origin of the coordinate system specified with 'polar-origin'." />
|
||||
<style type="text/css">
|
||||
.container {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border: medium solid black;
|
||||
}
|
||||
.item {
|
||||
position: absolute;
|
||||
polar-origin: center;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the upper left corner of a red box is positioned at the center of the containing block.<br>
|
||||
The element is positioned using Cartesian coordinates and the origin of coordinates is the center of the containing block.</p>
|
||||
<div class="container">
|
||||
<div class="item"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: Origin of Coordinates</title>
|
||||
<link rel="author" title="Jihye Hong" href="mailto:jh.hong@lge.com" />
|
||||
<link rel="help" href="https://www.w3.org/TR/2016/WD-css-round-display-1-20160301/#polar-origin-property" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Test checks that the origin of the coordinate system specified with 'polar-origin'." />
|
||||
<style type="text/css">
|
||||
.container {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border: medium solid black;
|
||||
}
|
||||
.item {
|
||||
position: absolute;
|
||||
polar-origin: left;
|
||||
polar-distance: 0px;
|
||||
polar-angle: 90deg;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the center of a red box is positioned at the center of the containing block's left edge.<br>
|
||||
The element is positioned using polar coordinates and the origin of coordinates is the center of the containing block's left edge.</p>
|
||||
<div class="container">
|
||||
<div class="item"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: Origin of Coordinates</title>
|
||||
<link rel="author" title="Jihye Hong" href="mailto:jh.hong@lge.com" />
|
||||
<link rel="help" href="https://www.w3.org/TR/2016/WD-css-round-display-1-20160301/#polar-origin-property" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Test checks that the origin of the coordinate system specified with 'polar-origin'." />
|
||||
<style type="text/css">
|
||||
.container {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border: medium solid black;
|
||||
}
|
||||
.item {
|
||||
position: absolute;
|
||||
polar-origin: left bottom;
|
||||
polar-distance: 0px;
|
||||
polar-angle: 90deg;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the center of a red box is positioned at the left-side bottom corner of the containing block.<br>
|
||||
The element is positioned using polar coordinates and the origin of coordinates is the left-side bottom corner of the containing block's left edge.</p>
|
||||
<div class="container">
|
||||
<div class="item"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue