-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update web-platform-tests to revision ac4274136e9a034628a3a469890c8e3…
…7babbc902
- Loading branch information
WPT Sync Bot
committed
Dec 15, 2018
1 parent
c9229f3
commit b0862d9
Showing
68 changed files
with
2,064 additions
and
135 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
tests/wpt/metadata/css/css-animations/computed-style-animation-parsing.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[computed-style-animation-parsing.html] | ||
[Test an animation name that is the same as a possible animation fill-mode.] | ||
expected: FAIL | ||
|
||
[Test an animation name that is the same as a possible running state.] | ||
expected: FAIL | ||
|
||
[Test animation name being empty.] | ||
expected: FAIL | ||
|
||
[Test a non-conflicting animation name.] | ||
expected: FAIL | ||
|
||
[Test an animation name that is the same as a possible animation direction.] | ||
expected: FAIL | ||
|
16 changes: 16 additions & 0 deletions
16
tests/wpt/metadata/css/css-animations/style-animation-parsing.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[style-animation-parsing.html] | ||
[Test an animation name that is the same as a possible animation fill-mode.] | ||
expected: FAIL | ||
|
||
[Test an animation name that is the same as a possible running state.] | ||
expected: FAIL | ||
|
||
[Test animation name being empty.] | ||
expected: FAIL | ||
|
||
[Test a non-conflicting animation name.] | ||
expected: FAIL | ||
|
||
[Test an animation name that is the same as a possible animation direction.] | ||
expected: FAIL | ||
|
2 changes: 2 additions & 0 deletions
2
tests/wpt/metadata/css/css-backgrounds/background-size/background-size-cover-svg.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[background-size-cover-svg.html] | ||
expected: FAIL |
2 changes: 2 additions & 0 deletions
2
tests/wpt/metadata/css/css-text/white-space/pre-float-001.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[pre-float-001.html] | ||
expected: FAIL |
2 changes: 2 additions & 0 deletions
2
tests/wpt/metadata/css/css-text/white-space/pre-wrap-float-001.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[pre-wrap-float-001.html] | ||
expected: FAIL |
4 changes: 4 additions & 0 deletions
4
tests/wpt/metadata/css/css-transitions/transition-reparented.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[transition-reparented.html] | ||
[When an element is reparented, any CSS Transition on it should be cancelled] | ||
expected: FAIL | ||
|
4 changes: 4 additions & 0 deletions
4
tests/wpt/metadata/css/cssom/CSSStyleSheet-constructable.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[CSSStyleSheet-constructable.html] | ||
[CSSStyleSheet constructor and adoptedStyleSheets] | ||
expected: FAIL | ||
|
2 changes: 2 additions & 0 deletions
2
tests/wpt/metadata/css/filter-effects/svg-sourcegraphic-currentcolor-dynamic-001.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[svg-sourcegraphic-currentcolor-dynamic-001.html] | ||
expected: FAIL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
.../wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[traverse_the_history_1.html] | ||
[Multiple history traversals from the same task] | ||
expected: FAIL | ||
|
4 changes: 0 additions & 4 deletions
4
.../wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
...wpt/metadata/html/semantics/embedded-content/the-img-element/non-active-document.html.ini
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...cs/embedded-content/the-img-element/sizes/parse-a-sizes-attribute-standards-mode.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
tests/wpt/metadata/html/syntax/parsing/quotes-in-meta.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[quotes-in-meta.html] | ||
[quotes-in-meta] | ||
expected: FAIL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s/unitless-length/limited-quirks.html.ini → ...quirks/unitless-length/no-quirks.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[limited-quirks.html] | ||
[no-quirks.html] | ||
[top: -\\31 .5] | ||
expected: FAIL | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,3 @@ | |
[One resource when reusing data] | ||
expected: FAIL | ||
|
||
[Only one resource entry per resource] | ||
expected: FAIL | ||
|
1 change: 1 addition & 0 deletions
1
tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
[005.html] | ||
expected: ERROR | ||
[dedicated worker in shared worker in dedicated worker] | ||
expected: FAIL | ||
|
68 changes: 68 additions & 0 deletions
68
tests/wpt/web-platform-tests/css/css-animations/computed-style-animation-parsing.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<title>CSS Animations: parsing computedStyle.animation</title> | ||
<link rel="help" href="https://drafts.csswg.org/css-animations/#animation"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<div id="test1"></div> | ||
<div id="test2"></div> | ||
<script> | ||
function testComputedStyle(computedStyle1, computedStyle2, name) { | ||
assert_equals(computedStyle1.animationName, name, "computedStyle1.animationName"); | ||
assert_equals(computedStyle2.animationName, name, "computedStyle2.animationName"); | ||
assert_equals(computedStyle1.animation, computedStyle2.animation, | ||
"computedStyle1 and computedStyle2 should have the same animation"); | ||
} | ||
|
||
function testAnimation(input, name) { | ||
var style1 = test1.style; | ||
var style2 = test2.style; | ||
var computedStyle1 = getComputedStyle(test1); | ||
var computedStyle2 = getComputedStyle(test2); | ||
|
||
style1.animation = input; | ||
style2.animation = style1.animation; | ||
testComputedStyle(computedStyle1, computedStyle2, name); | ||
style2.animation = computedStyle1.animation; | ||
testComputedStyle(computedStyle1, computedStyle2, name); | ||
} | ||
|
||
test(() => { | ||
// We are duplicating the logic of testAnimation because the animationName of | ||
// the getComputedStyle is "none" when there is no animation. | ||
var style1 = test1.style; | ||
var style2 = test2.style; | ||
var computedStyle1 = getComputedStyle(test1); | ||
var computedStyle2 = getComputedStyle(test2); | ||
|
||
style1.animation = ""; | ||
style2.animation = style1.animation; | ||
testComputedStyle(computedStyle1, computedStyle2, "none"); | ||
style2.animation = computedStyle1.animation; | ||
assert_equals(computedStyle2.animationName, "none"); | ||
}, "Test animation name being empty."); | ||
|
||
test(() => { | ||
testAnimation("myShorthandAnim", "myShorthandAnim"); | ||
}, "Test a non-conflicting animation name."); | ||
|
||
test(() => { | ||
testAnimation("none", "none"); | ||
testAnimation("forwards", "none"); | ||
testAnimation("none forwards", "forwards"); | ||
}, "Test an animation name that is the same as a possible animation fill-mode."); | ||
|
||
test(() => { | ||
testAnimation("normal", "none"); | ||
testAnimation("reverse", "none"); | ||
testAnimation("normal normal", "normal"); | ||
testAnimation("normal reverse", "reverse"); | ||
}, "Test an animation name that is the same as a possible animation direction."); | ||
|
||
test(() => { | ||
testAnimation("running", "none"); | ||
testAnimation("paused", "none"); | ||
testAnimation("running running", "running"); | ||
testAnimation("running paused", "paused"); | ||
}, "Test an animation name that is the same as a possible running state."); | ||
</script> |
53 changes: 53 additions & 0 deletions
53
tests/wpt/web-platform-tests/css/css-animations/style-animation-parsing.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<title>CSS Animations: parsing style.animation</title> | ||
<link rel="help" href="https://drafts.csswg.org/css-animations/#animation"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<div id="test1"></div> | ||
<div id="test2"></div> | ||
<script> | ||
function testStyle(style1, style2, name) { | ||
assert_equals(style1.animationName, name, "style1.animationName"); | ||
assert_equals(style2.animationName, name, "style2.animationName"); | ||
assert_equals(style1.animation, style2.animation, | ||
"style1 and style2 should have the same animation"); | ||
} | ||
|
||
function testAnimation(input, name) { | ||
var style1 = test1.style; | ||
var style2 = test2.style; | ||
|
||
style1.animation = input; | ||
style2.animation = style1.animation; | ||
testStyle(style1, style2, name); | ||
} | ||
|
||
test(() => { | ||
testAnimation("", ""); | ||
}, "Test animation name being empty."); | ||
|
||
test(() => { | ||
testAnimation("myShorthandAnim", "myShorthandAnim"); | ||
}, "Test a non-conflicting animation name."); | ||
|
||
test(() => { | ||
testAnimation("none", "none"); | ||
testAnimation("forwards", "none"); | ||
testAnimation("none forwards", "forwards"); | ||
}, "Test an animation name that is the same as a possible animation fill-mode."); | ||
|
||
test(() => { | ||
testAnimation("normal", "none"); | ||
testAnimation("reverse", "none"); | ||
testAnimation("normal normal", "normal"); | ||
testAnimation("normal reverse", "reverse"); | ||
}, "Test an animation name that is the same as a possible animation direction."); | ||
|
||
test(() => { | ||
testAnimation("running", "none"); | ||
testAnimation("paused", "none"); | ||
testAnimation("running running", "running"); | ||
testAnimation("running paused", "paused"); | ||
}, "Test an animation name that is the same as a possible running state."); | ||
</script> |
25 changes: 25 additions & 0 deletions
25
...wpt/web-platform-tests/css/css-backgrounds/background-size/background-size-cover-svg.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>CSS Background Test: A SVG background should fully cover the positioning area</title> | ||
<link rel="author" title="schenney" href="mailto:schenney@chromium.org"> | ||
<link rel="help" href="http://www.w3.org/TR/css3-background"> | ||
<link rel="match" href="reference/background-size-cover-svg-ref.html"> | ||
<style> | ||
div { | ||
height: 400px; | ||
width: 600px; | ||
position: relative; | ||
background-color: red; | ||
background-size: cover; | ||
background-repeat: no-repeat; | ||
background-position: bottom center; | ||
background-image: url("support/rectangle-2560x208.svg"); | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div></div> | ||
</body> | ||
</html> |
22 changes: 22 additions & 0 deletions
22
...rm-tests/css/css-backgrounds/background-size/reference/background-size-cover-svg-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>CSS Background Test Reference</title> | ||
<link rel="author" title="schenney" href="mailto:schenney@chromium.org"> | ||
<style> | ||
div { | ||
height: 400px; | ||
width: 600px; | ||
position: relative; | ||
background-color: red; | ||
background-repeat: repeat; | ||
background-position: bottom center; | ||
background-image: url("../support/50x50-green.png"); | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div></div> | ||
</body> | ||
</html> |
3 changes: 3 additions & 0 deletions
3
...atform-tests/css/css-backgrounds/background-size/support/rectangle-2560x208.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.