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 3488a5a845bec08943f66974e9f0df4…
…ffe96774a
- Loading branch information
1 parent
0d142be
commit cc9937a
Showing
26 changed files
with
303 additions
and
148 deletions.
There are no files selected for viewing
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/css/cssom-view/elementFromPoint-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,4 @@ | ||
[elementFromPoint-001.html] | ||
[CSSOM View - 5 - extensions to the Document interface] | ||
expected: FAIL | ||
|
4 changes: 4 additions & 0 deletions
4
tests/wpt/metadata/css/cssom-view/getClientRects-inline-inline-child.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 @@ | ||
[getClientRects-inline-inline-child.html] | ||
[sub element in a child inline box should not be included] | ||
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
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
...interface/traverse_the_history_2.html.ini → ...interface/traverse_the_history_3.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 @@ | ||
[traverse_the_history_2.html] | ||
[traverse_the_history_3.html] | ||
[Multiple history traversals, last would be aborted] | ||
expected: FAIL | ||
|
4 changes: 4 additions & 0 deletions
4
...ating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.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 @@ | ||
[creating_browsing_context_test_01.html] | ||
[first argument: absolute url] | ||
expected: FAIL | ||
|
4 changes: 0 additions & 4 deletions
4
...adata/html/interaction/focus/the-autofocus-attribute/skip-document-with-fragment.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,8 +1,4 @@ | ||
[skip-document-with-fragment.html] | ||
expected: TIMEOUT | ||
[Autofocus elements in iframed documents with URL fragments should be skipped.] | ||
expected: FAIL | ||
|
||
[Autofocus elements in top-level browsing context's documents with URI fragments should be skipped.] | ||
expected: TIMEOUT | ||
3 changes: 1 addition & 2 deletions
3
...l/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.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,6 +1,5 @@ | ||
[iframe_sandbox_popups_escaping-3.html] | ||
type: testharness | ||
expected: TIMEOUT | ||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used] | ||
expected: TIMEOUT | ||
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
1 change: 0 additions & 1 deletion
1
tests/wpt/metadata/resource-timing/crossorigin-sandwich-TAO.sub.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,5 +1,4 @@ | ||
[crossorigin-sandwich-TAO.sub.html] | ||
expected: ERROR | ||
[There should be one entry.] | ||
expected: FAIL | ||
|
||
|
1 change: 0 additions & 1 deletion
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,5 +1,4 @@ | ||
[005.html] | ||
expected: ERROR | ||
[dedicated worker in shared worker in dedicated worker] | ||
expected: FAIL | ||
|
14 changes: 14 additions & 0 deletions
14
tests/wpt/web-platform-tests/css/css-multicol/change-intrinsic-width.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,14 @@ | ||
<!DOCTYPE html> | ||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> | ||
<link rel="help" href="https://www.w3.org/TR/css-multicol-1/#pseudo-algorithm"> | ||
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1037790"> | ||
<link rel="match" href="../reference/ref-filled-green-100px-square.xht"> | ||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p> | ||
<div style="columns:2; column-fill:auto; column-gap:0; width:fit-content; height:100px; background:red;"> | ||
<div id="firstChild" style="width:200px; height:100px; background:green;"></div> | ||
<div style="width:50px; height:100px; background:green;"></div> | ||
</div> | ||
<script> | ||
document.body.offsetTop; | ||
firstChild.style.width = "50px"; | ||
</script> |
52 changes: 52 additions & 0 deletions
52
tests/wpt/web-platform-tests/css/cssom-view/getClientRects-inline-inline-child.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,52 @@ | ||
<!DOCTYPE html> | ||
<link rel="help" href="https://drafts.csswg.org/cssom-view-1/#dom-element-getclientrects"> | ||
<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<body> | ||
<div> | ||
<span>test</span> | ||
<span id="vertical-align-sub-as-grand-child" | ||
title="sub element in a child inline box should not be included"> | ||
<span> | ||
<sub class="not-include" style="vertical-align: sub">subscript</sub> | ||
</span> | ||
</span> | ||
<span>test</span> | ||
</div> | ||
<script> | ||
testTargetDoesNotInclude('vertical-align-sub-as-grand-child'); | ||
|
||
function testTargetDoesNotInclude(target) { | ||
target = document.getElementById(target); | ||
test(() => { | ||
let target_rects = target.getClientRects(); | ||
|
||
let not_include_rects = []; | ||
for (let element of target.querySelectorAll('.not-include')) { | ||
for (let rect of element.getClientRects()) | ||
not_include_rects.push(rect); | ||
} | ||
for (let rect of target_rects) { | ||
for (let not_include_rect of not_include_rects) { | ||
assert_rect_not_equals(rect, not_include_rect); | ||
} | ||
} | ||
}, target.title); | ||
} | ||
|
||
function assert_rect_not_equals(rect1, rect2) { | ||
assert_false(rectEquals(rect1, rect2), | ||
`${rectToString(rect1)} and ${rectToString(rect2)} are not equal`); | ||
} | ||
|
||
function rectEquals(rect1, rect2) { | ||
return rect1.x === rect2.x && rect1.y === rect2.y && | ||
rect1.width === rect2.width && rect1.height === rect2.height; | ||
} | ||
|
||
function rectToString(rect) { | ||
return `{${rect.x}, ${rect.y} ${rect.width}x${rect.height}}`; | ||
} | ||
</script> | ||
</body> |
Oops, something went wrong.