Title: [277084] trunk/LayoutTests
Revision
277084
Author
[email protected]
Date
2021-05-06 05:58:33 -0700 (Thu, 06 May 2021)

Log Message

Re-import css/css-contain WPT
https://bugs.webkit.org/show_bug.cgi?id=225445

Reviewed by Rob Buis.

LayoutTests/imported/w3c:

* resources/resource-files.json:
* web-platform-tests/css/css-contain/content-visibility/animation-display-lock-expected.txt: Added.
* web-platform-tests/css/css-contain/content-visibility/animation-display-lock.html: Added.
* web-platform-tests/css/css-contain/content-visibility/content-visibility-035.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/content-visibility-continuations-crash.html: Added.
* web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-skipped-slot-expected.html: Added.
* web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-skipped-slot.html: Added.
* web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-slot-in-skipped-subtree-expected.html: Added.
* web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-slot-in-skipped-subtree.html: Added.
* web-platform-tests/css/css-contain/content-visibility/w3c-import.log:

LayoutTests:

* TestExpectations:

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (277083 => 277084)


--- trunk/LayoutTests/ChangeLog	2021-05-06 12:11:15 UTC (rev 277083)
+++ trunk/LayoutTests/ChangeLog	2021-05-06 12:58:33 UTC (rev 277084)
@@ -1,3 +1,12 @@
+2021-05-06  Tim Nguyen  <[email protected]>
+
+        Re-import css/css-contain WPT
+        https://bugs.webkit.org/show_bug.cgi?id=225445
+
+        Reviewed by Rob Buis.
+
+        * TestExpectations:
+
 2021-05-06  Alicia Boya GarcĂ­a  <[email protected]>
 
         [EME][GStreamer] Unreviewed micro-gardening

Modified: trunk/LayoutTests/TestExpectations (277083 => 277084)


--- trunk/LayoutTests/TestExpectations	2021-05-06 12:11:15 UTC (rev 277083)
+++ trunk/LayoutTests/TestExpectations	2021-05-06 12:58:33 UTC (rev 277084)
@@ -4765,6 +4765,8 @@
 imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-075.html [ ImageOnlyFailure ]
 imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-076.html [ ImageOnlyFailure ]
 imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-078.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-skipped-slot.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-slot-in-skipped-subtree.html [ ImageOnlyFailure ]
 imported/w3c/web-platform-tests/css/css-contain/counter-scoping-001.html [ ImageOnlyFailure ]
 imported/w3c/web-platform-tests/css/css-contain/counter-scoping-002.html [ ImageOnlyFailure ]
 imported/w3c/web-platform-tests/css/css-contain/counter-scoping-003.html [ ImageOnlyFailure ]
@@ -4772,6 +4774,8 @@
 imported/w3c/web-platform-tests/css/css-contain/quote-scoping-002.html [ ImageOnlyFailure ]
 imported/w3c/web-platform-tests/css/css-contain/quote-scoping-003.html [ ImageOnlyFailure ]
 imported/w3c/web-platform-tests/css/css-contain/quote-scoping-004.html [ ImageOnlyFailure ]
+# Flaky css-contain test
+imported/w3c/web-platform-tests/css/css-contain/content-visibility/animation-display-lock.html [ Failure Pass ]
 
 # Tests that fail because they assume a vertical scrollbar in `writing-mode: vertical-rl` elements will be on the right-hand side
 webkit.org/b/224357 imported/w3c/web-platform-tests/css/css-writing-modes/sizing-orthog-vrl-in-htb-013.xht [ ImageOnlyFailure ]

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (277083 => 277084)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2021-05-06 12:11:15 UTC (rev 277083)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2021-05-06 12:58:33 UTC (rev 277084)
@@ -1,5 +1,25 @@
 2021-05-06  Tim Nguyen  <[email protected]>
 
+        Re-import css/css-contain WPT
+        https://bugs.webkit.org/show_bug.cgi?id=225445
+
+        Reviewed by Rob Buis.
+
+        * resources/resource-files.json:
+        * web-platform-tests/css/css-contain/content-visibility/animation-display-lock-expected.txt: Added.
+        * web-platform-tests/css/css-contain/content-visibility/animation-display-lock.html: Added.
+        * web-platform-tests/css/css-contain/content-visibility/content-visibility-035.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/content-visibility-continuations-crash.html: Added.
+        * web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-skipped-slot-expected.html: Added.
+        * web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-skipped-slot.html: Added.
+        * web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-slot-in-skipped-subtree-expected.html: Added.
+        * web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-slot-in-skipped-subtree.html: Added.
+        * web-platform-tests/css/css-contain/content-visibility/w3c-import.log:
+
+2021-05-06  Tim Nguyen  <[email protected]>
+
         Re-import css/css-will-change WPTs
         https://bugs.webkit.org/show_bug.cgi?id=225444
 

Modified: trunk/LayoutTests/imported/w3c/resources/resource-files.json (277083 => 277084)


--- trunk/LayoutTests/imported/w3c/resources/resource-files.json	2021-05-06 12:11:15 UTC (rev 277083)
+++ trunk/LayoutTests/imported/w3c/resources/resource-files.json	2021-05-06 12:58:33 UTC (rev 277084)
@@ -303,6 +303,7 @@
         "web-platform-tests/css/css-color/t422-rgba-a0.6-a.xht",
         "web-platform-tests/css/css-color/t425-hsla-basic-a.xht",
         "web-platform-tests/css/css-contain/contain-crash.html",
+        "web-platform-tests/css/css-contain/content-visibility/content-visibility-continuations-crash.html",
         "web-platform-tests/css/css-contain/content-visibility/content-visibility-form-controls-crash.html",
         "web-platform-tests/css/css-display/run-in/after-content-display-004.xht",
         "web-platform-tests/css/css-display/run-in/anonymous-box-generation-002.xht",

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/animation-display-lock-expected.txt (0 => 277084)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/animation-display-lock-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/animation-display-lock-expected.txt	2021-05-06 12:58:33 UTC (rev 277084)
@@ -0,0 +1,6 @@
+
+FAIL Animation events do not fire for a CSS animation running in a display locked subtree assert_false: Animation events do no fire while the animation is running in a display locked subtree expected false got true
+PASS The finished promise does not resolve due to the normal passage of time  for a CSS animation in a display locked subtree
+PASS The finished promise does not resolve due to the normal passage of time  for a CSS transition in a display locked subtree
+FAIL Events and promises are handled normally for animations without an owning element assert_true: Animation event not blocked on display locked subtree if no owning element expected true got false
+

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/animation-display-lock.html (0 => 277084)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/animation-display-lock.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/animation-display-lock.html	2021-05-06 12:58:33 UTC (rev 277084)
@@ -0,0 +1,174 @@
+<!DOCTYPE html>
+<meta charset=utf8>
+<title>Test getComputedStyle on a CSS animation in a display locked subtree</title>
+<link rel="help" href=""
+<script src=""
+<script src=""
+<script src=""
+<style>
+  #container {
+    content-visibility: visible;
+    contain: style layout paint;
+    contain-intrinsic-size: 0 100px;
+  }
+  @keyframes fade {
+    from { opacity: 1; }
+    to { opacity: 0;  }
+  }
+  #target {
+    background: 'green';
+    height: 100px;
+    width: 100px;
+  }
+  .animate {
+    animation: fade 1s linear 2 alternate;
+  }
+  .transition {
+    transition: opacity 1s linear;
+  }
+</style>
+<body>
+  <div id="container"></div>
+</body>
+<script>
+"use strict";
+
+function reset() {
+  const container = document.getElementById('container');
+  const target = document.getElementById('target');
+  container.style = '';
+  container.removeChild(target);
+}
+
+function createAnimatingElement(test, name) {
+  const container = document.getElementById('container');
+  const target = document.createElement('div');
+  container.appendChild(target);
+  target.id = 'target';
+  target.className = name;
+  test.add_cleanup(() => {
+    reset();
+  });
+  return target;
+}
+
+promise_test(async t => {
+  const container = document.getElementById('container');
+  const target = createAnimatingElement(t, 'animate');
+  let animationIterationEvent = false;
+  target.addEventListener('animationiteration', () => {
+    animationIterationEvent = true;
+  });
+  const animation = target.getAnimations()[0];
+  await animation.ready;
+  await waitForAnimationFrames(1);
+  container.style.contentVisibility = 'hidden';
+  animation.currentTime = 1500;
+  assert_approx_equals(
+      parseFloat(getComputedStyle(target).opacity), 0.5, 1e-6,
+      'Computed style is updated even when the animation is running in a ' +
+      'display locked subtree');
+  await waitForAnimationFrames(2);
+  assert_false(animationIterationEvent,
+               'Animation events do no fire while the animation is ' +
+               'running in a display locked subtree');
+  container.style.contentVisibility = 'visible';
+  await waitForAnimationFrames(2);
+  assert_true(animationIterationEvent,
+              'The animationiteration event fires once the animation is ' +
+              'no longer display locked');
+}, 'Animation events do not fire for a CSS animation running in a display ' +
+   'locked subtree');
+
+promise_test(async t => {
+  const container = document.getElementById('container');
+  const target = createAnimatingElement(t, 'animate');
+  const animation = target.getAnimations()[0];
+  await animation.ready;
+  let finishedWhileDisplayLocked = false;
+  animation.finished.then(() => {
+    finishedWhileDisplayLocked =
+        getComputedStyle(container).contentVisibility == 'hidden';
+  });
+  await waitForAnimationFrames(1);
+  container.style.contentVisibility = 'hidden';
+  // Advance to just shy of the effect end.
+  animation.currentTime = 1999;
+  assert_approx_equals(
+      parseFloat(getComputedStyle(target).opacity), 0.999, 1e-6,
+                'Computed style is updated even when the animation is ' +
+                'running in a display locked subtree');
+  // Advancing frames should not resolve the finished promise.
+  await waitForAnimationFrames(3);
+  container.style.contentVisibility = 'visible';
+  // Now we can resolve the finished promise.
+  await animation.finished;
+  assert_equals(finishedWhileDisplayLocked, false);
+}, 'The finished promise does not resolve due to the normal passage of time  ' +
+   'for a CSS animation in a display locked subtree');
+
+promise_test(async t => {
+  const container = document.getElementById('container');
+  await waitForAnimationFrames(1);
+  const target = createAnimatingElement(t, 'transition');
+  await waitForAnimationFrames(1);
+  target.style.opacity = 0;
+  const animation = target.getAnimations()[0];
+  await animation.ready;
+  let finishedWhileDisplayLocked = false;
+  animation.finished.then(() => {
+    finishedWhileDisplayLocked =
+        getComputedStyle(container).contentVisibility == 'hidden';
+  });
+  await waitForAnimationFrames(1);
+  container.style.contentVisibility = 'hidden';
+  // Advance to just shy of the effect end.
+  animation.currentTime = 999;
+  assert_approx_equals(
+      parseFloat(getComputedStyle(target).opacity), 0.001, 1e-6,
+                'Computed style is updated even when the animation is ' +
+                'running in a display locked subtree');
+  // Advancing frames should not resolve the finished promise.
+  await waitForAnimationFrames(3);
+  container.style.contentVisibility = 'visible';
+  // Now we can resolve the finished promise.
+  await animation.finished;
+  assert_equals(finishedWhileDisplayLocked, false);
+}, 'The finished promise does not resolve due to the normal passage of time  ' +
+   'for a CSS transition in a display locked subtree');
+
+promise_test(async t => {
+  const container = document.getElementById('container');
+  const target = createAnimatingElement(t, 'animate');
+  const animation = target.getAnimations()[0];
+  target.className = '';
+  container.style.contentVisibility = 'hidden';
+  assert_equals(target.getAnimations().length, 0);
+  let animationStartEvent = false;
+  let animationFinished = false;
+  target.addEventListener('animationstart', () => {
+    animationStartEvent = true;
+  });
+  // Though originally a CSS animation, it is no longer associated with
+  // CSS rules and no longer has an owning element. It now behaves like a
+  // programmatic web animation. Events should be dispatched and promises
+  // resolved despite being in a display locked subtree.
+  animation.play();
+  animation.finished.then(() => {
+    animationFinished = true;
+  });
+  assert_equals(target.getAnimations().length, 1);
+  await animation.ready;
+  await waitForAnimationFrames(2);
+  assert_true(animationStartEvent,
+              'Animation event not blocked on display locked subtree if ' +
+              'no owning element');
+  animation.currentTime = 1999;
+  await waitForAnimationFrames(2);
+  assert_true(animationFinished,
+              'Finished promise not blocked on display locked subtrtee if ' +
+              'no owning element');
+}, 'Events and promises are handled normally for animations without an ' +
+   'owning element');
+
+</script>

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-035.html (277083 => 277084)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-035.html	2021-05-06 12:11:15 UTC (rev 277083)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-035.html	2021-05-06 12:58:33 UTC (rev 277084)
@@ -7,6 +7,8 @@
 <meta name="assert" content="content-visibility hidden element's subtree cannot be focused">
 <meta name="assert" content="content-visibility hidden element's subtree can access layout values">
 
+<body style="margin: 0">
+
 <div id="host">
   <input id="slotted" type="text">
 </div>

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-044-expected.txt (277083 => 277084)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-044-expected.txt	2021-05-06 12:11:15 UTC (rev 277083)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-044-expected.txt	2021-05-06 12:58:33 UTC (rev 277084)
@@ -1,11 +1,11 @@
-CONSOLE MESSAGE: Error: assert_equals: expected 0 but got 10
+CONSOLE MESSAGE: Error: assert_equals: expected 0 but got 2
 
 
-Harness Error (FAIL), message = Error: assert_equals: expected 0 but got 10
+Harness Error (FAIL), message = Error: assert_equals: expected 0 but got 2
 
 TIMEOUT Content Visibility: slot moved after container is hidden Test timed out
 
-Harness Error (FAIL), message = Error: assert_equals: expected 0 but got 10
+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 (277083 => 277084)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-044.html	2021-05-06 12:11:15 UTC (rev 277083)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-044.html	2021-05-06 12:58:33 UTC (rev 277084)
@@ -9,6 +9,8 @@
 <script src=""
 <script src=""
 
+<body style="margin: 0">
+
 <div id=host>
 <input id=slotted>
 <script>

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-continuations-crash.html (0 => 277084)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-continuations-crash.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-continuations-crash.html	2021-05-06 12:58:33 UTC (rev 277084)
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<link rel="help" href=""
+<link rel="help" href=""
+<map>
+  <ul></ul>
+  <progress></progress>
+  <iframe></iframe>
+</map>
+<style>
+body, map, ul, progress {
+    content-visibility: auto;
+    height: 0vw;
+  }
+</style>

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-skipped-slot-expected.html (0 => 277084)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-skipped-slot-expected.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-skipped-slot-expected.html	2021-05-06 12:58:33 UTC (rev 277084)
@@ -0,0 +1,17 @@
+<!doctype HTML>
+<html>
+<meta charset="utf8">
+<title>CSS Content Visibility: container (reference)</title>
+<link rel="author" title="Vladimir Levin" href=""
+<link rel="help" href=""
+
+<style>
+#container {
+  width: 150px;
+  height: 150px;
+  background: lightblue;
+}
+</style>
+
+<div id=container></div>
+

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-skipped-slot.html (0 => 277084)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-skipped-slot.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-skipped-slot.html	2021-05-06 12:58:33 UTC (rev 277084)
@@ -0,0 +1,68 @@
+<!doctype HTML>
+<html class="reftest-wait">
+<meta charset="utf8">
+<title>CSS Content Visibility: element reslotting</title>
+<link rel="author" title="Vladimir Levin" href=""
+<link rel="help" href=""
+<link rel="match" href=""
+<meta name="assert" content="element is correctly removed when slot assignment takes it into a skipped slot">
+
+<script src=""
+
+<script>
+window.customElements.define("my-element", class extends HTMLElement {
+  connectedCallback() {
+      if (this.shadowRoot) {
+        this.computeEdges_();
+        return;
+      }
+
+      this.attachShadow({ mode: 'open' }).innerHTML = `
+        <style>
+          slot[name=locked] {
+            display: block;
+            content-visibility: hidden;
+          }
+        </style>
+        <slot name=unlocked></slot>
+        <slot name=locked></slot>
+      `;
+  }
+});
+</script>
+
+<style>
+#container {
+  width: 150px;
+  height: 150px;
+  background: lightblue;
+}
+
+div {
+  width: 50px;
+  height: 50px;
+}
+.composited { will-change: transform; }
+#one { background: green; }
+#two { background: red; }
+</style>
+
+<div id=container>
+  <my-element>
+    <div id=one slot=unlocked>hello</div>
+    <div id=two slot=locked>world</div>
+  </my-element>
+</div>
+
+<script>
+// Ensure everything is loaded and rendered.
+_onload_ = () =>
+  requestAnimationFrame(() =>
+  requestAnimationFrame(() =>
+  requestAnimationFrame(() => {
+    // Reslot the element and composite the other one.
+    one.slot = "locked";
+    two.classList.add("composited");
+    requestAnimationFrame(takeScreenshot);
+})));
+</script>

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-slot-in-skipped-subtree-expected.html (0 => 277084)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-slot-in-skipped-subtree-expected.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-slot-in-skipped-subtree-expected.html	2021-05-06 12:58:33 UTC (rev 277084)
@@ -0,0 +1,17 @@
+<!doctype HTML>
+<html>
+<meta charset="utf8">
+<title>CSS Content Visibility: container (reference)</title>
+<link rel="author" title="Vladimir Levin" href=""
+<link rel="help" href=""
+
+<style>
+#container {
+  width: 150px;
+  height: 150px;
+  background: lightblue;
+}
+</style>
+
+<div id=container></div>
+

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-slot-in-skipped-subtree.html (0 => 277084)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-slot-in-skipped-subtree.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-slot-in-skipped-subtree.html	2021-05-06 12:58:33 UTC (rev 277084)
@@ -0,0 +1,70 @@
+<!doctype HTML>
+<html class="reftest-wait">
+<meta charset="utf8">
+<title>CSS Content Visibility: element reslotting</title>
+<link rel="author" title="Vladimir Levin" href=""
+<link rel="help" href=""
+<link rel="match" href=""
+<meta name="assert" content="element is correctly removed when slot assignment takes it into a skipped slot">
+
+<script src=""
+
+<script>
+window.customElements.define("my-element", class extends HTMLElement {
+  connectedCallback() {
+      if (this.shadowRoot) {
+        this.computeEdges_();
+        return;
+      }
+
+      this.attachShadow({ mode: 'open' }).innerHTML = `
+        <style>
+          #locked {
+            display: block;
+            content-visibility: hidden;
+          }
+        </style>
+        <slot name=unlocked></slot>
+        <div id=locked>
+          <slot name=locked></slot>
+        </div>
+      `;
+  }
+});
+</script>
+
+<style>
+#container {
+  width: 150px;
+  height: 150px;
+  background: lightblue;
+}
+
+div {
+  width: 50px;
+  height: 50px;
+}
+.composited { will-change: transform; }
+#one { background: green; }
+#two { background: red; }
+</style>
+
+<div id=container>
+  <my-element>
+    <div id=one slot=unlocked>hello</div>
+    <div id=two slot=locked>world</div>
+  </my-element>
+</div>
+
+<script>
+// Ensure everything is loaded and rendered.
+_onload_ = () =>
+  requestAnimationFrame(() =>
+  requestAnimationFrame(() =>
+  requestAnimationFrame(() => {
+    // Reslot the element and composite the other one.
+    one.slot = "locked";
+    two.classList.add("composited");
+    requestAnimationFrame(takeScreenshot);
+})));
+</script>

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/w3c-import.log (277083 => 277084)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/w3c-import.log	2021-05-06 12:11:15 UTC (rev 277083)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/w3c-import.log	2021-05-06 12:58:33 UTC (rev 277084)
@@ -14,6 +14,7 @@
 None
 ------------------------------------------------------------------------
 List of files:
+/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/animation-display-lock.html
 /LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-001-expected.html
 /LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-001.html
 /LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-002-expected.html
@@ -150,5 +151,10 @@
 /LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-079.html
 /LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-080.html
 /LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-081.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-continuations-crash.html
 /LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-form-controls-crash.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
+/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-slot-in-skipped-subtree-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/element-reassigned-to-slot-in-skipped-subtree.html
 /LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/inheritance.html
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to