Diff
Modified: trunk/LayoutTests/ChangeLog (291359 => 291360)
--- trunk/LayoutTests/ChangeLog 2022-03-16 18:42:45 UTC (rev 291359)
+++ trunk/LayoutTests/ChangeLog 2022-03-16 19:35:53 UTC (rev 291360)
@@ -1,3 +1,14 @@
+2022-03-16 Rob Buis <rb...@igalia.com>
+
+ Sync css/css-contain from WPT
+ https://bugs.webkit.org/show_bug.cgi?id=237705
+
+ Reviewed by Manuel Rego Casasnovas.
+
+ Mark as failing for now.
+
+ * platform/ios/TestExpectations:
+
2022-03-16 Kate Cheney <katherine_che...@apple.com>
[ MacOS ] http/tests/security/content SecurityPolicy/frame-src-cross-origin-load.html is a flakey failure (230428)
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (291359 => 291360)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2022-03-16 18:42:45 UTC (rev 291359)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2022-03-16 19:35:53 UTC (rev 291360)
@@ -1,3 +1,23 @@
+2022-03-16 Rob Buis <rb...@igalia.com>
+
+ Sync css/css-contain from WPT
+ https://bugs.webkit.org/show_bug.cgi?id=237705
+
+ Reviewed by Manuel Rego Casasnovas.
+
+ Sync css/css-contain from WPT.
+
+ * resources/resource-files.json:
+ * web-platform-tests/css/css-contain/contain-layout-ink-overflow-013-expected.html:
+ * web-platform-tests/css/css-contain/contain-layout-ink-overflow-013.html:
+ * web-platform-tests/css/css-contain/contain-layout-ink-overflow-014.html:
+ * web-platform-tests/css/css-contain/contain-layout-ink-overflow-017.html:
+ * web-platform-tests/css/css-contain/content-visibility/content-visibility-044-expected.txt:
+ * web-platform-tests/css/css-contain/content-visibility/content-visibility-044.html:
+ * web-platform-tests/css/css-contain/content-visibility/resources/text-fragment-target-auto.html:
+ * web-platform-tests/css/css-contain/content-visibility/w3c-import.log:
+ * web-platform-tests/css/css-contain/w3c-import.log:
+
2022-03-16 Youenn Fablet <you...@apple.com>
redirectCount returns 0 when using a Service Worker
Modified: trunk/LayoutTests/imported/w3c/resources/resource-files.json (291359 => 291360)
--- trunk/LayoutTests/imported/w3c/resources/resource-files.json 2022-03-16 18:42:45 UTC (rev 291359)
+++ trunk/LayoutTests/imported/w3c/resources/resource-files.json 2022-03-16 19:35:53 UTC (rev 291360)
@@ -721,6 +721,7 @@
"web-platform-tests/css/css-contain/content-visibility/content-visibility-in-svg-000-crash.html",
"web-platform-tests/css/css-contain/content-visibility/content-with-top-layer-ref.html",
"web-platform-tests/css/css-contain/content-visibility/contentvisibility-nestedslot-crash.html",
+ "web-platform-tests/css/css-contain/content-visibility/detach-locked-slot-children-crash.html",
"web-platform-tests/css/css-contain/content-visibility/hidden-execcommand-crash.html",
"web-platform-tests/css/css-contain/content-visibility/hidden-pseudo-element-removed-crash.html",
"web-platform-tests/css/css-contain/content-visibility/inline-container-with-child-ref.html",
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-ink-overflow-013-expected.html (291359 => 291360)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-ink-overflow-013-expected.html 2022-03-16 18:42:45 UTC (rev 291359)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-ink-overflow-013-expected.html 2022-03-16 19:35:53 UTC (rev 291360)
@@ -11,7 +11,7 @@
{
font-family: monospace;
font-size: 100px;
- height: 2.8ch;
+ height: 3em;
overflow: scroll;
width: 4ch;
}
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-ink-overflow-013.html (291359 => 291360)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-ink-overflow-013.html 2022-03-16 18:42:45 UTC (rev 291359)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-ink-overflow-013.html 2022-03-16 19:35:53 UTC (rev 291360)
@@ -16,7 +16,7 @@
{
font-family: monospace;
font-size: 100px;
- height: 2.8ch;
+ height: 3em;
line-height: 1.5; /* computes to 150px */
width: 4ch;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-ink-overflow-014.html (291359 => 291360)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-ink-overflow-014.html 2022-03-16 18:42:45 UTC (rev 291359)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-ink-overflow-014.html 2022-03-16 19:35:53 UTC (rev 291360)
@@ -7,7 +7,7 @@
<link rel="author" title="Gérard Talbot" href=""
<link rel="help" href=""
<link rel="help" href=""
- <link rel="match" href=""
+ <link rel="match" href=""
<meta content="This test checks that when the contents of an element with 'contain: layout' overflows, its contents must be treated as ink overflow. In this test, the content overflows the div#inner. If such content was treated as 'overflow: visible', then the div#outer would 'pick up' such content and would make it reachable and accessible via its own generated scrollbar. But the overflowed content must be treated as ink overflow and is therefore treated as a graphical effect that is beyond the scrolling mechanism and outside the scrolling mechanism." name="assert">
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-ink-overflow-017.html (291359 => 291360)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-ink-overflow-017.html 2022-03-16 18:42:45 UTC (rev 291359)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-ink-overflow-017.html 2022-03-16 19:35:53 UTC (rev 291360)
@@ -7,7 +7,7 @@
<link rel="author" title="Gérard Talbot" href=""
<link rel="help" href=""
<link rel="help" href=""
- <link rel="match" href=""
+ <link rel="match" href=""
<meta content="This test checks that when the contents of an element with 'contain: layout' overflows, its contents must be treated as ink overflow. In this test, the content overflows the div#inner. If such content was treated as 'overflow: visible', then the div#outer would 'pick up' such content and would make it reachable and accessible via its own generated scrollbar. But the overflowed content must be treated as ink overflow and is therefore treated as a graphical effect that is beyond the scrolling mechanism and outside the scrolling mechanism." name="assert">
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-044-expected.txt (291359 => 291360)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-044-expected.txt 2022-03-16 18:42:45 UTC (rev 291359)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-044-expected.txt 2022-03-16 19:35:53 UTC (rev 291360)
@@ -1,11 +1,4 @@
-CONSOLE MESSAGE: Error: assert_equals: expected 0 but got 2
-Harness Error (FAIL), message = Error: assert_equals: expected 0 but got 2
+PASS Content Visibility: slot moved after container is hidden
-TIMEOUT Content Visibility: slot moved after container is hidden Test timed out
-
-Harness Error (FAIL), message = Error: assert_equals: expected 0 but got 2
-
-TIMEOUT Content Visibility: slot moved after container is hidden Test timed out
-
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-044.html (291359 => 291360)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-044.html 2022-03-16 18:42:45 UTC (rev 291359)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-044.html 2022-03-16 19:35:53 UTC (rev 291360)
@@ -12,7 +12,7 @@
<body style="margin: 0">
<div id=host>
-<input id=slotted>
+<input id=slotted style="margin: 0">
<script>
async_test((t) => {
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/detach-locked-slot-children-crash.html (0 => 291360)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/detach-locked-slot-children-crash.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/detach-locked-slot-children-crash.html 2022-03-16 19:35:53 UTC (rev 291360)
@@ -0,0 +1,18 @@
+<!doctype html>
+<html class="reftest-wait">
+<link rel="help" href=""
+<body dir="auto">
+ <p>Pass if no crash.</p>
+ <details id="details">
+ <img id="img" alt="alt"></img>
+ <marquee id="marquee"></marquee>
+ </details>
+</body>
+<script>
+ requestAnimationFrame(() => requestAnimationFrame(() => {
+ marquee.appendChild(details.firstChild);
+ img.srcset = "dummy";
+ img.alt = "dummy";
+ document.documentElement.classList.remove("reftest-wait");
+ }));
+</script>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/resources/text-fragment-target-auto.html (291359 => 291360)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/resources/text-fragment-target-auto.html 2022-03-16 18:42:45 UTC (rev 291359)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/resources/text-fragment-target-auto.html 2022-03-16 19:35:53 UTC (rev 291360)
@@ -42,7 +42,7 @@
height: 10000px;
}
.auto {
- subtree-visibility: auto;
+ content-visibility: auto;
}
</style>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/w3c-import.log (291359 => 291360)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/w3c-import.log 2022-03-16 18:42:45 UTC (rev 291359)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/w3c-import.log 2022-03-16 19:35:53 UTC (rev 291360)
@@ -201,6 +201,7 @@
/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-with-top-layer-004.tentative.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-with-top-layer-ref.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/contentvisibility-nestedslot-crash.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/detach-locked-slot-children-crash.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/document-element-computed-style.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-skipped-slot-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-skipped-slot.html
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/w3c-import.log (291359 => 291360)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/w3c-import.log 2022-03-16 18:42:45 UTC (rev 291359)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/w3c-import.log 2022-03-16 19:35:53 UTC (rev 291360)
@@ -170,6 +170,8 @@
/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-018.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-019-expected.xht
/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-019.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-020-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-020.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-baseline-001-expected.xht
/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-baseline-001.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-layout-baseline-002-expected.xht
@@ -306,6 +308,7 @@
/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-paint-047.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-paint-048-expected.xht
/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-paint-048.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-paint-049.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-paint-baseline-001-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-paint-baseline-001.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-paint-cell-001-expected.html
Modified: trunk/LayoutTests/platform/ios/TestExpectations (291359 => 291360)
--- trunk/LayoutTests/platform/ios/TestExpectations 2022-03-16 18:42:45 UTC (rev 291359)
+++ trunk/LayoutTests/platform/ios/TestExpectations 2022-03-16 19:35:53 UTC (rev 291360)
@@ -3528,3 +3528,5 @@
webkit.org/b/237433 editing/pasteboard/4076267-3.html [ Timeout Pass Failure ]
webkit.org/b/237433 editing/pasteboard/paste-and-sanitize.html [ Timeout Pass Failure ]
+
+webkit.org/b/237955 imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-044.html [ Failure ]