From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../Highlight-iteration-with-modifications.html | 91 ++++++++++ .../css/css-highlight-api/Highlight-iteration.html | 201 +++++++++++++++++++++ .../Highlight-setlike-tampered-Set-prototype.html | 55 ++++++ .../css/css-highlight-api/Highlight-setlike.html | 106 +++++++++++ .../Highlight-type-attribute.tentative.html | 20 ++ ...lightRegistry-iteration-with-modifications.html | 109 +++++++++++ .../HighlightRegistry-iteration.html | 186 +++++++++++++++++++ ...ghtRegistry-maplike-tampered-Map-prototype.html | 61 +++++++ .../HighlightRegistry-maplike.html | 75 ++++++++ .../highlight-pseudo-computed.html | 41 +++++ .../highlight-pseudo-parsing.html | 21 +++ .../css/css-highlight-api/idlharness.window.js | 17 ++ .../custom-highlight-painting-001-ref.html | 9 + .../painting/custom-highlight-painting-001.html | 20 ++ .../custom-highlight-painting-002-ref.html | 8 + .../painting/custom-highlight-painting-002.html | 24 +++ .../custom-highlight-painting-003-ref.html | 6 + .../painting/custom-highlight-painting-003.html | 23 +++ .../custom-highlight-painting-004-2-ref.html | 16 ++ .../painting/custom-highlight-painting-004-2.html | 33 ++++ .../custom-highlight-painting-004-ref.html | 16 ++ .../painting/custom-highlight-painting-004.html | 33 ++++ .../painting/custom-highlight-painting-005.html | 20 ++ .../painting/custom-highlight-painting-006.html | 20 ++ .../painting/custom-highlight-painting-007.html | 24 +++ .../painting/custom-highlight-painting-008.html | 24 +++ .../painting/custom-highlight-painting-009.html | 30 +++ .../painting/custom-highlight-painting-010.html | 22 +++ .../painting/custom-highlight-painting-011.html | 20 ++ .../painting/custom-highlight-painting-012.html | 20 ++ .../painting/custom-highlight-painting-013.html | 20 ++ .../painting/custom-highlight-painting-014.html | 26 +++ .../painting/custom-highlight-painting-015.html | 27 +++ .../painting/custom-highlight-painting-016.html | 21 +++ .../painting/custom-highlight-painting-017.html | 27 +++ .../painting/custom-highlight-painting-018.html | 22 +++ ...ustom-highlight-painting-below-grammar-ref.html | 9 + .../custom-highlight-painting-below-grammar.html | 31 ++++ ...tom-highlight-painting-below-selection-ref.html | 16 ++ .../custom-highlight-painting-below-selection.html | 24 +++ ...m-highlight-painting-below-target-text-ref.html | 16 ++ ...ustom-highlight-painting-below-target-text.html | 23 +++ .../custom-highlight-painting-iframe-001-ref.html | 16 ++ .../custom-highlight-painting-iframe-001.html | 12 ++ .../custom-highlight-painting-iframe-002.html | 33 ++++ .../custom-highlight-painting-iframe-003-ref.html | 24 +++ .../custom-highlight-painting-iframe-003.html | 46 +++++ .../custom-highlight-painting-iframe-004-ref.html | 16 ++ .../custom-highlight-painting-iframe-004.html | 45 +++++ .../custom-highlight-painting-iframe-005-ref.html | 18 ++ .../custom-highlight-painting-iframe-005.html | 45 +++++ .../custom-highlight-painting-iframe-006-ref.html | 10 + .../custom-highlight-painting-iframe-006.html | 50 +++++ ...tom-highlight-painting-inheritance-001-ref.html | 10 + .../custom-highlight-painting-inheritance-001.html | 27 +++ .../custom-highlight-painting-inheritance-002.html | 21 +++ ...tom-highlight-painting-inheritance-003-ref.html | 10 + .../custom-highlight-painting-inheritance-003.html | 23 +++ ...custom-highlight-painting-invalidation-001.html | 27 +++ ...custom-highlight-painting-invalidation-002.html | 28 +++ ...custom-highlight-painting-invalidation-003.html | 27 +++ ...custom-highlight-painting-invalidation-004.html | 29 +++ ...custom-highlight-painting-invalidation-005.html | 37 ++++ ...custom-highlight-painting-invalidation-006.html | 30 +++ ...om-highlight-painting-invalidation-007-ref.html | 10 + ...custom-highlight-painting-invalidation-007.html | 34 ++++ ...ht-painting-overlapping-highlights-001-ref.html | 16 ++ ...hlight-painting-overlapping-highlights-001.html | 43 +++++ ...ht-painting-overlapping-highlights-002-ref.html | 17 ++ ...hlight-painting-overlapping-highlights-002.html | 53 ++++++ ...stom-highlight-painting-prioritization-001.html | 28 +++ ...stom-highlight-painting-prioritization-002.html | 27 +++ ...tom-highlight-painting-staticrange-001-ref.html | 3 + .../custom-highlight-painting-staticrange-001.html | 22 +++ .../custom-highlight-painting-staticrange-002.html | 21 +++ .../custom-highlight-painting-staticrange-003.html | 18 ++ ...highlight-painting-text-decoration-001-ref.html | 29 +++ ...tom-highlight-painting-text-decoration-001.html | 35 ++++ ...t-painting-text-decoration-dynamic-001-ref.html | 16 ++ ...light-painting-text-decoration-dynamic-001.html | 27 +++ ...m-highlight-painting-text-shadow.tentative.html | 21 +++ .../painting/resources/iframe-code.html | 13 ++ .../resources/run-after-layout-and-paint.js | 11 ++ 83 files changed, 2641 insertions(+) create mode 100644 testing/web-platform/tests/css/css-highlight-api/Highlight-iteration-with-modifications.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/Highlight-iteration.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/Highlight-setlike-tampered-Set-prototype.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/Highlight-setlike.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/Highlight-type-attribute.tentative.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/HighlightRegistry-iteration-with-modifications.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/HighlightRegistry-iteration.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/HighlightRegistry-maplike-tampered-Map-prototype.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/HighlightRegistry-maplike.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/highlight-pseudo-computed.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/highlight-pseudo-parsing.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/idlharness.window.js create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-001-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-001.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-002-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-002.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-003-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-003.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-004-2-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-004-2.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-004-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-004.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-005.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-006.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-007.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-008.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-009.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-010.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-011.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-012.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-013.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-014.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-015.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-016.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-017.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-018.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-grammar-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-grammar.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-selection-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-selection.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-target-text-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-target-text.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-001-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-001.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-002.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-003-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-003.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-004-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-004.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-005-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-005.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-006-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-006.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-001-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-001.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-002.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-003-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-003.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-001.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-002.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-003.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-004.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-005.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-006.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-007-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-007.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-001-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-001.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-002-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-002.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-prioritization-001.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-prioritization-002.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-staticrange-001-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-staticrange-001.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-staticrange-002.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-staticrange-003.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-decoration-001-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-decoration-001.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-decoration-dynamic-001-ref.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-decoration-dynamic-001.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-shadow.tentative.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/resources/iframe-code.html create mode 100644 testing/web-platform/tests/css/css-highlight-api/painting/resources/run-after-layout-and-paint.js (limited to 'testing/web-platform/tests/css/css-highlight-api') diff --git a/testing/web-platform/tests/css/css-highlight-api/Highlight-iteration-with-modifications.html b/testing/web-platform/tests/css/css-highlight-api/Highlight-iteration-with-modifications.html new file mode 100644 index 0000000000..b1f0fb10ee --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/Highlight-iteration-with-modifications.html @@ -0,0 +1,91 @@ + +Highlight iteration with insertions and deletions inbetween + + + +
abc
+ diff --git a/testing/web-platform/tests/css/css-highlight-api/Highlight-iteration.html b/testing/web-platform/tests/css/css-highlight-api/Highlight-iteration.html new file mode 100644 index 0000000000..f3268b49cd --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/Highlight-iteration.html @@ -0,0 +1,201 @@ + +Highlight iteration + + + +
abc
+ diff --git a/testing/web-platform/tests/css/css-highlight-api/Highlight-setlike-tampered-Set-prototype.html b/testing/web-platform/tests/css/css-highlight-api/Highlight-setlike-tampered-Set-prototype.html new file mode 100644 index 0000000000..4c23f4850c --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/Highlight-setlike-tampered-Set-prototype.html @@ -0,0 +1,55 @@ + +Highlight is a setlike interface that works as expected even if Set.prototype is tampered + + + + + + diff --git a/testing/web-platform/tests/css/css-highlight-api/Highlight-setlike.html b/testing/web-platform/tests/css/css-highlight-api/Highlight-setlike.html new file mode 100644 index 0000000000..0093f9be23 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/Highlight-setlike.html @@ -0,0 +1,106 @@ + + Highlight has a setlike interface + + + +
abc
+ diff --git a/testing/web-platform/tests/css/css-highlight-api/Highlight-type-attribute.tentative.html b/testing/web-platform/tests/css/css-highlight-api/Highlight-type-attribute.tentative.html new file mode 100644 index 0000000000..97e3aaa3ca --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/Highlight-type-attribute.tentative.html @@ -0,0 +1,20 @@ + + Highlight type attribute tests + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/HighlightRegistry-iteration-with-modifications.html b/testing/web-platform/tests/css/css-highlight-api/HighlightRegistry-iteration-with-modifications.html new file mode 100644 index 0000000000..7e1a0c08f3 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/HighlightRegistry-iteration-with-modifications.html @@ -0,0 +1,109 @@ + +HighlightRegistry iteration with insertions and deletions inbetween + + + + diff --git a/testing/web-platform/tests/css/css-highlight-api/HighlightRegistry-iteration.html b/testing/web-platform/tests/css/css-highlight-api/HighlightRegistry-iteration.html new file mode 100644 index 0000000000..b1bc1afecb --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/HighlightRegistry-iteration.html @@ -0,0 +1,186 @@ + +HighlightRegistry iteration + + + + diff --git a/testing/web-platform/tests/css/css-highlight-api/HighlightRegistry-maplike-tampered-Map-prototype.html b/testing/web-platform/tests/css/css-highlight-api/HighlightRegistry-maplike-tampered-Map-prototype.html new file mode 100644 index 0000000000..3b38bd8f16 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/HighlightRegistry-maplike-tampered-Map-prototype.html @@ -0,0 +1,61 @@ + +HighlightRegistry is a maplike interface that works as expected even if Map.prototype is tampered + + + + + + diff --git a/testing/web-platform/tests/css/css-highlight-api/HighlightRegistry-maplike.html b/testing/web-platform/tests/css/css-highlight-api/HighlightRegistry-maplike.html new file mode 100644 index 0000000000..d8bbe4731f --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/HighlightRegistry-maplike.html @@ -0,0 +1,75 @@ + +HighlightRegistry has a maplike interface + + + + diff --git a/testing/web-platform/tests/css/css-highlight-api/highlight-pseudo-computed.html b/testing/web-platform/tests/css/css-highlight-api/highlight-pseudo-computed.html new file mode 100644 index 0000000000..e50f1801b0 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/highlight-pseudo-computed.html @@ -0,0 +1,41 @@ + + +CSS ::highlight Pseudo-Element Test: ::highlight selector getComputedStyle + + + + +
+ diff --git a/testing/web-platform/tests/css/css-highlight-api/highlight-pseudo-parsing.html b/testing/web-platform/tests/css/css-highlight-api/highlight-pseudo-parsing.html new file mode 100644 index 0000000000..c6d999efdf --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/highlight-pseudo-parsing.html @@ -0,0 +1,21 @@ + + +CSS ::highlight Pseudo-Element Test: ::highlight selector parsing + + + + + diff --git a/testing/web-platform/tests/css/css-highlight-api/idlharness.window.js b/testing/web-platform/tests/css/css-highlight-api/idlharness.window.js new file mode 100644 index 0000000000..7e9f3c4404 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/idlharness.window.js @@ -0,0 +1,17 @@ +// META: script=/resources/WebIDLParser.js +// META: script=/resources/idlharness.js + +// https://drafts.csswg.org/css-highlight-api-1/ + +'use strict'; + +idl_test( + ['css-highlight-api'], + ['cssom'], + idl_array => { + idl_array.add_objects({ + Highlight: ['new Highlight(new Range())'], + HighlightRegistry: ['CSS.highlights'], + }); + } +); diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-001-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-001-ref.html new file mode 100644 index 0000000000..b058789f6d --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-001-ref.html @@ -0,0 +1,9 @@ + + + +One two three… diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-001.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-001.html new file mode 100644 index 0000000000..82b61ec6de --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-001.html @@ -0,0 +1,20 @@ + + +CSS Highlight API Test: + + + + +One two three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-002-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-002-ref.html new file mode 100644 index 0000000000..d063bbd497 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-002-ref.html @@ -0,0 +1,8 @@ + + + +
abc
diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-002.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-002.html new file mode 100644 index 0000000000..04b7dadbf8 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-002.html @@ -0,0 +1,24 @@ + + +CSS Highlight API Test: + + + + +
abc
+ diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-003-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-003-ref.html new file mode 100644 index 0000000000..b2dccfa59f --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-003-ref.html @@ -0,0 +1,6 @@ + + + +Lorem Ipsum. \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-003.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-003.html new file mode 100644 index 0000000000..210f1a230f --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-003.html @@ -0,0 +1,23 @@ + + +CSS Highlight API Test: + + + + +Lorem Ipsum. + diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-004-2-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-004-2-ref.html new file mode 100644 index 0000000000..4ad1de63df --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-004-2-ref.html @@ -0,0 +1,16 @@ + + + +Some text \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-004-2.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-004-2.html new file mode 100644 index 0000000000..044cdb5d64 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-004-2.html @@ -0,0 +1,33 @@ + + +CSS Highlight API Test: + + + + +Some text + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-004-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-004-ref.html new file mode 100644 index 0000000000..8cb5b69d98 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-004-ref.html @@ -0,0 +1,16 @@ + + + +Some text \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-004.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-004.html new file mode 100644 index 0000000000..b67c30b709 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-004.html @@ -0,0 +1,33 @@ + + +CSS Highlight API Test: + + + + +Some text + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-005.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-005.html new file mode 100644 index 0000000000..f9b728c9c5 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-005.html @@ -0,0 +1,20 @@ + + +CSS Highlight API Test: + + + + +One two three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-006.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-006.html new file mode 100644 index 0000000000..b4369dcacc --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-006.html @@ -0,0 +1,20 @@ + + +CSS Highlight API Test: + + + + +One two three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-007.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-007.html new file mode 100644 index 0000000000..6cfdac2c7e --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-007.html @@ -0,0 +1,24 @@ + + +CSS Highlight API Test: + + + + +One two three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-008.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-008.html new file mode 100644 index 0000000000..3da1d82ce3 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-008.html @@ -0,0 +1,24 @@ + + +CSS Highlight API Test: + + + + +One two three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-009.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-009.html new file mode 100644 index 0000000000..cee2394d62 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-009.html @@ -0,0 +1,30 @@ + + +CSS Highlight API Test: + + + + +One two three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-010.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-010.html new file mode 100644 index 0000000000..cdd2daf85c --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-010.html @@ -0,0 +1,22 @@ + + +CSS Highlight API Test: + + + + +two three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-011.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-011.html new file mode 100644 index 0000000000..5eef8508b6 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-011.html @@ -0,0 +1,20 @@ + + +CSS Highlight API Test: + + + + +One two two-point-five three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-012.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-012.html new file mode 100644 index 0000000000..cc8bb62e1e --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-012.html @@ -0,0 +1,20 @@ + + +CSS Highlight API Test: + + + + +Zero two three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-013.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-013.html new file mode 100644 index 0000000000..021f1cb19f --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-013.html @@ -0,0 +1,20 @@ + + +CSS Highlight API Test: + + + + +One two-point-five three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-014.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-014.html new file mode 100644 index 0000000000..5313fe0954 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-014.html @@ -0,0 +1,26 @@ + + +CSS Highlight API Test: + + + + +One two three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-015.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-015.html new file mode 100644 index 0000000000..62ce114dfa --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-015.html @@ -0,0 +1,27 @@ + + +CSS Highlight API Test: + + + + +One two three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-016.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-016.html new file mode 100644 index 0000000000..58b580e6b7 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-016.html @@ -0,0 +1,21 @@ + + +CSS Highlight API Test: Painting + + + + +One two three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-017.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-017.html new file mode 100644 index 0000000000..c3184a986a --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-017.html @@ -0,0 +1,27 @@ + + +CSS Highlight API Test: ::highlight color with transparent originating color + + + + + + + +

Test passes if there is the word "PASS" below.

+
PASS
+ + diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-018.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-018.html new file mode 100644 index 0000000000..95bef09bbe --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-018.html @@ -0,0 +1,22 @@ + + +CSS Highlight API Test: Range across contain boundary is painted + + + + +One two three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-grammar-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-grammar-ref.html new file mode 100644 index 0000000000..d660daf7c7 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-grammar-ref.html @@ -0,0 +1,9 @@ + + + +Many thing can happen. \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-grammar.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-grammar.html new file mode 100644 index 0000000000..93d2560040 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-grammar.html @@ -0,0 +1,31 @@ + + +CSS Highlight API Test: + + + + + +Many thing can happen. + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-selection-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-selection-ref.html new file mode 100644 index 0000000000..5c7bd9361b --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-selection-ref.html @@ -0,0 +1,16 @@ + + + +Text should be blue over cyan here and cyan over blue here. + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-selection.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-selection.html new file mode 100644 index 0000000000..cd5ad36a69 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-selection.html @@ -0,0 +1,24 @@ + + +CSS Highlight API Test: + + + + +Text should be blue over cyan here and cyan over blue here. + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-target-text-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-target-text-ref.html new file mode 100644 index 0000000000..70d6926364 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-target-text-ref.html @@ -0,0 +1,16 @@ + + + +Some text \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-target-text.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-target-text.html new file mode 100644 index 0000000000..e55ce783de --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-below-target-text.html @@ -0,0 +1,23 @@ + + +CSS Highlight API Test: + + + + +Some text + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-001-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-001-ref.html new file mode 100644 index 0000000000..aa8915c1d7 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-001-ref.html @@ -0,0 +1,16 @@ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-001.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-001.html new file mode 100644 index 0000000000..240c112c5d --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-001.html @@ -0,0 +1,12 @@ + + +CSS Highlight API Test: + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-002.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-002.html new file mode 100644 index 0000000000..388457f9cb --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-002.html @@ -0,0 +1,33 @@ + + +CSS Highlight API Test: + + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-003-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-003-ref.html new file mode 100644 index 0000000000..9d80a9f005 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-003-ref.html @@ -0,0 +1,24 @@ + + + + + +
+abc \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-003.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-003.html new file mode 100644 index 0000000000..8614d35ed6 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-003.html @@ -0,0 +1,46 @@ + + +CSS Highlight API Test: + + + + + + +
+abc + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-004-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-004-ref.html new file mode 100644 index 0000000000..622ea40c80 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-004-ref.html @@ -0,0 +1,16 @@ + + + + + +
+abc \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-004.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-004.html new file mode 100644 index 0000000000..d13d75a561 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-004.html @@ -0,0 +1,45 @@ + + +CSS Highlight API Test: + + + + + + +
+abc + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-005-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-005-ref.html new file mode 100644 index 0000000000..7a492e32c0 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-005-ref.html @@ -0,0 +1,18 @@ + + + + +
+abc \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-005.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-005.html new file mode 100644 index 0000000000..d31590c639 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-005.html @@ -0,0 +1,45 @@ + + +CSS Highlight API Test: + + + + + + +
+abc + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-006-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-006-ref.html new file mode 100644 index 0000000000..f5a871d0fe --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-006-ref.html @@ -0,0 +1,10 @@ + + + + +
+abc \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-006.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-006.html new file mode 100644 index 0000000000..2b1e88e659 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-iframe-006.html @@ -0,0 +1,50 @@ + + + +CSS Highlight API Test: + + + + + + + +
+abc + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-001-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-001-ref.html new file mode 100644 index 0000000000..0d5385287c --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-001-ref.html @@ -0,0 +1,10 @@ + + + + +
There should be only one green rectangle below from [ to ]:
+
[         ]
\ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-001.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-001.html new file mode 100644 index 0000000000..eb5e5e1181 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-001.html @@ -0,0 +1,27 @@ + + +CSS Highlight API Test: Inheritance + + + + + +
There should be only one green rectangle below from [ to ]:
+
[         ]
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-002.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-002.html new file mode 100644 index 0000000000..fbed69392c --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-002.html @@ -0,0 +1,21 @@ + + +CSS Highlight API Test: Inheritance + + + + + +
There should be only one green rectangle below from [ to ]:
+
[         ]
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-003-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-003-ref.html new file mode 100644 index 0000000000..cdab7615e4 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-003-ref.html @@ -0,0 +1,10 @@ + + + + +
foobar
+ diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-003.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-003.html new file mode 100644 index 0000000000..e449ebf334 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-inheritance-003.html @@ -0,0 +1,23 @@ + + +CSS Highlight API Test: Inheritance + + + + + +
foobar
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-001.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-001.html new file mode 100644 index 0000000000..aef391ec0f --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-001.html @@ -0,0 +1,27 @@ + + + +CSS Highlight API Test: + + + + + +One two three… + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-002.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-002.html new file mode 100644 index 0000000000..99271ff7a0 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-002.html @@ -0,0 +1,28 @@ + + + +CSS Highlight API Test: + + + + + +One two three… + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-003.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-003.html new file mode 100644 index 0000000000..d1f8722388 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-003.html @@ -0,0 +1,27 @@ + + + +CSS Highlight API Test: + + + + + +One two three… + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-004.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-004.html new file mode 100644 index 0000000000..62f05a84ab --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-004.html @@ -0,0 +1,29 @@ + + + +CSS Highlight API Test: + + + + + +One two three… + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-005.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-005.html new file mode 100644 index 0000000000..cabc4c3b9c --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-005.html @@ -0,0 +1,37 @@ + + + +CSS Highlight API Test: + + + + + +One two three… + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-006.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-006.html new file mode 100644 index 0000000000..81c2298e13 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-006.html @@ -0,0 +1,30 @@ + + + +CSS Highlight API Test: + + + + + +two three… + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-007-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-007-ref.html new file mode 100644 index 0000000000..88f3d0f3d6 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-007-ref.html @@ -0,0 +1,10 @@ + + + + + Hello + diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-007.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-007.html new file mode 100644 index 0000000000..f23a869728 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-invalidation-007.html @@ -0,0 +1,34 @@ + + + +CSS Highlight API Test: CSS Rule change + + + + + + + Hello + + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-001-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-001-ref.html new file mode 100644 index 0000000000..3c08ad55ae --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-001-ref.html @@ -0,0 +1,16 @@ + + + +This should have 'highlight1' style (red).This should have 'highlight2' style (green). \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-001.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-001.html new file mode 100644 index 0000000000..0b380574bc --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-001.html @@ -0,0 +1,43 @@ + + +CSS Highlight API Test: Overlapping Highlights + + + + +This should have 'highlight1' style (red).This should have 'highlight2' style (green). + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-002-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-002-ref.html new file mode 100644 index 0000000000..2907681b75 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-002-ref.html @@ -0,0 +1,17 @@ + + + +
Green on lime.Red on maroon.
\ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-002.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-002.html new file mode 100644 index 0000000000..2dda273abf --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-002.html @@ -0,0 +1,53 @@ + + +CSS Highlight API Test: Overlapping Highlights + + + + +
Green on lime.Red on maroon.
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-prioritization-001.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-prioritization-001.html new file mode 100644 index 0000000000..cc2a53be54 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-prioritization-001.html @@ -0,0 +1,28 @@ + + +CSS Highlight API Test: + + + + +One two three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-prioritization-002.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-prioritization-002.html new file mode 100644 index 0000000000..756368a8e6 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-prioritization-002.html @@ -0,0 +1,27 @@ + + +CSS Highlight API Test: + + + + +One two three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-staticrange-001-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-staticrange-001-ref.html new file mode 100644 index 0000000000..a89d86dc81 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-staticrange-001-ref.html @@ -0,0 +1,3 @@ + + +One two three… diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-staticrange-001.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-staticrange-001.html new file mode 100644 index 0000000000..ee81bb89d7 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-staticrange-001.html @@ -0,0 +1,22 @@ + + +CSS Highlight API Test: Invalid StaticRanges are not painted + + + + +One two three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-staticrange-002.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-staticrange-002.html new file mode 100644 index 0000000000..43a0b06c35 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-staticrange-002.html @@ -0,0 +1,21 @@ + + +CSS Highlight API Test: StaticRange across contain boundary is painted + + + + +One two three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-staticrange-003.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-staticrange-003.html new file mode 100644 index 0000000000..11de279fd6 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-staticrange-003.html @@ -0,0 +1,18 @@ + + +CSS Highlight API Test: + + + + +One one-point-five two three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-decoration-001-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-decoration-001-ref.html new file mode 100644 index 0000000000..568e5f9321 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-decoration-001-ref.html @@ -0,0 +1,29 @@ + + +CSS Highlight API Test: Reference ::highlight painting text-decoration + +

The test passes if it matches the reference file.

+ diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-decoration-001.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-decoration-001.html new file mode 100644 index 0000000000..df6e5dd32c --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-decoration-001.html @@ -0,0 +1,35 @@ + + +CSS Highlight API Test: ::highlight painting text-decoration + + + + +

The test passes if it matches the reference file.

+ diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-decoration-dynamic-001-ref.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-decoration-dynamic-001-ref.html new file mode 100644 index 0000000000..3a713aa844 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-decoration-dynamic-001-ref.html @@ -0,0 +1,16 @@ + + +CSS Highlight API Test: Reference ::highlight dynamic change text-decoration + +

The test passes if it line below has a green underline.

+
target
+ diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-decoration-dynamic-001.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-decoration-dynamic-001.html new file mode 100644 index 0000000000..050c7c77ce --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-decoration-dynamic-001.html @@ -0,0 +1,27 @@ + + + +CSS Highlight API Test: ::highlight dynamic change text-decoration + + + + + +

The test passes if it line below has a green underline.

+
target
+ + diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-shadow.tentative.html b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-shadow.tentative.html new file mode 100644 index 0000000000..b0952dfb9b --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/custom-highlight-painting-text-shadow.tentative.html @@ -0,0 +1,21 @@ + + +CSS Highlight API Test: text-decoration + + + + +One two three… + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/resources/iframe-code.html b/testing/web-platform/tests/css/css-highlight-api/painting/resources/iframe-code.html new file mode 100644 index 0000000000..a4a1829be2 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/resources/iframe-code.html @@ -0,0 +1,13 @@ + +abc + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-highlight-api/painting/resources/run-after-layout-and-paint.js b/testing/web-platform/tests/css/css-highlight-api/painting/resources/run-after-layout-and-paint.js new file mode 100644 index 0000000000..75d3e279a4 --- /dev/null +++ b/testing/web-platform/tests/css/css-highlight-api/painting/resources/run-after-layout-and-paint.js @@ -0,0 +1,11 @@ +// This is inspired in runAfterLayoutAndPaint() from +// third_party/blink/web_tests/resources/run-after-layout-and-paint.js. +function runAfterLayoutAndPaint(callback) { + // See http://crrev.com/c/1395193/10/third_party/blink/web_tests/http/tests/resources/run-after-layout-and-paint.js + // for more discussions. + requestAnimationFrame(function() { + requestAnimationFrame(function() { + callback(); + }); + }); +} \ No newline at end of file -- cgit v1.2.3