Skip to content

Commit

Permalink
Update web-platform-tests to revision ac4274136e9a034628a3a469890c8e3…
Browse files Browse the repository at this point in the history
…7babbc902
  • Loading branch information
WPT Sync Bot committed Dec 15, 2018
1 parent c9229f3 commit b0862d9
Show file tree
Hide file tree
Showing 68 changed files with 2,064 additions and 135 deletions.
354 changes: 334 additions & 20 deletions tests/wpt/metadata/MANIFEST.json

Large diffs are not rendered by default.

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

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[background-size-cover-svg.html]
expected: FAIL
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[pre-float-001.html]
expected: FAIL
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[pre-wrap-float-001.html]
expected: FAIL
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

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[CSSStyleSheet-constructable.html]
[CSSStyleSheet constructor and adoptedStyleSheets]
expected: FAIL

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[svg-sourcegraphic-currentcolor-dynamic-001.html]
expected: FAIL
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,27 @@
[[foo="bar"/**/s\] setting CSSStyleRule#selectorText in @media]
expected: FAIL

[[*|foo="bar" s\] getting CSSStyleRule#selectorText]
expected: FAIL

[[*|foo="bar" s\] getting CSSRule#cssText in @media]
expected: FAIL

[[*|foo="bar" s\] insertRule in @media]
expected: FAIL

[[*|foo="bar" s\] getting CSSRule#cssText]
expected: FAIL

[[*|foo="bar" s\] insertRule]
expected: FAIL

[[*|foo="bar" s\] getting CSSStyleRule#selectorText in @media]
expected: FAIL

[[*|foo="bar" s\] setting CSSStyleRule#selectorText]
expected: FAIL

[[*|foo="bar" s\] setting CSSStyleRule#selectorText in @media]
expected: FAIL

Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,12 @@
["no-cors" Headers object cannot have content-language set to sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss, , sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss]
expected: FAIL
["no-cors" Headers object cannot have content-language set to , sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss]
expected: FAIL
["no-cors" Headers object cannot have accept-language set to , sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss]
expected: FAIL
["no-cors" Headers object cannot have accept set to , sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss]
expected: FAIL
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

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,29 @@
expected: TIMEOUT

[picture: source (max-width:500px) valid image, img valid image, resize to wide]
expected: TIMEOUT
expected: FAIL

[picture: source (max-width:500px) valid image, img broken image, resize to narrow]
expected: TIMEOUT

[picture: source (max-width:500px) valid image, img valid image, resize to narrow]
expected: TIMEOUT
expected: FAIL

[picture: source (max-width:500px) broken image, img valid image, resize to narrow]
expected: FAIL

[img (srcset 1 cand) valid image, resize to wide]
expected: FAIL

[picture: same URL in source (max-width:500px) and img, resize to wide]
expected: FAIL

[img (srcset 1 cand) valid image, resize to narrow]
expected: FAIL

[picture: source (max-width:500px) valid image, img broken image, resize to wide]
expected: FAIL

[picture: same URL in source (max-width:500px) and img, resize to narrow]
expected: FAIL

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[parse-a-sizes-attribute-standards-mode.html]
expected: TIMEOUT
[<img srcset="/images/green-1x1.png?e59 50w, /images/green-16x16.png?e59 51w" sizes="(min-width:0) or (min-width:unknown-mf-value) 1px"> ref sizes="1px" (standards mode)]
expected: FAIL

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[quotes-in-meta.html]
[quotes-in-meta]
expected: FAIL

Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@
[Verifies the resolution of entry.startTime is at least 5 microseconds.]
expected: TIMEOUT

[Verifies the resolution of performance.now() is at least 5 microseconds.]
expected: FAIL

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@
[One resource when reusing data]
expected: FAIL

[Only one resource entry per resource]
expected: FAIL

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

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>
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>
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>
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>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b0862d9

Please sign in to comment.