summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/change-inline-color.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-break/change-inline-color.html')
-rw-r--r--testing/web-platform/tests/css/css-break/change-inline-color.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/change-inline-color.html b/testing/web-platform/tests/css/css-break/change-inline-color.html
new file mode 100644
index 0000000000..9da2c8e8f8
--- /dev/null
+++ b/testing/web-platform/tests/css/css-break/change-inline-color.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
+ <link rel="help" href="https://www.w3.org/TR/css-break-3/">
+ <link rel="match" href="change-inline-color-ref.html">
+ <p>The word PASS should be seen below.</p>
+ <div style="columns:4; width:4em; text-align:center; column-gap:0; orphans:1; widows:1; color:white;">
+ <span id="span">
+ P A S S
+ </span>
+ </div>
+ <script>
+ requestAnimationFrame(()=> {
+ requestAnimationFrame(()=> {
+ span.style.color = "green";
+ document.documentElement.classList.remove("reftest-wait");
+ });
+ });
+ </script>
+</html>