Skip to content

Commit

Permalink
Update web-platform-tests to revision 592e2ed83ecd717392d37047536250b…
Browse files Browse the repository at this point in the history
…a74f1bafa
  • Loading branch information
servo-wpt-sync committed Mar 29, 2018
1 parent c8b0dc9 commit 0a3e19a
Show file tree
Hide file tree
Showing 65 changed files with 1,906 additions and 106 deletions.
428 changes: 407 additions & 21 deletions tests/wpt/metadata/MANIFEST.json

Large diffs are not rendered by default.

@@ -0,0 +1,2 @@
[vh_not_refreshing_on_chrome.html]
expected: FAIL
4 changes: 4 additions & 0 deletions tests/wpt/metadata/dom/events/relatedTarget.window.js.ini
@@ -0,0 +1,4 @@
[relatedTarget.window.html]
[Untitled]
expected: FAIL

@@ -0,0 +1,10 @@
[link-load-error-events.html]
[Load of non-CSS stylesheet]
expected: FAIL

[Import of non-CSS stylesheet]
expected: FAIL

[Import of import of non-CSS stylesheet]
expected: FAIL

@@ -0,0 +1,19 @@
[link-load-error-events.https.html]
[Load of non-CSS stylesheet]
expected: FAIL

[Import of non-CSS stylesheet]
expected: FAIL

[Import of import of non-CSS stylesheet]
expected: FAIL

[Load of http:// stylesheet]
expected: FAIL

[Import of http:// stylesheet]
expected: FAIL

[Import of import of http:// stylesheet]
expected: FAIL

@@ -0,0 +1,4 @@
[event-handler-attributes-window-body.html]
[error]
expected: FAIL

This file was deleted.

This file was deleted.

@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html class=reftest-wait>
<link rel="help" href="https://drafts.css-houdini.org/css-layout-api/#dom-layoutconstraints-fixedinlinesize">
<link rel="match" href="constraints-fixed-inline-size-ref.html">
<meta name="assert" content="This test checks that LayoutConstraints#fixedInlineSize is passed into the layout function correctly." />
<style>
body {
position: relative;
width: 120px;
}

.test {
background: red;
position: absolute;
left: 0px;
right: 20px;
}

@supports (display: layout(test)) {
.test {
background: green;
display: layout(test);
}
}
</style>
<script src="/common/reftest-wait.js"></script>
<script src="/common/worklet-reftest.js"></script>

<div class="test"></div>

<script>
importWorkletAndTerminateTestAfterAsyncPaint(CSS.layoutWorklet, {url: 'support/constraints-fixed-inline-size.js'});
</script>
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html class=reftest-wait>
<link rel="help" href="https://drafts.css-houdini.org/css-layout-api/#dom-layoutconstraints-fixedinlinesize">
<link rel="match" href="constraints-fixed-inline-size-ref.html">
<meta name="assert" content="This test checks that LayoutConstraints#fixedInlineSize is passed into the layout function correctly." />
<style>
body {
position: relative;
height: 120px;
}

.test {
background: red;
position: absolute;
left: 0px;
top: 0px;
bottom: 20px;
writing-mode: vertical-rl;
}

@supports (display: layout(test)) {
.test {
background: green;
display: layout(test);
}
}
</style>
<script src="/common/reftest-wait.js"></script>
<script src="/common/worklet-reftest.js"></script>

<div class="test"></div>

<script>
importWorkletAndTerminateTestAfterAsyncPaint(CSS.layoutWorklet, {url: 'support/constraints-fixed-inline-size.js'});
</script>
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html class=reftest-wait>
<link rel="help" href="https://drafts.css-houdini.org/css-layout-api/#dom-layoutconstraints-fixedinlinesize">
<link rel="match" href="constraints-fixed-inline-size-ref.html">
<meta name="assert" content="This test checks that LayoutConstraints#fixedInlineSize is passed into the layout function correctly." />
<style>
body {
height: 200px;
writing-mode: vertical-lr;
}

.float {
float: right;
width: 20px;
height: 100px;
}

.test {
background: red;
}

@supports (display: layout(test)) {
.test {
background: green;
display: layout(test);
}
}
</style>
<script src="/common/reftest-wait.js"></script>
<script src="/common/worklet-reftest.js"></script>

<div class="float"></div>
<div class="test"></div>

<script>
importWorkletAndTerminateTestAfterAsyncPaint(CSS.layoutWorklet, {url: 'support/constraints-fixed-inline-size.js'});
</script>
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html class=reftest-wait>
<link rel="help" href="https://drafts.css-houdini.org/css-layout-api/#dom-layoutconstraints-fixedinlinesize">
<link rel="match" href="constraints-fixed-inline-size-ref.html">
<meta name="assert" content="This test checks that LayoutConstraints#fixedInlineSize is passed into the layout function correctly." />
<style>
body {
width: 200px;
}

.float {
float: right;
width: 100px;
height: 20px;
}

.test {
background: red;
}

@supports (display: layout(test)) {
.test {
background: green;
display: layout(test);
}
}
</style>
<script src="/common/reftest-wait.js"></script>
<script src="/common/worklet-reftest.js"></script>

<div class="float"></div>
<div class="test"></div>

<script>
importWorkletAndTerminateTestAfterAsyncPaint(CSS.layoutWorklet, {url: 'support/constraints-fixed-inline-size.js'});
</script>
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html class=reftest-wait>
<link rel="help" href="https://drafts.css-houdini.org/css-layout-api/#dom-layoutconstraints-fixedinlinesize">
<link rel="match" href="constraints-fixed-inline-size-ref.html">
<meta name="assert" content="This test checks that LayoutConstraints#fixedInlineSize is passed into the layout function correctly." />
<style>
body {
height: 120px;
writing-mode: vertical-lr;
}

.test {
margin-bottom: 20px;
background: red;
}

@supports (display: layout(test)) {
.test {
background: green;
display: layout(test);
}
}
</style>
<script src="/common/reftest-wait.js"></script>
<script src="/common/worklet-reftest.js"></script>

<div class="test"></div>

<script>
importWorkletAndTerminateTestAfterAsyncPaint(CSS.layoutWorklet, {url: 'support/constraints-fixed-inline-size.js'});
</script>
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html class=reftest-wait>
<link rel="help" href="https://drafts.css-houdini.org/css-layout-api/#dom-layoutconstraints-fixedinlinesize">
<link rel="match" href="constraints-fixed-inline-size-ref.html">
<meta name="assert" content="This test checks that LayoutConstraints#fixedInlineSize is passed into the layout function correctly." />
<style>
body {
width: 120px;
}

.test {
margin-right: 20px;
background: red;
}

@supports (display: layout(test)) {
.test {
background: green;
display: layout(test);
}
}
</style>
<script src="/common/reftest-wait.js"></script>
<script src="/common/worklet-reftest.js"></script>

<div class="test"></div>

<script>
importWorkletAndTerminateTestAfterAsyncPaint(CSS.layoutWorklet, {url: 'support/constraints-fixed-inline-size.js'});
</script>
@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html class=reftest-wait>
<link rel="help" href="https://drafts.css-houdini.org/css-layout-api/#dom-layoutconstraints-fixedinlinesize">
<link rel="match" href="constraints-fixed-inline-size-ref.html">
<meta name="assert" content="This test checks that LayoutConstraints#fixedInlineSize is passed into the layout function correctly." />
<style>
.test {
background: red;
height: 100px;
writing-mode: vertical-rl;
}

@supports (display: layout(test)) {
.test {
background: green;
display: layout(test);
}
}
</style>
<script src="/common/reftest-wait.js"></script>
<script src="/common/worklet-reftest.js"></script>

<div class="test"></div>

<script>
importWorkletAndTerminateTestAfterAsyncPaint(CSS.layoutWorklet, {url: 'support/constraints-fixed-inline-size.js'});
</script>
@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html class=reftest-wait>
<link rel="help" href="https://drafts.css-houdini.org/css-layout-api/#dom-layoutconstraints-fixedinlinesize">
<link rel="match" href="constraints-fixed-inline-size-ref.html">
<meta name="assert" content="This test checks that LayoutConstraints#fixedInlineSize is passed into the layout function correctly." />
<style>
.test {
background: red;
width: 100px;
}

@supports (display: layout(test)) {
.test {
background: green;
display: layout(test);
}
}
</style>
<script src="/common/reftest-wait.js"></script>
<script src="/common/worklet-reftest.js"></script>

<div class="test"></div>

<script>
importWorkletAndTerminateTestAfterAsyncPaint(CSS.layoutWorklet, {url: 'support/constraints-fixed-inline-size.js'});
</script>
@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html class=reftest-wait>
<link rel="help" href="https://drafts.css-houdini.org/css-layout-api/#dom-layoutconstraints-fixedinlinesize">
<link rel="match" href="constraints-fixed-inline-size-ref.html">
<meta name="assert" content="This test checks that LayoutConstraints#fixedInlineSize is passed into the layout function correctly." />
<style>
body {
display: flex;
flex-flow: column;
width: 100px;
height: 100px;
}

.test {
background: red;
flex-grow: 1;
}

@supports (display: layout(test)) {
.test {
background: green;
display: layout(test);
}
}
</style>
<script src="/common/reftest-wait.js"></script>
<script src="/common/worklet-reftest.js"></script>

<div class="test"></div>

<script>
importWorkletAndTerminateTestAfterAsyncPaint(CSS.layoutWorklet, {url: 'support/constraints-fixed-inline-size.js'});
</script>
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html class=reftest-wait>
<link rel="help" href="https://drafts.css-houdini.org/css-layout-api/#dom-layoutconstraints-fixedinlinesize">
<link rel="match" href="constraints-fixed-inline-size-ref.html">
<meta name="assert" content="This test checks that LayoutConstraints#fixedInlineSize is passed into the layout function correctly." />
<style>
body {
display: flex;
width: 100px;
}

.test {
background: red;
flex-grow: 1;
}

@supports (display: layout(test)) {
.test {
background: green;
display: layout(test);
}
}
</style>
<script src="/common/reftest-wait.js"></script>
<script src="/common/worklet-reftest.js"></script>

<div class="test"></div>

<script>
importWorkletAndTerminateTestAfterAsyncPaint(CSS.layoutWorklet, {url: 'support/constraints-fixed-inline-size.js'});
</script>

0 comments on commit 0a3e19a

Please sign in to comment.