From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../tests/forced-colors-mode/README.txt | 1 + .../forced-colors-mode-backplate-01-ref.html | 52 ++++++++ .../backplate/forced-colors-mode-backplate-01.html | 55 +++++++++ .../forced-colors-mode-backplate-02-ref.html | 52 ++++++++ .../backplate/forced-colors-mode-backplate-02.html | 50 ++++++++ .../forced-colors-mode-backplate-03-ref.html | 61 +++++++++ .../backplate/forced-colors-mode-backplate-03.html | 64 ++++++++++ .../forced-colors-mode-backplate-04-ref.html | 50 ++++++++ .../backplate/forced-colors-mode-backplate-04.html | 50 ++++++++ .../forced-colors-mode-backplate-05-ref.html | 52 ++++++++ .../backplate/forced-colors-mode-backplate-05.html | 48 ++++++++ .../forced-colors-mode-backplate-06-ref.html | 44 +++++++ .../backplate/forced-colors-mode-backplate-06.html | 45 +++++++ .../forced-colors-mode-backplate-08-ref.html | 58 +++++++++ .../backplate/forced-colors-mode-backplate-08.html | 50 ++++++++ .../forced-colors-mode-backplate-09-ref.html | 38 ++++++ .../backplate/forced-colors-mode-backplate-09.html | 33 +++++ .../forced-colors-mode-backplate-10-ref.html | 39 ++++++ .../backplate/forced-colors-mode-backplate-10.html | 34 ++++++ .../forced-colors-mode-backplate-11-ref.html | 15 +++ .../backplate/forced-colors-mode-backplate-11.html | 24 ++++ .../forced-colors-mode-01-ref.html | 44 +++++++ .../forced-colors-mode/forced-colors-mode-01.html | 44 +++++++ .../forced-colors-mode-02-ref.html | 40 ++++++ .../forced-colors-mode/forced-colors-mode-02.html | 42 +++++++ .../forced-colors-mode/forced-colors-mode-03.html | 136 +++++++++++++++++++++ .../forced-colors-mode-05-ref.html | 16 +++ .../forced-colors-mode/forced-colors-mode-05.html | 17 +++ .../forced-colors-mode-06-ref.html | 9 ++ .../forced-colors-mode/forced-colors-mode-06.html | 10 ++ .../forced-colors-mode-07-ref.html | 32 +++++ .../forced-colors-mode/forced-colors-mode-07.html | 30 +++++ .../forced-colors-mode-08-ref.html | 20 +++ .../forced-colors-mode/forced-colors-mode-08.html | 21 ++++ .../forced-colors-mode/forced-colors-mode-09.html | 31 +++++ .../forced-colors-mode/forced-colors-mode-10.html | 36 ++++++ .../forced-colors-mode/forced-colors-mode-11.html | 39 ++++++ .../forced-colors-mode-14-ref.html | 22 ++++ .../forced-colors-mode/forced-colors-mode-14.html | 56 +++++++++ .../forced-colors-mode-17-ref.html | 18 +++ .../forced-colors-mode/forced-colors-mode-17.html | 19 +++ .../forced-colors-mode-18-ref.html | 28 +++++ .../forced-colors-mode/forced-colors-mode-18.html | 25 ++++ .../forced-colors-mode-19-ref.html | 29 +++++ .../forced-colors-mode/forced-colors-mode-19.html | 28 +++++ .../forced-colors-mode/forced-colors-mode-20.html | 31 +++++ .../forced-colors-mode/forced-colors-mode-21.html | 31 +++++ .../forced-colors-mode-23-ref.html | 27 ++++ .../forced-colors-mode/forced-colors-mode-23.html | 29 +++++ .../forced-colors-mode-25-ref.html | 22 ++++ .../forced-colors-mode/forced-colors-mode-25.html | 21 ++++ .../forced-colors-mode-26-ref.html | 19 +++ .../forced-colors-mode/forced-colors-mode-26.html | 24 ++++ .../forced-colors-mode/forced-colors-mode-27.html | 35 ++++++ .../forced-colors-mode-28-ref.html | 24 ++++ .../forced-colors-mode/forced-colors-mode-28.html | 37 ++++++ .../forced-colors-mode-29-ref.html | 41 +++++++ .../forced-colors-mode/forced-colors-mode-29.html | 42 +++++++ .../forced-colors-mode-30-ref.html | 18 +++ .../forced-colors-mode/forced-colors-mode-30.html | 19 +++ .../forced-colors-mode-31-ref.html | 18 +++ .../forced-colors-mode/forced-colors-mode-31.html | 22 ++++ .../forced-colors-mode-33-ref.html | 16 +++ .../forced-colors-mode/forced-colors-mode-33.html | 23 ++++ .../forced-colors-mode-34-ref.html | 16 +++ .../forced-colors-mode/forced-colors-mode-34.html | 23 ++++ .../forced-colors-mode-35-ref.html | 20 +++ .../forced-colors-mode/forced-colors-mode-35.html | 26 ++++ .../forced-colors-mode-36-ref.html | 18 +++ .../forced-colors-mode/forced-colors-mode-36.html | 23 ++++ .../forced-colors-mode-37-ref.html | 18 +++ .../forced-colors-mode/forced-colors-mode-37.html | 24 ++++ .../forced-colors-mode-38-ref.html | 18 +++ .../forced-colors-mode/forced-colors-mode-38.html | 24 ++++ .../forced-colors-mode-39-ref.html | 16 +++ .../forced-colors-mode/forced-colors-mode-39.html | 17 +++ .../forced-colors-mode/forced-colors-mode-40.html | 58 +++++++++ .../forced-colors-mode/forced-colors-mode-41.html | 44 +++++++ .../forced-colors-mode-42-ref.html | 19 +++ .../forced-colors-mode/forced-colors-mode-42.html | 23 ++++ .../forced-colors-mode-43-ref.html | 19 +++ .../forced-colors-mode/forced-colors-mode-43.html | 20 +++ .../forced-colors-mode-44-ref.html | 19 +++ .../forced-colors-mode/forced-colors-mode-44.html | 23 ++++ .../forced-colors-mode-45-ref.html | 19 +++ .../forced-colors-mode/forced-colors-mode-45.html | 20 +++ .../forced-colors-mode-46-ref.html | 15 +++ .../forced-colors-mode/forced-colors-mode-46.html | 37 ++++++ .../forced-colors-mode-47-ref.html | 29 +++++ .../forced-colors-mode/forced-colors-mode-47.html | 37 ++++++ .../forced-colors-mode-48-ref.html | 16 +++ .../forced-colors-mode/forced-colors-mode-48.html | 11 ++ .../forced-colors-mode-49-ref.html | 16 +++ .../forced-colors-mode/forced-colors-mode-49.html | 11 ++ .../forced-colors-mode/forced-colors-mode-50.html | 28 +++++ .../forced-colors-mode/forced-colors-mode-51.html | 24 ++++ .../forced-colors-mode-52-ref.html | 16 +++ .../forced-colors-mode/forced-colors-mode-52.html | 20 +++ .../forced-colors-mode-53-ref.html | 28 +++++ .../forced-colors-mode/forced-colors-mode-53.html | 45 +++++++ .../forced-colors-mode/forced-colors-mode-54.html | 20 +++ .../forced-colors-mode/resources/float-image.jpg | Bin 0 -> 4423 bytes .../forced-colors-mode/resources/test-image.jpg | Bin 0 -> 13341 bytes 103 files changed, 3066 insertions(+) create mode 100644 testing/web-platform/tests/forced-colors-mode/README.txt create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-01-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-01.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-02-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-02.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-03-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-03.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-04-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-04.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-05-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-05.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-06-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-06.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-08-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-08.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-09-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-09.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-10-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-10.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-11-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-11.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-01-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-01.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-02-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-02.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-03.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-05-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-05.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-06-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-06.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-07-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-07.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-08-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-08.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-09.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-10.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-11.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-14-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-14.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-17-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-17.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-18-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-18.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-20.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-21.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-23-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-23.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-25-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-25.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-26-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-26.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-27.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-28-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-28.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-29-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-29.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-30-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-30.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-31-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-31.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-33-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-33.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-34-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-34.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-35-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-35.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-36-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-36.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-37-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-37.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-38-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-38.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-39-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-39.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-40.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-41.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-42-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-42.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-43-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-43.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-44-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-44.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-45-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-45.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-46-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-46.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-47-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-47.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-48-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-48.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-49-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-49.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-50.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-51.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-52-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-52.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-53-ref.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-53.html create mode 100644 testing/web-platform/tests/forced-colors-mode/forced-colors-mode-54.html create mode 100644 testing/web-platform/tests/forced-colors-mode/resources/float-image.jpg create mode 100644 testing/web-platform/tests/forced-colors-mode/resources/test-image.jpg (limited to 'testing/web-platform/tests/forced-colors-mode') diff --git a/testing/web-platform/tests/forced-colors-mode/README.txt b/testing/web-platform/tests/forced-colors-mode/README.txt new file mode 100644 index 0000000000..de185c88ae --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/README.txt @@ -0,0 +1 @@ +This directory is for testing Forced Colors mode implementation. diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-01-ref.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-01-ref.html new file mode 100644 index 0000000000..0817f7b394 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-01-ref.html @@ -0,0 +1,52 @@ + + + + + Forced colors mode - backplate reference. + + + + + + +
+ A backplate should be drawn behind the text +
+ in forced colors mode +
+ (forced-color-adjust is set to auto.) +
+


+
+ There should NOT be a backplate drawn behind the text +
+ in forced colors mode +
+ (forced-color-adjust is set to none.) +
+
+ There should NOT be a backplate drawn behind the text +
+ in forced colors mode +
+ (forced-color-adjust is set to preserve-parent-color.) +
+ + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-01.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-01.html new file mode 100644 index 0000000000..97c8261a4c --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-01.html @@ -0,0 +1,55 @@ + + + + + Forced colors mode - backplate. + + + + + + + + +
+ A backplate should be drawn behind the text +
+ in forced colors mode +
+ (forced-color-adjust is set to auto.) +
+


+
+ There should NOT be a backplate drawn behind the text +
+ in forced colors mode +
+ (forced-color-adjust is set to none.) +
+
+ There should NOT be a backplate drawn behind the text +
+ in forced colors mode +
+ (forced-color-adjust is set to preserve-parent-color.) +
+ + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-02-ref.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-02-ref.html new file mode 100644 index 0000000000..992ced6893 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-02-ref.html @@ -0,0 +1,52 @@ + + + + + Forced colors mode - backplate reference. + Tests that the backplate feature with a varying number of line breaks. + + + + + + +
+ This text
should have
its own backplate
in forced colors mode. +
+
+
+ This text should have its own backplate in forced colors mode: +
+ two br tags indicates a new paragraph. +
+ This text should share a backplate with the above text: +
+ one br tag used. +
+
+
+
+
+ This text should have its own backplate in forced colors mode: +
+ four br tags indicates a new paragraph. +
+ + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-02.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-02.html new file mode 100644 index 0000000000..1643a6eef3 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-02.html @@ -0,0 +1,50 @@ + + + + + Forced colors mode - backplate. + Tests that the backplate feature with a varying number of line breaks. + + + + + + + + + + This text
should have
its own backplate
in forced colors mode. +
+
+
+ + This text should have its own backplate in forced colors mode: +
+ two br tags indicates a new paragraph. +
+
+ + This text should share a backplate with the above text: +
+ one br tag used. +
+
+
+
+
+ + This text should have its own backplate in forced colors mode: +
+ four br tags indicates a new paragraph. +
+ + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-03-ref.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-03-ref.html new file mode 100644 index 0000000000..9a4ccff7fe --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-03-ref.html @@ -0,0 +1,61 @@ + + + + + Forced colors mode - backplate reference. + Tests the backplate feature behind lists. + + + + + + +
+
  • + There should be a backplate drawn +
  • +
    +
    +
  • + behind the first three list items +
  • +
    +
    +
  • + in forced colors mode. +
  • +
    +
    +
  • + There should be NO backplate drawn +
  • +
    +
    +
  • + behind the last three list items +
  • +
    +
    +
  • + in forced colors mode. +
  • + + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-03.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-03.html new file mode 100644 index 0000000000..f8c8f349ba --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-03.html @@ -0,0 +1,64 @@ + + + + + Forced colors mode - backplate. + Tests the backplate feature behind lists. + + + + + + + + +
    +
  • + There should be a backplate drawn +
  • +
    +
    +
  • + behind the first three list items +
  • +
    +
    +
  • + in forced colors mode. +
  • +
    +
    +
  • + There should be NO backplate drawn +
  • +
    +
    +
  • + behind the last three list items +
  • +
    +
    +
  • + in forced colors mode. +
  • + + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-04-ref.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-04-ref.html new file mode 100644 index 0000000000..ddf54c6b8f --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-04-ref.html @@ -0,0 +1,50 @@ + + + + + Forced colors mode - backplate reference. + Tests the backplate feature behind links. + + + + + + +
    + This text should have a backplate drawn +
    + in forced colors mode +
    + that includes the following link: +
    + LINK +
    +



    +
    + This text should NOT have a backplate drawn +
    + in forced colors mode +
    + including for the following link: +
    + LINK +
    + + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-04.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-04.html new file mode 100644 index 0000000000..be3ab4bd1f --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-04.html @@ -0,0 +1,50 @@ + + + + + Forced colors mode - backplate. + Tests the backplate feature behind links. + + + + + + + + +
    + This text should have a backplate drawn +
    + in forced colors mode +
    + that includes the following link: +
    + LINK +
    +



    +
    + This text should NOT have a backplate drawn +
    + in forced colors mode +
    + including for the following link: +
    + LINK +
    + + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-05-ref.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-05-ref.html new file mode 100644 index 0000000000..28b6f1888d --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-05-ref.html @@ -0,0 +1,52 @@ + + + + + Forced colors mode - backplate reference. + Tests the backplate feature for display inline/relative position. + + + + + + +
    +
  • The backplate
  • +
  • for all of
  • +
  • the elements
  • +
  • in this list
  • +
  • should create
  • +
  • one single
  • +
  • paragraph
  • +
  • in forced
  • +
  • colors mode.
  • +
  • The backplate
  • +
  • should not be
  • +
  • painted for
  • +
  • each individual
  • +
  • list item
  • +
  • separately.
  • +
    + + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-05.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-05.html new file mode 100644 index 0000000000..7d8f8057cf --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-05.html @@ -0,0 +1,48 @@ + + + + + Forced colors mode - backplate. + Tests the backplate feature for display inline/relative position. + + + + + + + + +
    +
  • The backplate
  • +
  • for all of
  • +
  • the elements
  • +
  • in this list
  • +
  • should create
  • +
  • one single
  • +
  • paragraph
  • +
  • in forced
  • +
  • colors mode.
  • +
  • The backplate
  • +
  • should not be
  • +
  • painted for
  • +
  • each individual
  • +
  • list item
  • +
  • separately.
  • +
    + + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-06-ref.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-06-ref.html new file mode 100644 index 0000000000..642bd72da6 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-06-ref.html @@ -0,0 +1,44 @@ + + + + + Forced colors mode - backplate reference. + Tests that inline spans with different forced-color-adjust values from their + parent element follow the backplate behavior of that parent in forced colors + mode. + + + + + + +
    + This text should not have a backplate in forced colors mode. +
    + This text should not have a backplate in forced colors mode. +
    +
    +
    +
    +
    +
    + This text should have a backplate in forced colors mode. +
    + This text should have a backplate in forced colors mode. +
    + + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-06.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-06.html new file mode 100644 index 0000000000..49a8429c01 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-06.html @@ -0,0 +1,45 @@ + + + + + Forced colors mode - backplate. + Tests that inline spans with different forced-color-adjust values from their + parent element follow the backplate behavior of that parent in forced colors + mode. + + + + + + + + +
    + This text should not have a backplate in forced colors mode. +
    + + This text should not have a backplate in forced colors mode. + +
    +
    +
    +
    +
    +
    + This text should have a backplate in forced colors mode. +
    + + This text should have a backplate in forced colors mode. + +
    + + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-08-ref.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-08-ref.html new file mode 100644 index 0000000000..6cefe66be2 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-08-ref.html @@ -0,0 +1,58 @@ + + + + + Forced colors mode - backplate reference. + Tests backplate is drawn when text is located outside the cull rect. + + + + + + + + The text below should have a backplate in forced colors mode. + +
    +














    +














    +














    +














    +














    +














    +














    +














    +














    +














    +














    +














    +














    +














    +














    +














    +














    + This text should have a backplate. +
    + + + + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-08.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-08.html new file mode 100644 index 0000000000..2049e3e383 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-08.html @@ -0,0 +1,50 @@ + + + + + Forced colors mode - backplate. + Tests backplate is drawn when text is located outside the cull rect. + + + + + + + + + The text below should have a backplate in forced colors mode. +
    +














    +














    +














    +














    +














    +














    +














    +














    +














    +














    +














    +














    +














    +














    +














    +














    +














    + This text should have a backplate. +
    + + + + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-09-ref.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-09-ref.html new file mode 100644 index 0000000000..2bbe08a5d1 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-09-ref.html @@ -0,0 +1,38 @@ + + + + + Forced colors mode - backplate reference. + Tests that backplate is not drawn above floats. + + + + + + +
    + + In forced colors mode, the backplate for this paragraph should lie below the + the floating image. +
    + + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-09.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-09.html new file mode 100644 index 0000000000..467a23c17c --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-09.html @@ -0,0 +1,33 @@ + + + + + Forced colors mode - backplate. + Tests that backplate is not drawn above floats. + + + + + + + + +
    + + In forced colors mode, the backplate for this paragraph should lie below the + the floating image. +
    + + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-10-ref.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-10-ref.html new file mode 100644 index 0000000000..35eb521b81 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-10-ref.html @@ -0,0 +1,39 @@ + + + + + Forced colors mode - backplate reference. + Tests that backplates of overlapping inline boxes do not overlap. + + + + + + +
    +
    + The two backplates should not overlap +
    +
    +
    + in forced colors mode. +
    +
    + + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-10.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-10.html new file mode 100644 index 0000000000..db6c5adc29 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-10.html @@ -0,0 +1,34 @@ + + + + + Forced colors mode - backplate. + Tests that backplates of overlapping inline boxes do not overlap. + + + + + + + + +
    +
    + The two backplates should not overlap +
    +
    +
    + in forced colors mode. +
    +
    + + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-11-ref.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-11-ref.html new file mode 100644 index 0000000000..727afad6ca --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-11-ref.html @@ -0,0 +1,15 @@ + + + + + Forced colors mode - backplate. + Tests that backplates are not painted behind hidden elements. + + + + + diff --git a/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-11.html b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-11.html new file mode 100644 index 0000000000..a43f79db51 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/backplate/forced-colors-mode-backplate-11.html @@ -0,0 +1,24 @@ + + + + + Forced colors mode - backplate. + Tests that backplates are not painted behind hidden elements. + + + + + + + +
    + No blackplate should be painted in forced colors mode. +
    +
    + No blackplate should be painted in forced colors mode. +
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-01-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-01-ref.html new file mode 100644 index 0000000000..dbd83a56fe --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-01-ref.html @@ -0,0 +1,44 @@ + + +Test forced colors mode on table styles reference + + + + + + + + + + + + + + + + + + +
    Column1Column2Column3
    Entry1Entry1Entry1
    Entry2Entry2Entry2
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-01.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-01.html new file mode 100644 index 0000000000..9c0ef0b309 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-01.html @@ -0,0 +1,44 @@ + + +Test forced colors mode on table styles + + + + + + + + + + + + + + + + + + + + +
    Column1Column2Column3
    Entry1Entry1Entry1
    Entry2Entry2Entry2
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-02-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-02-ref.html new file mode 100644 index 0000000000..39b7724b67 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-02-ref.html @@ -0,0 +1,40 @@ + + +Forced colors mode - style overrides for text reference. + + +
    + The colors and shadows of this text and text box should be overridden when in + forced colors mode (forced-color-adjust is set to auto.) +
    +
    + The colors and shadows of this text and text box should NOT be overridden when in + forced colors mode (forced-color-adjust is set to none.) +
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-02.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-02.html new file mode 100644 index 0000000000..414d3c1d4a --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-02.html @@ -0,0 +1,42 @@ + + +Forced colors mode - style overrides for text. + + + + +
    + The colors and shadows of this text and text box should be overridden when in + forced colors mode (forced-color-adjust is set to auto.) +
    +
    + The colors and shadows of this text and text box should NOT be overridden when in + forced colors mode (forced-color-adjust is set to none.) +
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-03.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-03.html new file mode 100644 index 0000000000..9e28c4fdb1 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-03.html @@ -0,0 +1,136 @@ + + +Forced colors mode - highlighted text. + + + + + + This is regular body text. It should be CanvasText in forced colors mode. +
    + + This text should be black in forced colors mode because forced-color-adjust + is auto. The background color should be yellow because the default + highlighted colors should not be overridden in forced colors mode. + +
    + + This text should be orange in forced colors mode because + forced-color-adjust is none. The background color should be purple because + forced-color-adjust is none. + +
    + + This text should be orange in forced colors mode because + although forced-color-adjust is preserve-parent-color, the color value is + neither currentColor nor inherited. The background color should be purple + because preserve-parent-color behaves like none for all properties except + color. + +
    + + This text should be CanvasText in forced colors mode because + forced-color-adjust is preserve-parent-color and we are inheriting from its + parent. The background color should be purple because preserve-parent-color + behaves like none for all properties except color. + +
    + + This text should be CanvasText in forced colors mode because + forced-color-adjust is preserve-parent-color and we are inheriting from its + parent. The background color should be purple because preserve-parent-color + behaves like none for all properties except color. + +
    + + This text should be CanvasText in forced colors mode because + forced-color-adjust is preserve-parent-color and we are inheriting from its + parent. The background color should also be CanvasText because although + forced-color-adjust behaves like none, the computed value of currentColor is + CanvasText. + +
    + Should be VisitedText, and not orange. + Should be VisitedText, and not orange. + Should be VisitedText, and not orange. + + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-05-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-05-ref.html new file mode 100644 index 0000000000..e2fffecd9c --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-05-ref.html @@ -0,0 +1,16 @@ + + +Forced colors mode - link color reference. + + +

    + + This link color should be overridden when forced colors mode is enabled. + +

    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-05.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-05.html new file mode 100644 index 0000000000..6078d3a640 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-05.html @@ -0,0 +1,17 @@ + + +Forced colors mode - link color. + + + + +

    + + This link color should be overridden when forced colors mode is enabled. + +

    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-06-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-06-ref.html new file mode 100644 index 0000000000..9af878e25b --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-06-ref.html @@ -0,0 +1,9 @@ + + +Forced colors mode - iframe reference. + Test that styles are overridden inside iframes in forced colors mode. + + + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-06.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-06.html new file mode 100644 index 0000000000..fc54186aac --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-06.html @@ -0,0 +1,10 @@ + + +Forced colors mode - iframe. + Test that styles are overridden inside iframes in forced colors mode. + + + + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-07-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-07-ref.html new file mode 100644 index 0000000000..06d199ef0b --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-07-ref.html @@ -0,0 +1,32 @@ + + +Forced colors mode - transparent colors reference. + + +
    +

    + The text color should be overridden, and the background color of the + div element should also be overridden in forced colors mode. +

    +
    +
    +

    + The text color should be overridden, but the background color of the + div element should remain transparent in forced colors mode. +

    +
    +
    +

    + The text color should be overridden, but the background color of the + div element should remain transparent in forced colors mode. +

    +
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-07.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-07.html new file mode 100644 index 0000000000..765868a2df --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-07.html @@ -0,0 +1,30 @@ + + +Forced colors mode - transparent colors. + + + + +
    +

    + The text color should be overridden, and the background color of the + div element should also be overridden in forced colors mode. +

    +
    +
    +

    + The text color should be overridden, but the background color of the + div element should remain transparent in forced colors mode. +

    +
    +
    +

    + The text color should be overridden, but the background color of the + div element should remain transparent in forced colors mode. +

    +
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-08-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-08-ref.html new file mode 100644 index 0000000000..479ead11aa --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-08-ref.html @@ -0,0 +1,20 @@ + + +Forced colors mode - outline and column color reference. + + +

    + The outline-color and column-rule-color should be blue when forced colors + mode is off and CanvasText in forced colors mode. +

    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-08.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-08.html new file mode 100644 index 0000000000..a8819743fe --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-08.html @@ -0,0 +1,21 @@ + + +Forced colors mode - outline and column color. + + + + +

    + The outline-color and column-rule-color should be blue when forced colors + mode is off and CanvasText in forced colors mode. +

    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-09.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-09.html new file mode 100644 index 0000000000..16ca8a4610 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-09.html @@ -0,0 +1,31 @@ + + + + Forced colors mode - forced-colors media query. + Tests that styles defined inside or outside a forced-colors media query are + overridden in forced colors mode. + + + + + + +

    + This text should NOT be blue forced colors mode. +

    + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-10.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-10.html new file mode 100644 index 0000000000..765013d913 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-10.html @@ -0,0 +1,36 @@ + + + + Forced colors mode - forced-colors media query. + Tests that styles defined inside/outside forced-color media query + are preserved in forced colors mode if forced-color-adjust is none + and that the ordering of styles is preserved. + + + + + + +

    + This text should be green in forced colors mode. +

    + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-11.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-11.html new file mode 100644 index 0000000000..5fa8ba4524 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-11.html @@ -0,0 +1,39 @@ + + + + Forced colors mode - forced-colors media query. + Tests that styles defined inside forced-color media query + are preserved in forced colors mode if forced-color-adjust + is none. + + + + + + + +

    + This text should be green in forced colors mode. +

    + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-14-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-14-ref.html new file mode 100644 index 0000000000..a1dc6851c9 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-14-ref.html @@ -0,0 +1,22 @@ + + + + Forced colors mode - active selection reference. + + + + AAA +
    + AAA + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-14.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-14.html new file mode 100644 index 0000000000..3ecc082d7b --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-14.html @@ -0,0 +1,56 @@ + + + + Forced colors mode - active selection. + + + + + + +
    + AAA +
    + AAA + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-17-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-17-ref.html new file mode 100644 index 0000000000..125c436412 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-17-ref.html @@ -0,0 +1,18 @@ + + +Forced colors mode - text decoration and emphasis color reference. + + +

    + The text decoration and emphasis color for this text should have a + CanvasText color in forced colors mode. +

    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-17.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-17.html new file mode 100644 index 0000000000..97dd369385 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-17.html @@ -0,0 +1,19 @@ + + +Forced colors mode - text decoration and emphasis color. + + + + +

    + The text decoration and emphasis color for this text should have a + CanvasText color in forced colors mode. +

    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-18-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-18-ref.html new file mode 100644 index 0000000000..dd069c1874 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-18-ref.html @@ -0,0 +1,28 @@ + + +Forced colors mode - svg. + Only foreignObject svg elements should have styles + overridden in forced colors mode. + + + + + + This text should have a red fill and blue stroke color in + forced colors mode. + + + +
    + This text should be CanvasText in forced colors mode. +
    + + + +
    +
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-18.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-18.html new file mode 100644 index 0000000000..6b415f7658 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-18.html @@ -0,0 +1,25 @@ + + +Forced colors mode - svg. + Only foreignObject svg elements should have styles + overridden in forced colors mode. + + + + + + + This text should have a red fill and blue stroke color in + forced colors mode. + + + +
    + This text should be CanvasText in forced colors mode. +
    + + + +
    +
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19-ref.html new file mode 100644 index 0000000000..8d25ec5009 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19-ref.html @@ -0,0 +1,29 @@ + + + + Forced colors mode reference. + Tests that inline images are ignored in forced colors mode when + forced-color-adjust is auto. + + + +
    + The background image behind this text should be ignored in forced colors + mode. +
    +
    + The background image behind this text should NOT be ignored in forced + colors mode. +
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19.html new file mode 100644 index 0000000000..5c4a09e422 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-19.html @@ -0,0 +1,28 @@ + + + + Forced colors mode. + Tests that inline images are ignored in forced colors mode when + forced-color-adjust is auto. + + + + + +
    + The background image behind this text should be ignored in forced colors + mode. +
    +
    + The background image behind this text should NOT be ignored in forced + colors mode. +
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-20.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-20.html new file mode 100644 index 0000000000..b0cf9e2b49 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-20.html @@ -0,0 +1,31 @@ + + +Forced colors mode - alpha channel. + Tests that the alpha channel for background colors are preserved in forced + colors mode. + + + + + + +
    + Background colors should maintain their alpha channels in forced + colors mode. +
    + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-21.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-21.html new file mode 100644 index 0000000000..975bfc6d09 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-21.html @@ -0,0 +1,31 @@ + + +Forced colors mode - alpha channel. + Tests that the alpha channel for background colors are preserved in forced + colors mode at the root node. + + + + + + +
    + Background colors should maintain their alpha channels in forced + colors mode. +
    + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-23-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-23-ref.html new file mode 100644 index 0000000000..af36e40f18 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-23-ref.html @@ -0,0 +1,27 @@ + + +Forced colors mode - non-inherited cache reference. + Ensures that forced colors styles don't get overridden by non-inherited + cached values. + + + +
    + text +
    +
    + text +
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-23.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-23.html new file mode 100644 index 0000000000..20519ea181 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-23.html @@ -0,0 +1,29 @@ + + +Forced colors mode - non-inherited cache. + Ensures that forced colors styles don't get overridden by non-inherited + cached values. + + + + + +
    + text +
    +
    + text +
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-25-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-25-ref.html new file mode 100644 index 0000000000..9c626ae768 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-25-ref.html @@ -0,0 +1,22 @@ + + +Forced colors mode - atomic inline reference. + Ensures that background images are not overridden for atomic inlines. + + + +

    Four images should appear below with forced colors mode enabled and disabled.

    +
    +
    +
    +
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-25.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-25.html new file mode 100644 index 0000000000..ea1f973f04 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-25.html @@ -0,0 +1,21 @@ + + +Forced colors mode - atomic inline. + Ensures that background images are not overridden for atomic inlines. + + + + + +

    Four images should appear below with forced colors mode enabled and disabled.

    +
    +
    +
    +
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-26-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-26-ref.html new file mode 100644 index 0000000000..617d425e0a --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-26-ref.html @@ -0,0 +1,19 @@ + + +Forced colors mode - fill/stroke. + + + + The triangle below should NOT get overridden in forced colors mode. + + + + The triangle below should be currentColor in forced colors mode. + + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-26.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-26.html new file mode 100644 index 0000000000..5379564563 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-26.html @@ -0,0 +1,24 @@ + + +Forced colors mode - fill/stroke. + + + + + +
    + The triangle below should NOT get overridden in forced colors mode. + + + + The triangle below should be currentColor in forced colors mode. + + + +
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-27.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-27.html new file mode 100644 index 0000000000..5a42f947ad --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-27.html @@ -0,0 +1,35 @@ + + +Forced colors mode - html/head elements. + Tests that the color properties are overridden for html/head elements and not + just for the body. + + + + + +
    + The color properties for the head and html elements should get updated in + Forced Colors Mode. +
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-28-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-28-ref.html new file mode 100644 index 0000000000..9792073004 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-28-ref.html @@ -0,0 +1,24 @@ + + +Forced colors mode - background-image. + + + + The background-image should be reverted in Forced Colors Mode unless the value + is a url() function. +
    +
    +
    +
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-28.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-28.html new file mode 100644 index 0000000000..7e2dfefadc --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-28.html @@ -0,0 +1,37 @@ + + +Forced colors mode - background-image. + + + + + + The background-image should be reverted in Forced Colors Mode unless the value + is a url() function. +
    +
    +
    +
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-29-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-29-ref.html new file mode 100644 index 0000000000..825f63ae85 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-29-ref.html @@ -0,0 +1,41 @@ + + +Test forced colors mode on table styles with sys colors + + + + + + + + + + + + + + + + + +
    ColumnColumnColumn
    EntryEntryEntry
    \ No newline at end of file diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-29.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-29.html new file mode 100644 index 0000000000..794cca771f --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-29.html @@ -0,0 +1,42 @@ + + +Test forced colors mode on table styles with sys colors + + + + + + + + + + + + + + + + + + + +
    ColumnColumnColumn
    EntryEntryEntry
    diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-30-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-30-ref.html new file mode 100644 index 0000000000..6029573933 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-30-ref.html @@ -0,0 +1,18 @@ + + +Forced colors mode - fill/stroke with sys colors. + + +
    + The triangle below should preserve the LinkText and Link fill/stroke colors + in forced colors mode. + + + +
    diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-30.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-30.html new file mode 100644 index 0000000000..2f2a5e2e12 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-30.html @@ -0,0 +1,19 @@ + + +Forced colors mode - fill/stroke with sys colors. + + + + +
    + The triangle below should preserve the LinkText and Link fill/stroke colors + in forced colors mode. + + + +
    diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-31-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-31-ref.html new file mode 100644 index 0000000000..93d4045978 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-31-ref.html @@ -0,0 +1,18 @@ + + +Forced colors mode - outline and column color with sys colors. + +

    + The outline-color and column-rule-color should be LinkText when forced colors + mode is enabled. +

    diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-31.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-31.html new file mode 100644 index 0000000000..ba338c1e0c --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-31.html @@ -0,0 +1,22 @@ + + +Forced colors mode - outline and column color with sys colors. + + + +

    + The outline-color and column-rule-color should be LinkText when forced colors + mode is enabled. +

    diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-33-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-33-ref.html new file mode 100644 index 0000000000..ae7148ba8e --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-33-ref.html @@ -0,0 +1,16 @@ + + +Test forced colors mode :visited colors + +Visited link. diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-33.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-33.html new file mode 100644 index 0000000000..17299efa2b --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-33.html @@ -0,0 +1,23 @@ + + +Test forced colors mode :visited colors + + + +Visited link. diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-34-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-34-ref.html new file mode 100644 index 0000000000..b317d2f440 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-34-ref.html @@ -0,0 +1,16 @@ + + +Test forced colors mode :visited colors with sys colors + +Visited link. diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-34.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-34.html new file mode 100644 index 0000000000..f4ec066e30 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-34.html @@ -0,0 +1,23 @@ + + +Test forced colors mode :visited colors with sys colors + + + +Visited link. diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-35-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-35-ref.html new file mode 100644 index 0000000000..2b397e92f2 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-35-ref.html @@ -0,0 +1,20 @@ + + +Forced colors mode - :visited fill/stroke. + + + + The triangle below should NOT get overridden in forced colors mode. + + + + The triangle below should be currentColor in forced colors mode. + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-35.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-35.html new file mode 100644 index 0000000000..5d80e80418 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-35.html @@ -0,0 +1,26 @@ + + +Forced colors mode - :visited fill/stroke. + + + + + + The triangle below should NOT get overridden in forced colors mode. + + + + The triangle below should be currentColor in forced colors mode. + + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-36-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-36-ref.html new file mode 100644 index 0000000000..838b10da95 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-36-ref.html @@ -0,0 +1,18 @@ + + +Forced colors mode - :visited fill/stroke with sys colors. + + + + The triangle below should preserve the CanvasText/LinkText fill/stroke colors + in forced colors mode. + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-36.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-36.html new file mode 100644 index 0000000000..0fd90810dc --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-36.html @@ -0,0 +1,23 @@ + + +Forced colors mode - :visited fill/stroke with sys colors. + + + + + + The triangle below should preserve the CanvasText/LinkText fill/stroke colors + in forced colors mode. + + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-37-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-37-ref.html new file mode 100644 index 0000000000..a2cc4b7efe --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-37-ref.html @@ -0,0 +1,18 @@ + + +Forced colors mode - :visited outline and column color. + + + The outline-color and column-rule-color should be overridden when forced colors + mode is enabled. + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-37.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-37.html new file mode 100644 index 0000000000..80e06ed870 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-37.html @@ -0,0 +1,24 @@ + + +Forced colors mode - :visited outline and column color. + + + + + The outline-color and column-rule-color should be overridden when forced colors + mode is enabled. + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-38-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-38-ref.html new file mode 100644 index 0000000000..e72a73fcef --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-38-ref.html @@ -0,0 +1,18 @@ + + +Forced colors mode - :visited outline and column color with sys colors. + + + The outline-color and column-rule-color should be GrayText when forced colors + mode is enabled. + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-38.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-38.html new file mode 100644 index 0000000000..3179aaf4b9 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-38.html @@ -0,0 +1,24 @@ + + +Forced colors mode - :visited outline and column color with sys colors. + + + + + The outline-color and column-rule-color should be GrayText when forced colors + mode is enabled. + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-39-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-39-ref.html new file mode 100644 index 0000000000..df6de6eda2 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-39-ref.html @@ -0,0 +1,16 @@ + + +Forced colors mode - pseudo elements. + +

    + The background color of pseudo elements should get overridden in Forced Colors + Mode. +

    diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-39.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-39.html new file mode 100644 index 0000000000..7b69fc979c --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-39.html @@ -0,0 +1,17 @@ + + +Forced colors mode - pseudo elements. + + + +

    + The background color of pseudo elements should get overridden in Forced Colors + Mode. +

    diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-40.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-40.html new file mode 100644 index 0000000000..481492d72e --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-40.html @@ -0,0 +1,58 @@ + + +Forced colors mode - computed value. + Ensures that forced colors do not affect the computed style. + + + + + +
    + Forced colors should not affect the computed style. +
    + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-41.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-41.html new file mode 100644 index 0000000000..7b616c963d --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-41.html @@ -0,0 +1,44 @@ + + +Forced colors mode - resolved value. + Forced colors happens at used value time. The resolved values of certain color + properties are used values. This test ensures that those values are forced in + forced colors mode. + + + + + +
    + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-42-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-42-ref.html new file mode 100644 index 0000000000..7133c893ce --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-42-ref.html @@ -0,0 +1,19 @@ + + +Forced colors mode - visited caret-color. + +link + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-42.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-42.html new file mode 100644 index 0000000000..9d4cfadcc0 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-42.html @@ -0,0 +1,23 @@ + + +Forced colors mode - visited caret-color. + + + +link + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-43-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-43-ref.html new file mode 100644 index 0000000000..0b98661896 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-43-ref.html @@ -0,0 +1,19 @@ + + +Forced colors mode - caret-color. + +
    The caret color should be overridden to currentColor + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-43.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-43.html new file mode 100644 index 0000000000..9b8c164908 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-43.html @@ -0,0 +1,20 @@ + + +Forced colors mode - caret-color. + + + +
    The caret color should be overridden to currentColor + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-44-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-44-ref.html new file mode 100644 index 0000000000..46398de882 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-44-ref.html @@ -0,0 +1,19 @@ + + +Forced colors mode - visited caret-color with system color. + +link + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-44.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-44.html new file mode 100644 index 0000000000..4526e19550 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-44.html @@ -0,0 +1,23 @@ + + +Forced colors mode - visited caret-color with system color. + + + +link + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-45-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-45-ref.html new file mode 100644 index 0000000000..c7d535c527 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-45-ref.html @@ -0,0 +1,19 @@ + + +Forced colors mode - caret-color with system color. + +
    The caret color should remain GrayText + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-45.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-45.html new file mode 100644 index 0000000000..e667b82914 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-45.html @@ -0,0 +1,20 @@ + + +Forced colors mode - caret-color with system color. + + + +
    The caret color should remain GrayText + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-46-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-46-ref.html new file mode 100644 index 0000000000..55259f7f7a --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-46-ref.html @@ -0,0 +1,15 @@ + + +Forced colors mode - lighting-color, flood-color, stop-color. + + + + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-46.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-46.html new file mode 100644 index 0000000000..6fd50a3715 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-46.html @@ -0,0 +1,37 @@ + + +Forced colors mode - lighting-color, flood-color, stop-color. + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-47-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-47-ref.html new file mode 100644 index 0000000000..827cf86b23 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-47-ref.html @@ -0,0 +1,29 @@ + + +Forced colors mode - lighting-color, flood-color, stop-color system colors. + + + + + + + + + + + + + + + + + + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-47.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-47.html new file mode 100644 index 0000000000..b5eb912d6b --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-47.html @@ -0,0 +1,37 @@ + + +Forced colors mode - lighting-color, flood-color, stop-color system colors. + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-48-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-48-ref.html new file mode 100644 index 0000000000..53f72c1259 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-48-ref.html @@ -0,0 +1,16 @@ + + +Forced colors mode - forced-color-adjust propagation to viewport. + +
    diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-48.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-48.html new file mode 100644 index 0000000000..feb3fc0876 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-48.html @@ -0,0 +1,11 @@ + + +Forced colors mode - forced-color-adjust propagation to viewport. + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-49-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-49-ref.html new file mode 100644 index 0000000000..8233a8a635 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-49-ref.html @@ -0,0 +1,16 @@ + + +Forced colors mode - forced-color-adjust does not propagate from body to viewport. + +
    diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-49.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-49.html new file mode 100644 index 0000000000..e96c3790fb --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-49.html @@ -0,0 +1,11 @@ + + +Forced colors mode - forced-color-adjust does not propagate from body to viewport. + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-50.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-50.html new file mode 100644 index 0000000000..42957248b4 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-50.html @@ -0,0 +1,28 @@ + + +Forced colors mode - accent-color. + + + + + + + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-51.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-51.html new file mode 100644 index 0000000000..0257714432 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-51.html @@ -0,0 +1,24 @@ + + +Forced colors mode - color-scheme. + + + + +
    +
    + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-52-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-52-ref.html new file mode 100644 index 0000000000..5d684be9d0 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-52-ref.html @@ -0,0 +1,16 @@ + + +Forced colors mode - SVG inherits parent's used color by default. + + + + The triangle below should be canvasText in forced colors mode. + + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-52.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-52.html new file mode 100644 index 0000000000..5812d1eed5 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-52.html @@ -0,0 +1,20 @@ + + +Forced colors mode - SVG inherits parent's used color by default. + + + + + The triangle below should be canvasText in forced colors mode. + + + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-53-ref.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-53-ref.html new file mode 100644 index 0000000000..6bfa7710fa --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-53-ref.html @@ -0,0 +1,28 @@ + + +Forced colors mode - Highlight pseudos use the originating element's forced colors state + + + + +
    This content doesn't have forced-color-adjust set at all
    +
    This content has forced-color-adjust:none on the originating element only
    +
    This content has forced-color-adjust:none on the ::highlight pseudo only
    +
    This content has forced-color-adjust:none on the originating element and the ::highlight pseudo
    + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-53.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-53.html new file mode 100644 index 0000000000..3b31a5999b --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-53.html @@ -0,0 +1,45 @@ + + +Forced colors mode - Highlight pseudos use the originating element's forced colors state + + + + + + +
    This content doesn't have forced-color-adjust set at all
    +
    This content has forced-color-adjust:none on the originating element only
    +
    This content has forced-color-adjust:none on the ::highlight pseudo only
    +
    This content has forced-color-adjust:none on the originating element and the ::highlight pseudo
    + + diff --git a/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-54.html b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-54.html new file mode 100644 index 0000000000..0a770f78f3 --- /dev/null +++ b/testing/web-platform/tests/forced-colors-mode/forced-colors-mode-54.html @@ -0,0 +1,20 @@ + + +Forced colors mode - scrollbar-color + + + + + +
    + + diff --git a/testing/web-platform/tests/forced-colors-mode/resources/float-image.jpg b/testing/web-platform/tests/forced-colors-mode/resources/float-image.jpg new file mode 100644 index 0000000000..ab06d5f94d Binary files /dev/null and b/testing/web-platform/tests/forced-colors-mode/resources/float-image.jpg differ diff --git a/testing/web-platform/tests/forced-colors-mode/resources/test-image.jpg b/testing/web-platform/tests/forced-colors-mode/resources/test-image.jpg new file mode 100644 index 0000000000..93f6e196e5 Binary files /dev/null and b/testing/web-platform/tests/forced-colors-mode/resources/test-image.jpg differ -- cgit v1.2.3