зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1505665 [wpt PR 13974] - Sync Mozilla CSS tests as of 2018-11-07, a=testonly
Automatic update from web-platform-testsSync Mozilla CSS tests as of https://hg.mozilla.org/mozilla-central/rev/d87537833fcfd8d18f4d1c2782631c79c161a281 . (#13974) This contains a single change, from [bug 1500107](https://bugzilla.mozilla.org/show_bug.cgi?id=1500107), by @BorisChiou, already reviewed by @birtles. -- wpt-commits: cd44958a002b1ad494168e0290554644de84526e wpt-pr: 13974
This commit is contained in:
Родитель
34730483e0
Коммит
155293aaaf
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
# <shape-box> only
|
# <shape-box> only
|
||||||
== shape-outside-margin-box-001.html shape-outside-margin-box-001-ref.html
|
== shape-outside-margin-box-001.html shape-outside-margin-box-001-ref.html
|
||||||
== shape-outside-margin-box-002.html shape-outside-margin-box-002-ref.html
|
== shape-outside-margin-box-002.html shape-outside-margin-box-002-ref.html
|
||||||
|
|
|
@ -1,90 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Individual transform: compare individual transform with transform functions</title>
|
|
||||||
<link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
|
|
||||||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#individual-transforms">
|
|
||||||
<meta name="assert" content="Tests whether individaul transform works correctlyi by compare the rendering result with transfrom functions of the 'transform' property."/>
|
|
||||||
<style>
|
|
||||||
div {
|
|
||||||
position: fixed;
|
|
||||||
width: 100px;
|
|
||||||
height: 100px;
|
|
||||||
transform-origin: 0 0;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 10px 0px 10px 0px;
|
|
||||||
border-color: lime;
|
|
||||||
}
|
|
||||||
.row_1 {
|
|
||||||
top: 100px;
|
|
||||||
}
|
|
||||||
.scale_1{
|
|
||||||
left: 100px;
|
|
||||||
width: 50px;
|
|
||||||
height: 100px;
|
|
||||||
transform: scaleX(2);
|
|
||||||
}
|
|
||||||
.translate_1 {
|
|
||||||
left: 150px;
|
|
||||||
transform: translateX(150px);
|
|
||||||
}
|
|
||||||
.rotate_1 {
|
|
||||||
left: 450px;
|
|
||||||
transform-origin: 50% 50%;
|
|
||||||
transform: rotate(90deg);
|
|
||||||
}
|
|
||||||
|
|
||||||
.row_2 {
|
|
||||||
top: 250px;
|
|
||||||
}
|
|
||||||
.scale_2{
|
|
||||||
left: 100px;
|
|
||||||
width: 50px;
|
|
||||||
height: 50px;
|
|
||||||
transform: scale(2, 2);
|
|
||||||
}
|
|
||||||
.translate_2 {
|
|
||||||
left: 150px;
|
|
||||||
top: 200px;
|
|
||||||
transform: translate(150px, 50px);
|
|
||||||
}
|
|
||||||
.rotate_2 {
|
|
||||||
left: 450px;
|
|
||||||
transform-origin: 50% 50%;
|
|
||||||
transform: rotate3d(0, 0, 1, 90deg);
|
|
||||||
}
|
|
||||||
.row_3 {
|
|
||||||
transform: perspective(500px);
|
|
||||||
top: 400px;
|
|
||||||
}
|
|
||||||
.scale_3{
|
|
||||||
left: 100px;
|
|
||||||
width: 50px;
|
|
||||||
height: 50px;
|
|
||||||
transform: scale3d(2, 2, 2);
|
|
||||||
}
|
|
||||||
.translate_3 {
|
|
||||||
left: 150px;
|
|
||||||
transform: translate3d(150px, 10px, 10px);
|
|
||||||
}
|
|
||||||
.rotate_3 {
|
|
||||||
left: 450px;
|
|
||||||
transform-origin: 50% 50%;
|
|
||||||
transform: rotate3d(0, 1, 0, 45deg);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="scale_1 row_1"></div>
|
|
||||||
<div class="translate_1 row_1"></div>
|
|
||||||
<div class="rotate_1 row_1"></div>
|
|
||||||
<div class="scale_2 row_2"></div>
|
|
||||||
<div class="translate_2 row_2"></div>
|
|
||||||
<div class="rotate_2 row_2"></div>
|
|
||||||
<div class="scale_3 row_3"></div>
|
|
||||||
<div class="translate_3 row_3"></div>
|
|
||||||
<div class="rotate_3 row_3"></div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,100 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Individual transform: compare individual transform with transform functions</title>
|
|
||||||
<link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
|
|
||||||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#individual-transforms">
|
|
||||||
<meta name="assert" content="Tests whether individaul transform works correctlyi by compare the rendering result with transfrom functions of the 'transform' property."/>
|
|
||||||
<link rel="match" href="individual-transform-1-ref.html">
|
|
||||||
<style>
|
|
||||||
div {
|
|
||||||
position: fixed;
|
|
||||||
width: 100px;
|
|
||||||
height: 100px;
|
|
||||||
transform-origin: 0 0;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 10px 0px 10px 0px;
|
|
||||||
border-color: lime;
|
|
||||||
}
|
|
||||||
.row_1 {
|
|
||||||
top: 100px;
|
|
||||||
}
|
|
||||||
.scale_1{
|
|
||||||
left: 100px;
|
|
||||||
width: 50px;
|
|
||||||
height: 100px;
|
|
||||||
/* test 'scale: <number>' */
|
|
||||||
scale: 2;
|
|
||||||
}
|
|
||||||
.translate_1 {
|
|
||||||
left: 150px;
|
|
||||||
/* test 'translate: <length-percentage>' */
|
|
||||||
translate: 150px;
|
|
||||||
}
|
|
||||||
.rotate_1 {
|
|
||||||
left: 450px;
|
|
||||||
transform-origin: 50% 50%;
|
|
||||||
/* test 'rota: te<angle>' */
|
|
||||||
rotate: 90deg;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row_2 {
|
|
||||||
top: 250px;
|
|
||||||
}
|
|
||||||
.scale_2{
|
|
||||||
left: 100px;
|
|
||||||
width: 50px;
|
|
||||||
height: 50px;
|
|
||||||
/* test 'scale: <number>{2}'' */
|
|
||||||
scale: 2 2;
|
|
||||||
}
|
|
||||||
.translate_2 {
|
|
||||||
left: 150px;
|
|
||||||
top: 200px;
|
|
||||||
/* test 'translate: <length-percentage><length-percentage>' */
|
|
||||||
translate: 150px 50px;
|
|
||||||
}
|
|
||||||
.rotate_2 {
|
|
||||||
left: 450px;
|
|
||||||
transform-origin: 50% 50%;
|
|
||||||
/* test 'rotate: <number>{3}<angle>'*/
|
|
||||||
rotate: 0 0 1 90deg;
|
|
||||||
}
|
|
||||||
.row_3 {
|
|
||||||
transform: perspective(500px);
|
|
||||||
top: 400px;
|
|
||||||
}
|
|
||||||
.scale_3{
|
|
||||||
left: 100px;
|
|
||||||
width: 50px;
|
|
||||||
height: 50px;
|
|
||||||
/* test 'scale: <number>{3}'' */
|
|
||||||
scale: 2 2 2;
|
|
||||||
}
|
|
||||||
.translate_3 {
|
|
||||||
left: 150px;
|
|
||||||
/* test 'translate: <length-percentage><length>' */
|
|
||||||
translate: 150px 10px 10px;
|
|
||||||
}
|
|
||||||
.rotate_3 {
|
|
||||||
left: 450px;
|
|
||||||
transform-origin: 50% 50%;
|
|
||||||
/* test 'rotate: <number>{3}<angle>'*/
|
|
||||||
rotate: 0 1 0 45deg;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="scale_1 row_1"></div>
|
|
||||||
<div class="translate_1 row_1"></div>
|
|
||||||
<div class="rotate_1 row_1"></div>
|
|
||||||
<div class="scale_2 row_2"></div>
|
|
||||||
<div class="translate_2 row_2"></div>
|
|
||||||
<div class="rotate_2 row_2"></div>
|
|
||||||
<div class="scale_3 row_3"></div>
|
|
||||||
<div class="translate_3 row_3"></div>
|
|
||||||
<div class="rotate_3 row_3"></div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,30 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Individual transform: combine individual transform properties</title>
|
|
||||||
<link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
|
|
||||||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#individual-transforms">
|
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#ctm">
|
|
||||||
<meta name="assert" content="Tests that we combine transforms in the correct order."/>
|
|
||||||
<style>
|
|
||||||
div {
|
|
||||||
position: fixed;
|
|
||||||
width: 100px;
|
|
||||||
height: 100px;
|
|
||||||
top: 200px;
|
|
||||||
left: 200px;
|
|
||||||
transform-origin: 0 0;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 10px 0px 10px 0px;
|
|
||||||
border-color: lime;
|
|
||||||
transform: translate(50px, 50px) rotate(45deg) scale(2, 2);
|
|
||||||
}
|
|
||||||
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div></div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,32 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Individual transform: combine individual transform properties</title>
|
|
||||||
<link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
|
|
||||||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#individual-transforms">
|
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#ctm">
|
|
||||||
<meta name="assert" content="Tests that we combine transforms in the correct order."/>
|
|
||||||
<link rel="match" href="individual-transform-2-ref.html">
|
|
||||||
<style>
|
|
||||||
div {
|
|
||||||
position: fixed;
|
|
||||||
width: 100px;
|
|
||||||
height: 100px;
|
|
||||||
top: 200px;
|
|
||||||
left: 200px;
|
|
||||||
transform-origin: 0 0;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 10px 0px 10px 0px;
|
|
||||||
border-color: lime;
|
|
||||||
translate: 50px 50px;
|
|
||||||
rotate: 45deg;
|
|
||||||
scale: 2 2;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div></div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,32 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Individual transform: combine individual transform properties</title>
|
|
||||||
<link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
|
|
||||||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#individual-transforms">
|
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#ctm">
|
|
||||||
<meta name="assert" content="Tests that we combine transforms in the correct order."/>
|
|
||||||
<link rel="match" href="individual-transform-2-ref.html">
|
|
||||||
<style>
|
|
||||||
div {
|
|
||||||
position: fixed;
|
|
||||||
width: 100px;
|
|
||||||
height: 100px;
|
|
||||||
top: 200px;
|
|
||||||
left: 200px;
|
|
||||||
transform-origin: 0 0;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 10px 0px 10px 0px;
|
|
||||||
border-color: lime;
|
|
||||||
rotate: 45deg;
|
|
||||||
scale: 2 2;
|
|
||||||
translate: 50px 50px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div></div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,32 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Individual transform: combine individual transform properties</title>
|
|
||||||
<link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
|
|
||||||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#individual-transforms">
|
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#ctm">
|
|
||||||
<meta name="assert" content="Tests that we combine transforms in the correct order."/>
|
|
||||||
<link rel="match" href="individual-transform-2-ref.html">
|
|
||||||
<style>
|
|
||||||
div {
|
|
||||||
position: fixed;
|
|
||||||
width: 100px;
|
|
||||||
height: 100px;
|
|
||||||
top: 200px;
|
|
||||||
left: 200px;
|
|
||||||
transform-origin: 0 0;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 10px 0px 10px 0px;
|
|
||||||
border-color: lime;
|
|
||||||
translate: 50px 50px;
|
|
||||||
rotate: 45deg;
|
|
||||||
transform: scale(2, 2);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div></div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,31 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Individual transform: combine individual transform properties</title>
|
|
||||||
<link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
|
|
||||||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#individual-transforms">
|
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#ctm">
|
|
||||||
<meta name="assert" content="Tests that we combine transforms in the correct order."/>
|
|
||||||
<link rel="match" href="individual-transform-2-ref.html">
|
|
||||||
<style>
|
|
||||||
div {
|
|
||||||
position: fixed;
|
|
||||||
width: 100px;
|
|
||||||
height: 100px;
|
|
||||||
top: 200px;
|
|
||||||
left: 200px;
|
|
||||||
transform-origin: 0 0;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 10px 0px 10px 0px;
|
|
||||||
border-color: lime;
|
|
||||||
translate: 50px 50px;
|
|
||||||
transform: rotate(45deg) scale(2, 2);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div></div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,31 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Individual transform: combine individual transform properties</title>
|
|
||||||
<link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
|
|
||||||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#individual-transforms">
|
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#ctm">
|
|
||||||
<meta name="assert" content="Tests that we combine transforms in the correct order."/>
|
|
||||||
<link rel="match" href="individual-transform-2-ref.html">
|
|
||||||
<style>
|
|
||||||
div {
|
|
||||||
position: fixed;
|
|
||||||
width: 100px;
|
|
||||||
height: 100px;
|
|
||||||
top: 200px;
|
|
||||||
left: 200px;
|
|
||||||
transform-origin: 0 0;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 10px 0px 10px 0px;
|
|
||||||
border-color: lime;
|
|
||||||
translate: 0px 50px;
|
|
||||||
transform: translateX(50px) rotate(45deg) scale(2, 2);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div></div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -5,10 +5,3 @@
|
||||||
== perspective-zero.html reference/green.html
|
== perspective-zero.html reference/green.html
|
||||||
== perspective-zero-2.html perspective-zero-2-ref.html
|
== perspective-zero-2.html perspective-zero-2-ref.html
|
||||||
== perspective-untransformable-no-stacking-context.html perspective-untransformable-no-stacking-context-ref.html
|
== perspective-untransformable-no-stacking-context.html perspective-untransformable-no-stacking-context-ref.html
|
||||||
|
|
||||||
== individual-transform-1.html individual-transform-1-ref.html
|
|
||||||
== individual-transform-2a.html individual-transform-2-ref.html
|
|
||||||
== individual-transform-2b.html individual-transform-2-ref.html
|
|
||||||
== individual-transform-2c.html individual-transform-2-ref.html
|
|
||||||
== individual-transform-2d.html individual-transform-2-ref.html
|
|
||||||
== individual-transform-2e.html individual-transform-2-ref.html
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче