From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../cssom/CSS-namespace-object-class-string.html | 47 ++ .../css/cssom/CSSConditionRule-conditionText.html | 23 + .../css/cssom/CSSContainerRule.tentative.html | 35 + .../tests/css/cssom/CSSCounterStyleRule.html | 21 + .../tests/css/cssom/CSSFontFaceRule.html | 21 + .../tests/css/cssom/CSSFontFeatureValuesRule.html | 192 +++++ .../tests/css/cssom/CSSGroupingRule-cssRules.html | 54 ++ .../css/cssom/CSSGroupingRule-insertRule.html | 118 +++ .../tests/css/cssom/CSSKeyframeRule.html | 52 ++ .../tests/css/cssom/CSSKeyframesRule.html | 85 +++ .../tests/css/cssom/CSSNamespaceRule.html | 32 + .../web-platform/tests/css/cssom/CSSRuleList.html | 27 + .../CSSStyleRule-set-selectorText-namespace.html | 60 ++ .../css/cssom/CSSStyleRule-set-selectorText.html | 158 ++++ .../web-platform/tests/css/cssom/CSSStyleRule.html | 113 +++ ...StyleSheet-constructable-baseURL.tentative.html | 66 ++ .../CSSStyleSheet-constructable-concat-ref.html | 12 + .../cssom/CSSStyleSheet-constructable-concat.html | 28 + .../CSSStyleSheet-constructable-cssRules.html | 22 + ...tructable-disabled-regular-sheet-insertion.html | 22 + ...et-constructable-disallow-import.tentative.html | 83 +++ .../CSSStyleSheet-constructable-duplicate.html | 84 +++ ...eet-constructable-replace-on-regular-sheet.html | 42 ++ .../css/cssom/CSSStyleSheet-constructable.html | 801 +++++++++++++++++++++ .../cssom/CSSStyleSheet-modify-after-removal.html | 29 + .../css/cssom/CSSStyleSheet-template-adoption.html | 58 ++ .../tests/css/cssom/CSSStyleSheet.html | 132 ++++ .../css/cssom/HTMLLinkElement-disabled-001.html | 44 ++ .../css/cssom/HTMLLinkElement-disabled-002.html | 37 + .../css/cssom/HTMLLinkElement-disabled-003.html | 31 + .../css/cssom/HTMLLinkElement-disabled-004.html | 39 + .../css/cssom/HTMLLinkElement-disabled-005.html | 26 + .../css/cssom/HTMLLinkElement-disabled-006.html | 25 + .../css/cssom/HTMLLinkElement-disabled-007.html | 26 + .../HTMLLinkElement-disabled-alternate-ref.html | 7 + .../cssom/HTMLLinkElement-disabled-alternate.html | 14 + testing/web-platform/tests/css/cssom/META.yml | 5 + .../web-platform/tests/css/cssom/MediaList.html | 55 ++ .../web-platform/tests/css/cssom/MediaList2.xhtml | 45 ++ .../tests/css/cssom/MutationObserver-style.html | 43 ++ .../tests/css/cssom/StyleSheetList.html | 34 + .../cssom/adoptedstylesheets-observablearray.html | 92 +++ .../web-platform/tests/css/cssom/at-namespace.html | 29 + testing/web-platform/tests/css/cssom/base-uri.html | 55 ++ .../css/cssom/border-shorthand-serialization.html | 42 ++ ...caretPositionFromPoint-with-transformation.html | 46 ++ .../tests/css/cssom/computed-style-001.html | 66 ++ .../tests/css/cssom/computed-style-002.html | 17 + .../tests/css/cssom/computed-style-003.html | 20 + .../tests/css/cssom/computed-style-004.html | 29 + .../tests/css/cssom/computed-style-005.html | 64 ++ .../css/cssom/computed-style-set-property.html | 36 + .../tests/css/cssom/css-style-attr-decl-block.html | 148 ++++ .../cssom/css-style-attribute-modifications.html | 16 + .../cssom/css-style-declaration-modifications.html | 71 ++ .../tests/css/cssom/css-style-reparse.html | 59 ++ .../tests/css/cssom/cssimportrule-parent.html | 20 + .../css/cssom/cssimportrule-sheet-identity.html | 24 + .../tests/css/cssom/cssimportrule.html | 122 ++++ .../tests/css/cssom/cssom-cssText-serialize.html | 28 + .../css/cssom/cssom-cssstyledeclaration-set.html | 37 + .../css/cssom/cssom-fontfacerule-constructors.html | 63 ++ .../tests/css/cssom/cssom-fontfacerule.html | 58 ++ .../cssom-getPropertyValue-common-checks.html | 223 ++++++ .../tests/css/cssom/cssom-pagerule.html | 43 ++ .../tests/css/cssom/cssom-ruleTypeAndOrder.html | 75 ++ .../css/cssom/cssom-setProperty-shorthand.html | 77 ++ .../cssstyledeclaration-cssfontrule.tentative.html | 27 + .../cssstyledeclaration-csstext-all-shorthand.html | 38 + ...ssstyledeclaration-csstext-final-delimiter.html | 32 + .../cssstyledeclaration-csstext-important.html | 12 + .../css/cssom/cssstyledeclaration-csstext.html | 126 ++++ .../cssstyledeclaration-custom-properties.html | 19 + .../css/cssom/cssstyledeclaration-mutability.html | 69 ++ .../cssstyledeclaration-mutationrecord-001.html | 20 + .../cssstyledeclaration-mutationrecord-002.html | 15 + .../cssstyledeclaration-mutationrecord-003.html | 16 + .../cssstyledeclaration-mutationrecord-004.html | 16 + .../cssstyledeclaration-mutationrecord-005.html | 16 + .../css/cssom/cssstyledeclaration-properties.html | 15 + ...ledeclaration-registered-custom-properties.html | 58 ++ .../css/cssom/cssstyledeclaration-setter-attr.html | 18 + .../cssstyledeclaration-setter-declarations.html | 160 ++++ .../cssstyledeclaration-setter-form-controls.html | 103 +++ .../cssom/cssstyledeclaration-setter-logical.html | 73 ++ .../css/cssom/declaration-block-all-crash.html | 10 + testing/web-platform/tests/css/cssom/escape.html | 102 +++ .../tests/css/cssom/flex-serialization.html | 36 + .../css/cssom/font-family-serialization-001.html | 44 ++ .../css/cssom/font-shorthand-serialization.html | 17 + .../font-variant-shorthand-serialization.html | 131 ++++ ...tedStyle-animations-replaced-into-ib-split.html | 34 + .../cssom/getComputedStyle-detached-subtree.html | 49 ++ .../cssom/getComputedStyle-display-none-001.html | 39 + .../cssom/getComputedStyle-display-none-002.html | 34 + .../cssom/getComputedStyle-display-none-003.html | 26 + .../css/cssom/getComputedStyle-dynamic-subdoc.html | 33 + ...omputedStyle-getter-v-properties.tentative.html | 34 + .../cssom/getComputedStyle-insets-absolute.html | 21 + .../css/cssom/getComputedStyle-insets-fixed.html | 21 + .../css/cssom/getComputedStyle-insets-nobox.html | 18 + .../cssom/getComputedStyle-insets-relative.html | 19 + .../css/cssom/getComputedStyle-insets-static.html | 19 + ...edStyle-insets-sticky-container-for-abspos.html | 26 + .../css/cssom/getComputedStyle-insets-sticky.html | 22 + ...dStyle-layout-dependent-removed-ib-sibling.html | 30 + ...le-layout-dependent-replaced-into-ib-split.html | 30 + .../css/cssom/getComputedStyle-line-height.html | 23 + .../getComputedStyle-logical-enumeration.html | 27 + .../css/cssom/getComputedStyle-property-order.html | 26 + .../tests/css/cssom/getComputedStyle-pseudo.html | 153 ++++ .../cssom/getComputedStyle-resolved-colors.html | 42 ++ ...getComputedStyle-resolved-min-max-clamping.html | 38 + .../cssom/getComputedStyle-sticky-pos-percent.html | 22 + .../getComputedStyle-width-scroll.tentative.html | 26 + .../web-platform/tests/css/cssom/historical.html | 58 ++ .../web-platform/tests/css/cssom/idlharness.html | 77 ++ .../tests/css/cssom/inline-style-001.html | 78 ++ .../tests/css/cssom/insertRule-across-context.html | 32 + .../css/cssom/insertRule-charset-no-index.html | 32 + .../css/cssom/insertRule-from-script-ref.html | 6 + .../tests/css/cssom/insertRule-from-script.html | 12 + .../css/cssom/insertRule-import-no-index.html | 33 + .../css/cssom/insertRule-namespace-no-index.html | 40 + .../tests/css/cssom/insertRule-no-index.html | 35 + .../css/cssom/insertRule-syntax-error-01.html | 14 + .../tests/css/cssom/medialist-dynamic-001-ref.html | 5 + .../tests/css/cssom/medialist-dynamic-001.html | 12 + .../tests/css/cssom/medialist-interfaces-001.html | 83 +++ .../tests/css/cssom/medialist-interfaces-002.html | 71 ++ .../tests/css/cssom/medialist-interfaces-004.html | 64 ++ .../tests/css/cssom/mediaquery-sort-dedup.html | 16 + .../tests/css/cssom/overflow-serialization.html | 61 ++ .../tests/css/cssom/page-descriptors.html | 40 + .../css/cssom/preferred-stylesheet-order.html | 22 + .../cssom/preferred-stylesheet-reversed-order.html | 22 + .../tests/css/cssom/property-accessors.html | 64 ++ .../css/cssom/removerule-invalidation-crash.html | 16 + .../tests/css/cssom/rule-restrictions.html | 51 ++ .../tests/css/cssom/selectorSerialize.html | 121 ++++ .../selectorText-modification-restyle-001-ref.html | 13 + .../selectorText-modification-restyle-001.html | 22 + .../selectorText-modification-restyle-002.html | 31 + ...erialization-CSSDeclaration-with-important.html | 32 + .../tests/css/cssom/serialize-all-longhands.html | 36 + .../tests/css/cssom/serialize-custom-props.html | 69 ++ .../tests/css/cssom/serialize-media-rule.html | 185 +++++ .../cssom/serialize-namespaced-type-selectors.html | 257 +++++++ .../tests/css/cssom/serialize-values.html | 620 ++++++++++++++++ .../css/cssom/serialize-variable-reference.html | 36 + .../css/cssom/setproperty-null-undefined.html | 47 ++ .../tests/css/cssom/shorthand-serialization.html | 86 +++ .../tests/css/cssom/shorthand-values.html | 51 ++ .../cssom/style-attr-update-across-documents.html | 48 ++ .../css/cssom/style-sheet-interfaces-001.html | 140 ++++ .../css/cssom/style-sheet-interfaces-002.html | 40 + .../cssom/stylesheet-replacedata-dynamic-ref.html | 7 + .../css/cssom/stylesheet-replacedata-dynamic.html | 12 + .../tests/css/cssom/stylesheet-same-origin.css | 3 + .../css/cssom/stylesheet-same-origin.sub.html | 83 +++ .../tests/css/cssom/stylesheet-title.html | 39 + .../tests/css/cssom/support/1x1-green.png | Bin 0 -> 135 bytes .../tests/css/cssom/support/1x1-lime.png | Bin 0 -> 135 bytes .../tests/css/cssom/support/1x1-maroon.png | Bin 0 -> 109 bytes .../tests/css/cssom/support/1x1-navy.png | Bin 0 -> 109 bytes .../tests/css/cssom/support/1x1-red.png | Bin 0 -> 135 bytes .../tests/css/cssom/support/1x1-white.png | Bin 0 -> 109 bytes .../tests/css/cssom/support/60x60-gg-rr.png | Bin 0 -> 224 bytes .../tests/css/cssom/support/60x60-green.png | Bin 0 -> 218 bytes .../web-platform/tests/css/cssom/support/README | 28 + .../tests/css/cssom/support/a-green.css | 1 + .../tests/css/cssom/support/b-green.css | 1 + .../web-platform/tests/css/cssom/support/black.css | 4 + .../web-platform/tests/css/cssom/support/c-red.css | 1 + .../web-platform/tests/css/cssom/support/cat.png | Bin 0 -> 1883 bytes .../css/cssom/support/constructable-import.css | 3 + .../css/cssom/support/getComputedStyle-insets.js | 375 ++++++++++ .../tests/css/cssom/support/import-charset.css | 1 + .../tests/css/cssom/support/import-green.css | 1 + .../tests/css/cssom/support/import-red.css | 1 + .../tests/css/cssom/support/import-rule.css | 1 + .../css/cssom/support/malformed-http-response.asis | 1 + .../css/cssom/support/pattern-grg-rgr-grg.png | Bin 0 -> 222 bytes .../css/cssom/support/pattern-grg-rrg-rgg.png | Bin 0 -> 231 bytes .../css/cssom/support/pattern-rgr-grg-rgr.png | Bin 0 -> 223 bytes .../tests/css/cssom/support/pattern-tr.png | Bin 0 -> 137 bytes .../tests/css/cssom/support/ruler-h-50%.png | Bin 0 -> 691 bytes .../tests/css/cssom/support/ruler-h-50px.png | Bin 0 -> 671 bytes .../tests/css/cssom/support/ruler-v-100px.png | Bin 0 -> 760 bytes .../tests/css/cssom/support/ruler-v-50px.png | Bin 0 -> 757 bytes .../tests/css/cssom/support/square-purple.png | Bin 0 -> 92 bytes .../tests/css/cssom/support/square-teal.png | Bin 0 -> 92 bytes .../tests/css/cssom/support/square-white.png | Bin 0 -> 78 bytes .../tests/css/cssom/support/support/README | 4 + .../css/cssom/support/support/swatch-green.png | Bin 0 -> 84 bytes .../tests/css/cssom/support/support/swatch-red.png | Bin 0 -> 84 bytes .../tests/css/cssom/support/swatch-blue.png | Bin 0 -> 84 bytes .../tests/css/cssom/support/swatch-green.png | Bin 0 -> 84 bytes .../tests/css/cssom/support/swatch-lime.png | Bin 0 -> 84 bytes .../tests/css/cssom/support/swatch-orange.png | Bin 0 -> 84 bytes .../tests/css/cssom/support/swatch-red.png | Bin 0 -> 84 bytes .../tests/css/cssom/support/swatch-teal.png | Bin 0 -> 156 bytes .../tests/css/cssom/support/swatch-white.png | Bin 0 -> 85 bytes .../tests/css/cssom/support/swatch-yellow.png | Bin 0 -> 84 bytes .../tests/css/cssom/support/test-bl.png | Bin 0 -> 1368 bytes .../tests/css/cssom/support/test-br.png | Bin 0 -> 1045 bytes .../css/cssom/support/test-inner-half-size.png | Bin 0 -> 180 bytes .../tests/css/cssom/support/test-outer.png | Bin 0 -> 2412 bytes .../tests/css/cssom/support/test-tl.png | Bin 0 -> 1025 bytes .../tests/css/cssom/support/test-tr.png | Bin 0 -> 1235 bytes .../tests/css/cssom/support/xmlss-pi.xhtml | 1 + .../css/cssom/ttwf-cssom-doc-ext-load-count.html | 61 ++ .../cssom/ttwf-cssom-doc-ext-load-tree-order.html | 56 ++ .../css/cssom/ttwf-cssom-document-extension.html | 25 + .../tests/css/cssom/variable-names.html | 48 ++ .../css/cssom/xml-stylesheet-pi-in-doctype.xhtml | 17 + 216 files changed, 9945 insertions(+) create mode 100644 testing/web-platform/tests/css/cssom/CSS-namespace-object-class-string.html create mode 100644 testing/web-platform/tests/css/cssom/CSSConditionRule-conditionText.html create mode 100644 testing/web-platform/tests/css/cssom/CSSContainerRule.tentative.html create mode 100644 testing/web-platform/tests/css/cssom/CSSCounterStyleRule.html create mode 100644 testing/web-platform/tests/css/cssom/CSSFontFaceRule.html create mode 100644 testing/web-platform/tests/css/cssom/CSSFontFeatureValuesRule.html create mode 100644 testing/web-platform/tests/css/cssom/CSSGroupingRule-cssRules.html create mode 100644 testing/web-platform/tests/css/cssom/CSSGroupingRule-insertRule.html create mode 100644 testing/web-platform/tests/css/cssom/CSSKeyframeRule.html create mode 100644 testing/web-platform/tests/css/cssom/CSSKeyframesRule.html create mode 100644 testing/web-platform/tests/css/cssom/CSSNamespaceRule.html create mode 100644 testing/web-platform/tests/css/cssom/CSSRuleList.html create mode 100644 testing/web-platform/tests/css/cssom/CSSStyleRule-set-selectorText-namespace.html create mode 100644 testing/web-platform/tests/css/cssom/CSSStyleRule-set-selectorText.html create mode 100644 testing/web-platform/tests/css/cssom/CSSStyleRule.html create mode 100644 testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-baseURL.tentative.html create mode 100644 testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-concat-ref.html create mode 100644 testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-concat.html create mode 100644 testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-cssRules.html create mode 100644 testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-disabled-regular-sheet-insertion.html create mode 100644 testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-disallow-import.tentative.html create mode 100644 testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-duplicate.html create mode 100644 testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-replace-on-regular-sheet.html create mode 100644 testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable.html create mode 100644 testing/web-platform/tests/css/cssom/CSSStyleSheet-modify-after-removal.html create mode 100644 testing/web-platform/tests/css/cssom/CSSStyleSheet-template-adoption.html create mode 100644 testing/web-platform/tests/css/cssom/CSSStyleSheet.html create mode 100644 testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-001.html create mode 100644 testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-002.html create mode 100644 testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-003.html create mode 100644 testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-004.html create mode 100644 testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-005.html create mode 100644 testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-006.html create mode 100644 testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-007.html create mode 100644 testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-alternate-ref.html create mode 100644 testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-alternate.html create mode 100644 testing/web-platform/tests/css/cssom/META.yml create mode 100644 testing/web-platform/tests/css/cssom/MediaList.html create mode 100644 testing/web-platform/tests/css/cssom/MediaList2.xhtml create mode 100644 testing/web-platform/tests/css/cssom/MutationObserver-style.html create mode 100644 testing/web-platform/tests/css/cssom/StyleSheetList.html create mode 100644 testing/web-platform/tests/css/cssom/adoptedstylesheets-observablearray.html create mode 100644 testing/web-platform/tests/css/cssom/at-namespace.html create mode 100644 testing/web-platform/tests/css/cssom/base-uri.html create mode 100644 testing/web-platform/tests/css/cssom/border-shorthand-serialization.html create mode 100644 testing/web-platform/tests/css/cssom/caretPositionFromPoint-with-transformation.html create mode 100644 testing/web-platform/tests/css/cssom/computed-style-001.html create mode 100644 testing/web-platform/tests/css/cssom/computed-style-002.html create mode 100644 testing/web-platform/tests/css/cssom/computed-style-003.html create mode 100644 testing/web-platform/tests/css/cssom/computed-style-004.html create mode 100644 testing/web-platform/tests/css/cssom/computed-style-005.html create mode 100644 testing/web-platform/tests/css/cssom/computed-style-set-property.html create mode 100644 testing/web-platform/tests/css/cssom/css-style-attr-decl-block.html create mode 100644 testing/web-platform/tests/css/cssom/css-style-attribute-modifications.html create mode 100644 testing/web-platform/tests/css/cssom/css-style-declaration-modifications.html create mode 100644 testing/web-platform/tests/css/cssom/css-style-reparse.html create mode 100644 testing/web-platform/tests/css/cssom/cssimportrule-parent.html create mode 100644 testing/web-platform/tests/css/cssom/cssimportrule-sheet-identity.html create mode 100644 testing/web-platform/tests/css/cssom/cssimportrule.html create mode 100644 testing/web-platform/tests/css/cssom/cssom-cssText-serialize.html create mode 100644 testing/web-platform/tests/css/cssom/cssom-cssstyledeclaration-set.html create mode 100644 testing/web-platform/tests/css/cssom/cssom-fontfacerule-constructors.html create mode 100644 testing/web-platform/tests/css/cssom/cssom-fontfacerule.html create mode 100644 testing/web-platform/tests/css/cssom/cssom-getPropertyValue-common-checks.html create mode 100644 testing/web-platform/tests/css/cssom/cssom-pagerule.html create mode 100644 testing/web-platform/tests/css/cssom/cssom-ruleTypeAndOrder.html create mode 100644 testing/web-platform/tests/css/cssom/cssom-setProperty-shorthand.html create mode 100644 testing/web-platform/tests/css/cssom/cssstyledeclaration-cssfontrule.tentative.html create mode 100644 testing/web-platform/tests/css/cssom/cssstyledeclaration-csstext-all-shorthand.html create mode 100644 testing/web-platform/tests/css/cssom/cssstyledeclaration-csstext-final-delimiter.html create mode 100644 testing/web-platform/tests/css/cssom/cssstyledeclaration-csstext-important.html create mode 100644 testing/web-platform/tests/css/cssom/cssstyledeclaration-csstext.html create mode 100644 testing/web-platform/tests/css/cssom/cssstyledeclaration-custom-properties.html create mode 100644 testing/web-platform/tests/css/cssom/cssstyledeclaration-mutability.html create mode 100644 testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-001.html create mode 100644 testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-002.html create mode 100644 testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-003.html create mode 100644 testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-004.html create mode 100644 testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-005.html create mode 100644 testing/web-platform/tests/css/cssom/cssstyledeclaration-properties.html create mode 100644 testing/web-platform/tests/css/cssom/cssstyledeclaration-registered-custom-properties.html create mode 100644 testing/web-platform/tests/css/cssom/cssstyledeclaration-setter-attr.html create mode 100644 testing/web-platform/tests/css/cssom/cssstyledeclaration-setter-declarations.html create mode 100644 testing/web-platform/tests/css/cssom/cssstyledeclaration-setter-form-controls.html create mode 100644 testing/web-platform/tests/css/cssom/cssstyledeclaration-setter-logical.html create mode 100644 testing/web-platform/tests/css/cssom/declaration-block-all-crash.html create mode 100644 testing/web-platform/tests/css/cssom/escape.html create mode 100644 testing/web-platform/tests/css/cssom/flex-serialization.html create mode 100644 testing/web-platform/tests/css/cssom/font-family-serialization-001.html create mode 100644 testing/web-platform/tests/css/cssom/font-shorthand-serialization.html create mode 100644 testing/web-platform/tests/css/cssom/font-variant-shorthand-serialization.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-animations-replaced-into-ib-split.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-detached-subtree.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-display-none-001.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-display-none-002.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-display-none-003.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-dynamic-subdoc.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-getter-v-properties.tentative.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-insets-absolute.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-insets-fixed.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-insets-nobox.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-insets-relative.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-insets-static.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-insets-sticky-container-for-abspos.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-insets-sticky.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-layout-dependent-removed-ib-sibling.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-layout-dependent-replaced-into-ib-split.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-line-height.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-logical-enumeration.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-property-order.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-pseudo.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-resolved-colors.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-resolved-min-max-clamping.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-sticky-pos-percent.html create mode 100644 testing/web-platform/tests/css/cssom/getComputedStyle-width-scroll.tentative.html create mode 100644 testing/web-platform/tests/css/cssom/historical.html create mode 100644 testing/web-platform/tests/css/cssom/idlharness.html create mode 100644 testing/web-platform/tests/css/cssom/inline-style-001.html create mode 100644 testing/web-platform/tests/css/cssom/insertRule-across-context.html create mode 100644 testing/web-platform/tests/css/cssom/insertRule-charset-no-index.html create mode 100644 testing/web-platform/tests/css/cssom/insertRule-from-script-ref.html create mode 100644 testing/web-platform/tests/css/cssom/insertRule-from-script.html create mode 100644 testing/web-platform/tests/css/cssom/insertRule-import-no-index.html create mode 100644 testing/web-platform/tests/css/cssom/insertRule-namespace-no-index.html create mode 100644 testing/web-platform/tests/css/cssom/insertRule-no-index.html create mode 100644 testing/web-platform/tests/css/cssom/insertRule-syntax-error-01.html create mode 100644 testing/web-platform/tests/css/cssom/medialist-dynamic-001-ref.html create mode 100644 testing/web-platform/tests/css/cssom/medialist-dynamic-001.html create mode 100644 testing/web-platform/tests/css/cssom/medialist-interfaces-001.html create mode 100644 testing/web-platform/tests/css/cssom/medialist-interfaces-002.html create mode 100644 testing/web-platform/tests/css/cssom/medialist-interfaces-004.html create mode 100644 testing/web-platform/tests/css/cssom/mediaquery-sort-dedup.html create mode 100644 testing/web-platform/tests/css/cssom/overflow-serialization.html create mode 100644 testing/web-platform/tests/css/cssom/page-descriptors.html create mode 100644 testing/web-platform/tests/css/cssom/preferred-stylesheet-order.html create mode 100644 testing/web-platform/tests/css/cssom/preferred-stylesheet-reversed-order.html create mode 100644 testing/web-platform/tests/css/cssom/property-accessors.html create mode 100644 testing/web-platform/tests/css/cssom/removerule-invalidation-crash.html create mode 100644 testing/web-platform/tests/css/cssom/rule-restrictions.html create mode 100644 testing/web-platform/tests/css/cssom/selectorSerialize.html create mode 100644 testing/web-platform/tests/css/cssom/selectorText-modification-restyle-001-ref.html create mode 100644 testing/web-platform/tests/css/cssom/selectorText-modification-restyle-001.html create mode 100644 testing/web-platform/tests/css/cssom/selectorText-modification-restyle-002.html create mode 100644 testing/web-platform/tests/css/cssom/serialization-CSSDeclaration-with-important.html create mode 100644 testing/web-platform/tests/css/cssom/serialize-all-longhands.html create mode 100644 testing/web-platform/tests/css/cssom/serialize-custom-props.html create mode 100644 testing/web-platform/tests/css/cssom/serialize-media-rule.html create mode 100644 testing/web-platform/tests/css/cssom/serialize-namespaced-type-selectors.html create mode 100644 testing/web-platform/tests/css/cssom/serialize-values.html create mode 100644 testing/web-platform/tests/css/cssom/serialize-variable-reference.html create mode 100644 testing/web-platform/tests/css/cssom/setproperty-null-undefined.html create mode 100644 testing/web-platform/tests/css/cssom/shorthand-serialization.html create mode 100644 testing/web-platform/tests/css/cssom/shorthand-values.html create mode 100644 testing/web-platform/tests/css/cssom/style-attr-update-across-documents.html create mode 100644 testing/web-platform/tests/css/cssom/style-sheet-interfaces-001.html create mode 100644 testing/web-platform/tests/css/cssom/style-sheet-interfaces-002.html create mode 100644 testing/web-platform/tests/css/cssom/stylesheet-replacedata-dynamic-ref.html create mode 100644 testing/web-platform/tests/css/cssom/stylesheet-replacedata-dynamic.html create mode 100644 testing/web-platform/tests/css/cssom/stylesheet-same-origin.css create mode 100644 testing/web-platform/tests/css/cssom/stylesheet-same-origin.sub.html create mode 100644 testing/web-platform/tests/css/cssom/stylesheet-title.html create mode 100644 testing/web-platform/tests/css/cssom/support/1x1-green.png create mode 100644 testing/web-platform/tests/css/cssom/support/1x1-lime.png create mode 100644 testing/web-platform/tests/css/cssom/support/1x1-maroon.png create mode 100644 testing/web-platform/tests/css/cssom/support/1x1-navy.png create mode 100644 testing/web-platform/tests/css/cssom/support/1x1-red.png create mode 100644 testing/web-platform/tests/css/cssom/support/1x1-white.png create mode 100644 testing/web-platform/tests/css/cssom/support/60x60-gg-rr.png create mode 100644 testing/web-platform/tests/css/cssom/support/60x60-green.png create mode 100644 testing/web-platform/tests/css/cssom/support/README create mode 100644 testing/web-platform/tests/css/cssom/support/a-green.css create mode 100644 testing/web-platform/tests/css/cssom/support/b-green.css create mode 100644 testing/web-platform/tests/css/cssom/support/black.css create mode 100644 testing/web-platform/tests/css/cssom/support/c-red.css create mode 100644 testing/web-platform/tests/css/cssom/support/cat.png create mode 100644 testing/web-platform/tests/css/cssom/support/constructable-import.css create mode 100644 testing/web-platform/tests/css/cssom/support/getComputedStyle-insets.js create mode 100644 testing/web-platform/tests/css/cssom/support/import-charset.css create mode 100644 testing/web-platform/tests/css/cssom/support/import-green.css create mode 100644 testing/web-platform/tests/css/cssom/support/import-red.css create mode 100644 testing/web-platform/tests/css/cssom/support/import-rule.css create mode 100644 testing/web-platform/tests/css/cssom/support/malformed-http-response.asis create mode 100644 testing/web-platform/tests/css/cssom/support/pattern-grg-rgr-grg.png create mode 100644 testing/web-platform/tests/css/cssom/support/pattern-grg-rrg-rgg.png create mode 100644 testing/web-platform/tests/css/cssom/support/pattern-rgr-grg-rgr.png create mode 100644 testing/web-platform/tests/css/cssom/support/pattern-tr.png create mode 100644 testing/web-platform/tests/css/cssom/support/ruler-h-50%.png create mode 100644 testing/web-platform/tests/css/cssom/support/ruler-h-50px.png create mode 100644 testing/web-platform/tests/css/cssom/support/ruler-v-100px.png create mode 100644 testing/web-platform/tests/css/cssom/support/ruler-v-50px.png create mode 100644 testing/web-platform/tests/css/cssom/support/square-purple.png create mode 100644 testing/web-platform/tests/css/cssom/support/square-teal.png create mode 100644 testing/web-platform/tests/css/cssom/support/square-white.png create mode 100644 testing/web-platform/tests/css/cssom/support/support/README create mode 100644 testing/web-platform/tests/css/cssom/support/support/swatch-green.png create mode 100644 testing/web-platform/tests/css/cssom/support/support/swatch-red.png create mode 100644 testing/web-platform/tests/css/cssom/support/swatch-blue.png create mode 100644 testing/web-platform/tests/css/cssom/support/swatch-green.png create mode 100644 testing/web-platform/tests/css/cssom/support/swatch-lime.png create mode 100644 testing/web-platform/tests/css/cssom/support/swatch-orange.png create mode 100644 testing/web-platform/tests/css/cssom/support/swatch-red.png create mode 100644 testing/web-platform/tests/css/cssom/support/swatch-teal.png create mode 100644 testing/web-platform/tests/css/cssom/support/swatch-white.png create mode 100644 testing/web-platform/tests/css/cssom/support/swatch-yellow.png create mode 100644 testing/web-platform/tests/css/cssom/support/test-bl.png create mode 100644 testing/web-platform/tests/css/cssom/support/test-br.png create mode 100644 testing/web-platform/tests/css/cssom/support/test-inner-half-size.png create mode 100644 testing/web-platform/tests/css/cssom/support/test-outer.png create mode 100644 testing/web-platform/tests/css/cssom/support/test-tl.png create mode 100644 testing/web-platform/tests/css/cssom/support/test-tr.png create mode 100644 testing/web-platform/tests/css/cssom/support/xmlss-pi.xhtml create mode 100644 testing/web-platform/tests/css/cssom/ttwf-cssom-doc-ext-load-count.html create mode 100644 testing/web-platform/tests/css/cssom/ttwf-cssom-doc-ext-load-tree-order.html create mode 100644 testing/web-platform/tests/css/cssom/ttwf-cssom-document-extension.html create mode 100644 testing/web-platform/tests/css/cssom/variable-names.html create mode 100644 testing/web-platform/tests/css/cssom/xml-stylesheet-pi-in-doctype.xhtml (limited to 'testing/web-platform/tests/css/cssom') diff --git a/testing/web-platform/tests/css/cssom/CSS-namespace-object-class-string.html b/testing/web-platform/tests/css/cssom/CSS-namespace-object-class-string.html new file mode 100644 index 0000000000..3145467073 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSS-namespace-object-class-string.html @@ -0,0 +1,47 @@ + + +CSSOM - Symbol.toStringTag value of CSS namespace object + + + + + diff --git a/testing/web-platform/tests/css/cssom/CSSConditionRule-conditionText.html b/testing/web-platform/tests/css/cssom/CSSConditionRule-conditionText.html new file mode 100644 index 0000000000..bccfc3135a --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSConditionRule-conditionText.html @@ -0,0 +1,23 @@ + +CSSConditionRule.conditionText + + + + + + diff --git a/testing/web-platform/tests/css/cssom/CSSContainerRule.tentative.html b/testing/web-platform/tests/css/cssom/CSSContainerRule.tentative.html new file mode 100644 index 0000000000..4e01c0b470 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSContainerRule.tentative.html @@ -0,0 +1,35 @@ + + +CSSContainerRule + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/CSSCounterStyleRule.html b/testing/web-platform/tests/css/cssom/CSSCounterStyleRule.html new file mode 100644 index 0000000000..afae84b0b2 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSCounterStyleRule.html @@ -0,0 +1,21 @@ + + +CSSOM - CSSCounterStyleRule interface + + + + + diff --git a/testing/web-platform/tests/css/cssom/CSSFontFaceRule.html b/testing/web-platform/tests/css/cssom/CSSFontFaceRule.html new file mode 100644 index 0000000000..438c30df9e --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSFontFaceRule.html @@ -0,0 +1,21 @@ + + +CSSOM - CSSFontFaceRule interface + + + + + diff --git a/testing/web-platform/tests/css/cssom/CSSFontFeatureValuesRule.html b/testing/web-platform/tests/css/cssom/CSSFontFeatureValuesRule.html new file mode 100644 index 0000000000..a0ea64a503 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSFontFeatureValuesRule.html @@ -0,0 +1,192 @@ + + +CSSOM - CSSFontFeatureValuesRule interface + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/CSSGroupingRule-cssRules.html b/testing/web-platform/tests/css/cssom/CSSGroupingRule-cssRules.html new file mode 100644 index 0000000000..e4afd5e560 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSGroupingRule-cssRules.html @@ -0,0 +1,54 @@ + + + + + CSSOM - CSSGroupingRule - cssRules + + + + + + diff --git a/testing/web-platform/tests/css/cssom/CSSGroupingRule-insertRule.html b/testing/web-platform/tests/css/cssom/CSSGroupingRule-insertRule.html new file mode 100644 index 0000000000..d131e3975d --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSGroupingRule-insertRule.html @@ -0,0 +1,118 @@ + + + + + CSSOM - CSSGroupingRule - insertRule + + + + + + diff --git a/testing/web-platform/tests/css/cssom/CSSKeyframeRule.html b/testing/web-platform/tests/css/cssom/CSSKeyframeRule.html new file mode 100644 index 0000000000..3f6d182186 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSKeyframeRule.html @@ -0,0 +1,52 @@ + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/CSSKeyframesRule.html b/testing/web-platform/tests/css/cssom/CSSKeyframesRule.html new file mode 100644 index 0000000000..a1adac383f --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSKeyframesRule.html @@ -0,0 +1,85 @@ + + + + + CSSOM - CSSKeyframesRule interface + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/CSSNamespaceRule.html b/testing/web-platform/tests/css/cssom/CSSNamespaceRule.html new file mode 100644 index 0000000000..fbbaa3c569 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSNamespaceRule.html @@ -0,0 +1,32 @@ + + + + + CSSOM - CSSNamespaceRule interface + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/CSSRuleList.html b/testing/web-platform/tests/css/cssom/CSSRuleList.html new file mode 100644 index 0000000000..4605b74964 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSRuleList.html @@ -0,0 +1,27 @@ + + + + + CSSOM - CSSRuleList interface + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/CSSStyleRule-set-selectorText-namespace.html b/testing/web-platform/tests/css/cssom/CSSStyleRule-set-selectorText-namespace.html new file mode 100644 index 0000000000..4da0a333e9 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSStyleRule-set-selectorText-namespace.html @@ -0,0 +1,60 @@ + + +CSSOM StyleRule selectorText property setter with namespaces + + + + + + + +

+ + + SVG text + +
+ + diff --git a/testing/web-platform/tests/css/cssom/CSSStyleRule-set-selectorText.html b/testing/web-platform/tests/css/cssom/CSSStyleRule-set-selectorText.html new file mode 100644 index 0000000000..e29db52ec6 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSStyleRule-set-selectorText.html @@ -0,0 +1,158 @@ + + +CSSOM StyleRule selectorText property setter + + + + + + + +

+
+
+
+ + diff --git a/testing/web-platform/tests/css/cssom/CSSStyleRule.html b/testing/web-platform/tests/css/cssom/CSSStyleRule.html new file mode 100644 index 0000000000..3acdfb1285 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSStyleRule.html @@ -0,0 +1,113 @@ + + + + CSSOM CSSRule CSSStyleRule interface + + + + + + + + + + + + +
+ + + + diff --git a/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-baseURL.tentative.html b/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-baseURL.tentative.html new file mode 100644 index 0000000000..8997a59e9c --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-baseURL.tentative.html @@ -0,0 +1,66 @@ + +CSSStyleSheet baseURL + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-concat-ref.html b/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-concat-ref.html new file mode 100644 index 0000000000..1c6b6784c9 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-concat-ref.html @@ -0,0 +1,12 @@ + + +Adoptedstylesheets.concat should work when starting empty + + +This should be green
+This should be green + diff --git a/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-concat.html b/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-concat.html new file mode 100644 index 0000000000..3ba9992845 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-concat.html @@ -0,0 +1,28 @@ + + +Adoptedstylesheets.concat should work when starting empty + + + + + + +This should be green +
+ + diff --git a/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-cssRules.html b/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-cssRules.html new file mode 100644 index 0000000000..72b0e15c8b --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-cssRules.html @@ -0,0 +1,22 @@ + + +CSSStyleSheet.replace/replaceSync() doesn't change cssRules object + + + + + + +Should be green + diff --git a/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-disabled-regular-sheet-insertion.html b/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-disabled-regular-sheet-insertion.html new file mode 100644 index 0000000000..ef4ea14806 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-disabled-regular-sheet-insertion.html @@ -0,0 +1,22 @@ + +Shouldn't crash / assert when inserting a stylesheet after there are disabled constructable sheets + + + + +
+ diff --git a/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-disallow-import.tentative.html b/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-disallow-import.tentative.html new file mode 100644 index 0000000000..d49a084fbe --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-disallow-import.tentative.html @@ -0,0 +1,83 @@ + +CSSStyleSheet Disallow Import Rules + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-duplicate.html b/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-duplicate.html new file mode 100644 index 0000000000..579f5d0fce --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-duplicate.html @@ -0,0 +1,84 @@ + +Cascade order of a stylesheet for duplicate sheets. + + + + +
+ diff --git a/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-replace-on-regular-sheet.html b/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-replace-on-regular-sheet.html new file mode 100644 index 0000000000..76bee452a6 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable-replace-on-regular-sheet.html @@ -0,0 +1,42 @@ + +replace / replaceSync on non-constructed stylesheet + + + + + + diff --git a/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable.html b/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable.html new file mode 100644 index 0000000000..f84e4ea9af --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSStyleSheet-constructable.html @@ -0,0 +1,801 @@ + +CSSStyleSheet constructor and adoptedStyleSheets + + + + + +
+
+ + + + + +
+
+
+
+ + + +
+
+ + diff --git a/testing/web-platform/tests/css/cssom/CSSStyleSheet-modify-after-removal.html b/testing/web-platform/tests/css/cssom/CSSStyleSheet-modify-after-removal.html new file mode 100644 index 0000000000..010c0b9328 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSStyleSheet-modify-after-removal.html @@ -0,0 +1,29 @@ + +CSS Test: CSSStyleSheet modifications after removal + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/CSSStyleSheet-template-adoption.html b/testing/web-platform/tests/css/cssom/CSSStyleSheet-template-adoption.html new file mode 100644 index 0000000000..e014627ed8 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSStyleSheet-template-adoption.html @@ -0,0 +1,58 @@ + +adoptedStyleSheets should stay when adopting to/from template document + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/CSSStyleSheet.html b/testing/web-platform/tests/css/cssom/CSSStyleSheet.html new file mode 100644 index 0000000000..c744382b55 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/CSSStyleSheet.html @@ -0,0 +1,132 @@ + + + + + CSSOM - CSSStyleSheet interface + + + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-001.html b/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-001.html new file mode 100644 index 0000000000..f2c5d0a545 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-001.html @@ -0,0 +1,44 @@ + +<link disabled>, HTMLLinkElement.disabled and CSSStyleSheet.disabled interactions + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-002.html b/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-002.html new file mode 100644 index 0000000000..34bd8182fe --- /dev/null +++ b/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-002.html @@ -0,0 +1,37 @@ + +<link disabled>, HTMLLinkElement.disabled and CSSStyleSheet.disabled interactions (alternate) + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-003.html b/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-003.html new file mode 100644 index 0000000000..3d391bbaff --- /dev/null +++ b/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-003.html @@ -0,0 +1,31 @@ + +<link disabled>'s "explicitly enabled" state persists after getting disconnected from the tree + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-004.html b/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-004.html new file mode 100644 index 0000000000..f163f1d68e --- /dev/null +++ b/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-004.html @@ -0,0 +1,39 @@ + +<link disabled>'s "explicitly enabled" state doesn't persist for clones + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-005.html b/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-005.html new file mode 100644 index 0000000000..76de206327 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-005.html @@ -0,0 +1,26 @@ + +<link disabled>'s "explicitly enabled" persists across rel changes + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-006.html b/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-006.html new file mode 100644 index 0000000000..02749a2e11 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-006.html @@ -0,0 +1,25 @@ + +<link disabled>'s "explicitly enabled" state isn't magically set from the setter + + + + + + diff --git a/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-007.html b/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-007.html new file mode 100644 index 0000000000..9a695a964c --- /dev/null +++ b/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-007.html @@ -0,0 +1,26 @@ + +<link disabled>'s "explicitly enabled" state works when set explicitly back and forth + + + + + + diff --git a/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-alternate-ref.html b/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-alternate-ref.html new file mode 100644 index 0000000000..5d87bfdaf5 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-alternate-ref.html @@ -0,0 +1,7 @@ + +CSS Test Reference + + + diff --git a/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-alternate.html b/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-alternate.html new file mode 100644 index 0000000000..f1457c0dcf --- /dev/null +++ b/testing/web-platform/tests/css/cssom/HTMLLinkElement-disabled-alternate.html @@ -0,0 +1,14 @@ + + +CSS Test: alternate stylesheets can be disabled by HTMLLinkElement.disabled if they have the disabled attribute already + + + + + + diff --git a/testing/web-platform/tests/css/cssom/META.yml b/testing/web-platform/tests/css/cssom/META.yml new file mode 100644 index 0000000000..3250801f64 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/META.yml @@ -0,0 +1,5 @@ +spec: https://drafts.csswg.org/cssom/ +suggested_reviewers: + - dbaron + - plinss + - lilles diff --git a/testing/web-platform/tests/css/cssom/MediaList.html b/testing/web-platform/tests/css/cssom/MediaList.html new file mode 100644 index 0000000000..8308ee89e4 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/MediaList.html @@ -0,0 +1,55 @@ + + + + + CSSOM - MediaList interface + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/MediaList2.xhtml b/testing/web-platform/tests/css/cssom/MediaList2.xhtml new file mode 100644 index 0000000000..73acbdec25 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/MediaList2.xhtml @@ -0,0 +1,45 @@ + + + +CSS Test: the MediaList interface + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/MutationObserver-style.html b/testing/web-platform/tests/css/cssom/MutationObserver-style.html new file mode 100644 index 0000000000..673822d11e --- /dev/null +++ b/testing/web-platform/tests/css/cssom/MutationObserver-style.html @@ -0,0 +1,43 @@ + + +Observer notifications when updating styles + + + + + + diff --git a/testing/web-platform/tests/css/cssom/StyleSheetList.html b/testing/web-platform/tests/css/cssom/StyleSheetList.html new file mode 100644 index 0000000000..bb7d2ff4e3 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/StyleSheetList.html @@ -0,0 +1,34 @@ + + + + + CSSOM - StyleSheetList interface + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/adoptedstylesheets-observablearray.html b/testing/web-platform/tests/css/cssom/adoptedstylesheets-observablearray.html new file mode 100644 index 0000000000..783a054163 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/adoptedstylesheets-observablearray.html @@ -0,0 +1,92 @@ + + +Adoptedstylesheets as ObservableArray + + + + + +Test Span +
+ + + diff --git a/testing/web-platform/tests/css/cssom/at-namespace.html b/testing/web-platform/tests/css/cssom/at-namespace.html new file mode 100644 index 0000000000..b1c76f3c58 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/at-namespace.html @@ -0,0 +1,29 @@ + +CSS Test: @namespace in CSSOM is not severely broken + + + + + + +
Should be green
+ + diff --git a/testing/web-platform/tests/css/cssom/base-uri.html b/testing/web-platform/tests/css/cssom/base-uri.html new file mode 100644 index 0000000000..b948d5a7f4 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/base-uri.html @@ -0,0 +1,55 @@ + + +CSSOM base URI is the document's base URI + + + + + + + +
+ diff --git a/testing/web-platform/tests/css/cssom/border-shorthand-serialization.html b/testing/web-platform/tests/css/cssom/border-shorthand-serialization.html new file mode 100644 index 0000000000..9b5821563c --- /dev/null +++ b/testing/web-platform/tests/css/cssom/border-shorthand-serialization.html @@ -0,0 +1,42 @@ + + + + + + + +serialization of border shorthand + + + + + diff --git a/testing/web-platform/tests/css/cssom/caretPositionFromPoint-with-transformation.html b/testing/web-platform/tests/css/cssom/caretPositionFromPoint-with-transformation.html new file mode 100644 index 0000000000..fcd02877ca --- /dev/null +++ b/testing/web-platform/tests/css/cssom/caretPositionFromPoint-with-transformation.html @@ -0,0 +1,46 @@ + + +getCaretPositionFromPoint should return the correct offset even in iframes with transformation + + + + + + +
+ + diff --git a/testing/web-platform/tests/css/cssom/computed-style-001.html b/testing/web-platform/tests/css/cssom/computed-style-001.html new file mode 100644 index 0000000000..e487981e30 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/computed-style-001.html @@ -0,0 +1,66 @@ + + + + CSS Test: getComputedStyle + + + + + + + + + + + + +
+
+ + + diff --git a/testing/web-platform/tests/css/cssom/computed-style-002.html b/testing/web-platform/tests/css/cssom/computed-style-002.html new file mode 100644 index 0000000000..7b31c96c09 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/computed-style-002.html @@ -0,0 +1,17 @@ + +CSS Test: getComputedStyle - resolved width in iframe + + + + + + diff --git a/testing/web-platform/tests/css/cssom/computed-style-003.html b/testing/web-platform/tests/css/cssom/computed-style-003.html new file mode 100644 index 0000000000..e73b793b8f --- /dev/null +++ b/testing/web-platform/tests/css/cssom/computed-style-003.html @@ -0,0 +1,20 @@ + +CSS Test: getComputedStyle - resolved width in iframe dynamic display + + + + + + diff --git a/testing/web-platform/tests/css/cssom/computed-style-004.html b/testing/web-platform/tests/css/cssom/computed-style-004.html new file mode 100644 index 0000000000..c5b08712f9 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/computed-style-004.html @@ -0,0 +1,29 @@ + +CSS Test: getComputedStyle - resolved width in nested iframes dynamic width + + + + + + diff --git a/testing/web-platform/tests/css/cssom/computed-style-005.html b/testing/web-platform/tests/css/cssom/computed-style-005.html new file mode 100644 index 0000000000..49a5977acd --- /dev/null +++ b/testing/web-platform/tests/css/cssom/computed-style-005.html @@ -0,0 +1,64 @@ + + + + CSS Test: getComputedStyle on blocks with auto margins + + + + + + + + +
+ + + + + diff --git a/testing/web-platform/tests/css/cssom/computed-style-set-property.html b/testing/web-platform/tests/css/cssom/computed-style-set-property.html new file mode 100644 index 0000000000..a1f1380dcc --- /dev/null +++ b/testing/web-platform/tests/css/cssom/computed-style-set-property.html @@ -0,0 +1,36 @@ + +NoModificationAllowedError when mutating read only properties + + + + + + diff --git a/testing/web-platform/tests/css/cssom/css-style-attr-decl-block.html b/testing/web-platform/tests/css/cssom/css-style-attr-decl-block.html new file mode 100644 index 0000000000..744b3a744c --- /dev/null +++ b/testing/web-platform/tests/css/cssom/css-style-attr-decl-block.html @@ -0,0 +1,148 @@ + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/css-style-attribute-modifications.html b/testing/web-platform/tests/css/cssom/css-style-attribute-modifications.html new file mode 100644 index 0000000000..524a5adca3 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/css-style-attribute-modifications.html @@ -0,0 +1,16 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/cssom/css-style-declaration-modifications.html b/testing/web-platform/tests/css/cssom/css-style-declaration-modifications.html new file mode 100644 index 0000000000..a0e2275491 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/css-style-declaration-modifications.html @@ -0,0 +1,71 @@ + + + + CSS Test: CSSStyleDeclaration Interface + + + + + + + + + +
+
+ + + diff --git a/testing/web-platform/tests/css/cssom/css-style-reparse.html b/testing/web-platform/tests/css/cssom/css-style-reparse.html new file mode 100644 index 0000000000..d5153cf267 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/css-style-reparse.html @@ -0,0 +1,59 @@ + + + + + CSS Test: DOM modification re-parsing test + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/cssimportrule-parent.html b/testing/web-platform/tests/css/cssom/cssimportrule-parent.html new file mode 100644 index 0000000000..2792af69c0 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssimportrule-parent.html @@ -0,0 +1,20 @@ + +CSSImportRule correctly unlinks its child stylesheet from its parent + + + + + + diff --git a/testing/web-platform/tests/css/cssom/cssimportrule-sheet-identity.html b/testing/web-platform/tests/css/cssom/cssimportrule-sheet-identity.html new file mode 100644 index 0000000000..3db5634ebe --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssimportrule-sheet-identity.html @@ -0,0 +1,24 @@ + +CSSImportRule has different sheets even if referencing the same URL + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/cssimportrule.html b/testing/web-platform/tests/css/cssom/cssimportrule.html new file mode 100644 index 0000000000..2703b9a69b --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssimportrule.html @@ -0,0 +1,122 @@ + + + + CSSOM CSSRule CSSImportRule interface + + + + + + + + + + + + +
+ + + + diff --git a/testing/web-platform/tests/css/cssom/cssom-cssText-serialize.html b/testing/web-platform/tests/css/cssom/cssom-cssText-serialize.html new file mode 100644 index 0000000000..27479f026d --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssom-cssText-serialize.html @@ -0,0 +1,28 @@ + + + + CSSOM Parsing Test: getting cssText must return the result of serializing the CSS declaration blocks. + + + + + + + + + + + +
+
+ + + diff --git a/testing/web-platform/tests/css/cssom/cssom-cssstyledeclaration-set.html b/testing/web-platform/tests/css/cssom/cssom-cssstyledeclaration-set.html new file mode 100644 index 0000000000..1fb7ccd324 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssom-cssstyledeclaration-set.html @@ -0,0 +1,37 @@ + + + + CSSOM: CSSStyleDeclaration on HTMLElement represents inline style changes + + + + + + + + + + + +
+ +
+ + + + + + diff --git a/testing/web-platform/tests/css/cssom/cssom-fontfacerule-constructors.html b/testing/web-platform/tests/css/cssom/cssom-fontfacerule-constructors.html new file mode 100644 index 0000000000..ed1cab257d --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssom-fontfacerule-constructors.html @@ -0,0 +1,63 @@ + + + + CSSOM Parsing Test: @font-face rules toString() as valid interfaces + + + + + + + + + + + +
+ + + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/cssom-fontfacerule.html b/testing/web-platform/tests/css/cssom/cssom-fontfacerule.html new file mode 100644 index 0000000000..9a06808e3a --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssom-fontfacerule.html @@ -0,0 +1,58 @@ + + + + CSSOM Parsing Test: @font-face rules parsed into CSSOM CSSFontFaceRules + + + + + + + + + + +
+ + + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/cssom-getPropertyValue-common-checks.html b/testing/web-platform/tests/css/cssom/cssom-getPropertyValue-common-checks.html new file mode 100644 index 0000000000..27d802cd3d --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssom-getPropertyValue-common-checks.html @@ -0,0 +1,223 @@ + + +Common serialization checks for all properties + + + +
+ + + + diff --git a/testing/web-platform/tests/css/cssom/cssom-pagerule.html b/testing/web-platform/tests/css/cssom/cssom-pagerule.html new file mode 100644 index 0000000000..c7604eba33 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssom-pagerule.html @@ -0,0 +1,43 @@ + +CSSOM: CSSPageRule tests + + + + + diff --git a/testing/web-platform/tests/css/cssom/cssom-ruleTypeAndOrder.html b/testing/web-platform/tests/css/cssom/cssom-ruleTypeAndOrder.html new file mode 100644 index 0000000000..19aab35357 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssom-ruleTypeAndOrder.html @@ -0,0 +1,75 @@ + + + CSS OM: CSS Rule Types and Order + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/cssom-setProperty-shorthand.html b/testing/web-platform/tests/css/cssom/cssom-setProperty-shorthand.html new file mode 100644 index 0000000000..4c0f9a2f93 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssom-setProperty-shorthand.html @@ -0,0 +1,77 @@ + + + + CSSOM: CSSStyleDeclaration (set|remove)PropertyValue sets/removes shorthand properties + + + + + + + + + + + +
+ +
+ + + + diff --git a/testing/web-platform/tests/css/cssom/cssstyledeclaration-cssfontrule.tentative.html b/testing/web-platform/tests/css/cssom/cssstyledeclaration-cssfontrule.tentative.html new file mode 100644 index 0000000000..2efab276c5 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssstyledeclaration-cssfontrule.tentative.html @@ -0,0 +1,27 @@ + + +CSSStyleDeclaration for a CSSFontRule + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/cssstyledeclaration-csstext-all-shorthand.html b/testing/web-platform/tests/css/cssom/cssstyledeclaration-csstext-all-shorthand.html new file mode 100644 index 0000000000..6619538cf1 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssstyledeclaration-csstext-all-shorthand.html @@ -0,0 +1,38 @@ + +CSSOM test: serialization of the 'all' shorthand in cssText + + + + + diff --git a/testing/web-platform/tests/css/cssom/cssstyledeclaration-csstext-final-delimiter.html b/testing/web-platform/tests/css/cssom/cssstyledeclaration-csstext-final-delimiter.html new file mode 100644 index 0000000000..01b0a32c3f --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssstyledeclaration-csstext-final-delimiter.html @@ -0,0 +1,32 @@ + + + + CSSOM - CSSStyleDeclaration - Text - Serialization - Delimiters + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/cssstyledeclaration-csstext-important.html b/testing/web-platform/tests/css/cssom/cssstyledeclaration-csstext-important.html new file mode 100644 index 0000000000..c12faf63a4 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssstyledeclaration-csstext-important.html @@ -0,0 +1,12 @@ +CSSOM test: setting a property with cssText and !important + + + +
+ diff --git a/testing/web-platform/tests/css/cssom/cssstyledeclaration-csstext.html b/testing/web-platform/tests/css/cssom/cssstyledeclaration-csstext.html new file mode 100644 index 0000000000..686684e614 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssstyledeclaration-csstext.html @@ -0,0 +1,126 @@ + + + + CSSOM Test: CSSStyleDeclaration.cssText Test + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/cssstyledeclaration-custom-properties.html b/testing/web-platform/tests/css/cssom/cssstyledeclaration-custom-properties.html new file mode 100644 index 0000000000..92cf2c847d --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssstyledeclaration-custom-properties.html @@ -0,0 +1,19 @@ + +CSS Test: computed style declaration includes custom properties. + + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/cssom/cssstyledeclaration-mutability.html b/testing/web-platform/tests/css/cssom/cssstyledeclaration-mutability.html new file mode 100644 index 0000000000..ce5b598ca6 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssstyledeclaration-mutability.html @@ -0,0 +1,69 @@ + + + + CSSOM: CSSStyleDeclaration is mutable and immutable in various settings + + + + + + + + + + + +
+
+
+ + + + + diff --git a/testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-001.html b/testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-001.html new file mode 100644 index 0000000000..ba4d926b15 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-001.html @@ -0,0 +1,20 @@ + + +CSSOM: CSSStyleDeclaration.setPropertyValue queues a mutation record when changed + + + + + + diff --git a/testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-002.html b/testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-002.html new file mode 100644 index 0000000000..38ce249a31 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-002.html @@ -0,0 +1,15 @@ + + +CSSOM: CSSStyleDeclaration.setPropertyValue doesn't queue a mutation record for invalid values + + + + + diff --git a/testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-003.html b/testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-003.html new file mode 100644 index 0000000000..7a99dfc645 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-003.html @@ -0,0 +1,16 @@ + + +CSSOM: CSSStyleDeclaration.removeProperty doesn't queue a mutation record when not actually removed, invoked from setPropertyValue + + + + + diff --git a/testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-004.html b/testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-004.html new file mode 100644 index 0000000000..55956dfdaa --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-004.html @@ -0,0 +1,16 @@ + + +CSSOM: CSSStyleDeclaration.removeProperty doesn't queue a mutation record when not actually removed + + + + + diff --git a/testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-005.html b/testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-005.html new file mode 100644 index 0000000000..26574033ce --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-005.html @@ -0,0 +1,16 @@ + + + +CSSOM: CSSStyleDeclaration.setPropertyValue doesn't queue a mutation record for invalid values + + + + + diff --git a/testing/web-platform/tests/css/cssom/cssstyledeclaration-properties.html b/testing/web-platform/tests/css/cssom/cssstyledeclaration-properties.html new file mode 100644 index 0000000000..12382cbcdc --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssstyledeclaration-properties.html @@ -0,0 +1,15 @@ + +CSS Test: CSSStyleDeclaration properties are defined as WebIDL attributes, not using getOwnPropertyNames() + + + + + + diff --git a/testing/web-platform/tests/css/cssom/cssstyledeclaration-registered-custom-properties.html b/testing/web-platform/tests/css/cssom/cssstyledeclaration-registered-custom-properties.html new file mode 100644 index 0000000000..5aa4ad2532 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssstyledeclaration-registered-custom-properties.html @@ -0,0 +1,58 @@ + +Computed CSSStyleDeclaration includes registered custom properties + + + + + +
+
+
+
+ diff --git a/testing/web-platform/tests/css/cssom/cssstyledeclaration-setter-attr.html b/testing/web-platform/tests/css/cssom/cssstyledeclaration-setter-attr.html new file mode 100644 index 0000000000..20837052e3 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssstyledeclaration-setter-attr.html @@ -0,0 +1,18 @@ + +CSSOM test: declaration block after setting via CSSOM + + + + + diff --git a/testing/web-platform/tests/css/cssom/cssstyledeclaration-setter-declarations.html b/testing/web-platform/tests/css/cssom/cssstyledeclaration-setter-declarations.html new file mode 100644 index 0000000000..e66466e7a1 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssstyledeclaration-setter-declarations.html @@ -0,0 +1,160 @@ + +CSSOM test: declaration block after setting via CSSOM + + + +
+ diff --git a/testing/web-platform/tests/css/cssom/cssstyledeclaration-setter-form-controls.html b/testing/web-platform/tests/css/cssom/cssstyledeclaration-setter-form-controls.html new file mode 100644 index 0000000000..ae556ed1cb --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssstyledeclaration-setter-form-controls.html @@ -0,0 +1,103 @@ + +CSSOM test: no side effects from setting "height" + + + + + +

+Historically, the Apple Safari web browser has added an "intrinsic margin" to +form controls which do not specify a `height`. It removed this margin following +modification of the `height`. This non-standard +behavior was identified as a source of confusion for web developers. +

+ + diff --git a/testing/web-platform/tests/css/cssom/cssstyledeclaration-setter-logical.html b/testing/web-platform/tests/css/cssom/cssstyledeclaration-setter-logical.html new file mode 100644 index 0000000000..13d68e9a70 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/cssstyledeclaration-setter-logical.html @@ -0,0 +1,73 @@ + +CSSOM test: declaration block after setting via CSSOM + + + +
+
+ diff --git a/testing/web-platform/tests/css/cssom/declaration-block-all-crash.html b/testing/web-platform/tests/css/cssom/declaration-block-all-crash.html new file mode 100644 index 0000000000..2d781e5dcf --- /dev/null +++ b/testing/web-platform/tests/css/cssom/declaration-block-all-crash.html @@ -0,0 +1,10 @@ + + +
+ diff --git a/testing/web-platform/tests/css/cssom/escape.html b/testing/web-platform/tests/css/cssom/escape.html new file mode 100644 index 0000000000..895da59c49 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/escape.html @@ -0,0 +1,102 @@ + + +CSS#escape + + + +
+ diff --git a/testing/web-platform/tests/css/cssom/flex-serialization.html b/testing/web-platform/tests/css/cssom/flex-serialization.html new file mode 100644 index 0000000000..350877c3ce --- /dev/null +++ b/testing/web-platform/tests/css/cssom/flex-serialization.html @@ -0,0 +1,36 @@ + + + + + CSSOM - Flex serialization + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/font-family-serialization-001.html b/testing/web-platform/tests/css/cssom/font-family-serialization-001.html new file mode 100644 index 0000000000..436ce7f5c1 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/font-family-serialization-001.html @@ -0,0 +1,44 @@ + + + +Serialization of font-family + + + + + +
+ + diff --git a/testing/web-platform/tests/css/cssom/font-shorthand-serialization.html b/testing/web-platform/tests/css/cssom/font-shorthand-serialization.html new file mode 100644 index 0000000000..29082f83ea --- /dev/null +++ b/testing/web-platform/tests/css/cssom/font-shorthand-serialization.html @@ -0,0 +1,17 @@ + + + +Serialization of font shorthand + + + + +
+ + diff --git a/testing/web-platform/tests/css/cssom/font-variant-shorthand-serialization.html b/testing/web-platform/tests/css/cssom/font-variant-shorthand-serialization.html new file mode 100644 index 0000000000..0e4651cdc0 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/font-variant-shorthand-serialization.html @@ -0,0 +1,131 @@ + + + +Serialization of font-variant shorthand + + + + + +
+ + diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-animations-replaced-into-ib-split.html b/testing/web-platform/tests/css/cssom/getComputedStyle-animations-replaced-into-ib-split.html new file mode 100644 index 0000000000..47198803a0 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-animations-replaced-into-ib-split.html @@ -0,0 +1,34 @@ + +getComputedStyle() returns the right style for animating nodes that have been just inserted into the document, and that have an ancestor whose layout tree was recreated (like an IB-split) + + + + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-detached-subtree.html b/testing/web-platform/tests/css/cssom/getComputedStyle-detached-subtree.html new file mode 100644 index 0000000000..211d512b28 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-detached-subtree.html @@ -0,0 +1,49 @@ + + +CSSOM: getComputedStyle returns no style for elements not in the tree + + + + +
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-display-none-001.html b/testing/web-platform/tests/css/cssom/getComputedStyle-display-none-001.html new file mode 100644 index 0000000000..5a356f15a4 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-display-none-001.html @@ -0,0 +1,39 @@ + + +CSSOM: getComputedStyle gets invalidated for display: none elements (inheritance) + + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-display-none-002.html b/testing/web-platform/tests/css/cssom/getComputedStyle-display-none-002.html new file mode 100644 index 0000000000..12fb7fc3f8 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-display-none-002.html @@ -0,0 +1,34 @@ + + +CSSOM: getComputedStyle gets invalidated for display: none elements (rules) + + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-display-none-003.html b/testing/web-platform/tests/css/cssom/getComputedStyle-display-none-003.html new file mode 100644 index 0000000000..7ea4505588 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-display-none-003.html @@ -0,0 +1,26 @@ + +style is invalidated properly as a result of attribute changes in display: none subtrees + + + + + + +
+
+
+ diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-dynamic-subdoc.html b/testing/web-platform/tests/css/cssom/getComputedStyle-dynamic-subdoc.html new file mode 100644 index 0000000000..aa49dc33ef --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-dynamic-subdoc.html @@ -0,0 +1,33 @@ + + +CSSOM: getComputedStyle cross-doc properly reflects media query changes + + + + + + diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-getter-v-properties.tentative.html b/testing/web-platform/tests/css/cssom/getComputedStyle-getter-v-properties.tentative.html new file mode 100644 index 0000000000..e61241e570 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-getter-v-properties.tentative.html @@ -0,0 +1,34 @@ + + +CSSStyleDeclaration index getter v. attributes + + + + +
+ diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-insets-absolute.html b/testing/web-platform/tests/css/cssom/getComputedStyle-insets-absolute.html new file mode 100644 index 0000000000..fae0a84a7b --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-insets-absolute.html @@ -0,0 +1,21 @@ + + +CSSOM: resolved values of the inset properties for absolute positioning + + + + + + diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-insets-fixed.html b/testing/web-platform/tests/css/cssom/getComputedStyle-insets-fixed.html new file mode 100644 index 0000000000..ff80d2fc50 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-insets-fixed.html @@ -0,0 +1,21 @@ + + +CSSOM: resolved values of the inset properties for fixed positioning + + + + + + diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-insets-nobox.html b/testing/web-platform/tests/css/cssom/getComputedStyle-insets-nobox.html new file mode 100644 index 0000000000..236abf17f9 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-insets-nobox.html @@ -0,0 +1,18 @@ + + +CSSOM: resolved values of the inset properties when the element generates no box + + + + + + diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-insets-relative.html b/testing/web-platform/tests/css/cssom/getComputedStyle-insets-relative.html new file mode 100644 index 0000000000..1abfc62c01 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-insets-relative.html @@ -0,0 +1,19 @@ + + +CSSOM: resolved values of the inset properties for relative positioning + + + + + + diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-insets-static.html b/testing/web-platform/tests/css/cssom/getComputedStyle-insets-static.html new file mode 100644 index 0000000000..aa7dbee956 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-insets-static.html @@ -0,0 +1,19 @@ + + +CSSOM: resolved values of the inset properties for static positioning + + + + + + diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-insets-sticky-container-for-abspos.html b/testing/web-platform/tests/css/cssom/getComputedStyle-insets-sticky-container-for-abspos.html new file mode 100644 index 0000000000..7f5ec30648 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-insets-sticky-container-for-abspos.html @@ -0,0 +1,26 @@ + + +CSSOM: resolved values of the inset properties for sticky positioning + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-insets-sticky.html b/testing/web-platform/tests/css/cssom/getComputedStyle-insets-sticky.html new file mode 100644 index 0000000000..6b23fabcb1 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-insets-sticky.html @@ -0,0 +1,22 @@ + + +CSSOM: resolved values of the inset properties for sticky positioning + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-layout-dependent-removed-ib-sibling.html b/testing/web-platform/tests/css/cssom/getComputedStyle-layout-dependent-removed-ib-sibling.html new file mode 100644 index 0000000000..83482c5f5c --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-layout-dependent-removed-ib-sibling.html @@ -0,0 +1,30 @@ + +getComputedStyle() returns the right style for layout-dependent properties for nodes that have had an IB sibling removed + + + + + + + + +
+
+
+ diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-layout-dependent-replaced-into-ib-split.html b/testing/web-platform/tests/css/cssom/getComputedStyle-layout-dependent-replaced-into-ib-split.html new file mode 100644 index 0000000000..98771cebc7 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-layout-dependent-replaced-into-ib-split.html @@ -0,0 +1,30 @@ + +getComputedStyle() returns the right style for layout-dependent properties for nodes that have been just inserted into the document, and that have an ancestor whose layout tree was recreated (like an IB-split) + + + + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-line-height.html b/testing/web-platform/tests/css/cssom/getComputedStyle-line-height.html new file mode 100644 index 0000000000..089a6d8485 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-line-height.html @@ -0,0 +1,23 @@ + + +CSS Test: line-height resolved value + + + + + +
+
+
+
+ diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-logical-enumeration.html b/testing/web-platform/tests/css/cssom/getComputedStyle-logical-enumeration.html new file mode 100644 index 0000000000..02093120f2 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-logical-enumeration.html @@ -0,0 +1,27 @@ + + +CSSOM: getComputedStyle enumeration + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-property-order.html b/testing/web-platform/tests/css/cssom/getComputedStyle-property-order.html new file mode 100644 index 0000000000..f52700eb94 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-property-order.html @@ -0,0 +1,26 @@ + + +CSSOM: getComputedStyle property order + + + + + + diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-pseudo.html b/testing/web-platform/tests/css/cssom/getComputedStyle-pseudo.html new file mode 100644 index 0000000000..40af5b0818 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-pseudo.html @@ -0,0 +1,153 @@ + + +CSSOM: Correct resolution of resolved value for display-affected pseudo-elements + + + + + + +
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-resolved-colors.html b/testing/web-platform/tests/css/cssom/getComputedStyle-resolved-colors.html new file mode 100644 index 0000000000..da4fddbc24 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-resolved-colors.html @@ -0,0 +1,42 @@ + + +CSSOM: resolved values of certain color properties are used values + + + + +
+ diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-resolved-min-max-clamping.html b/testing/web-platform/tests/css/cssom/getComputedStyle-resolved-min-max-clamping.html new file mode 100644 index 0000000000..e630377c33 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-resolved-min-max-clamping.html @@ -0,0 +1,38 @@ + + +CSSOM: resolved values of the width and height when the element generates no box or are a non-replaced inline aren't clamped by min-width / max-width + + + + + + + +
+ diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-sticky-pos-percent.html b/testing/web-platform/tests/css/cssom/getComputedStyle-sticky-pos-percent.html new file mode 100644 index 0000000000..12ad5e8965 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-sticky-pos-percent.html @@ -0,0 +1,22 @@ + +CSS Test: resolve top percentage value against proper box + + + + + + + + +
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/cssom/getComputedStyle-width-scroll.tentative.html b/testing/web-platform/tests/css/cssom/getComputedStyle-width-scroll.tentative.html new file mode 100644 index 0000000000..8f629c7016 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/getComputedStyle-width-scroll.tentative.html @@ -0,0 +1,26 @@ + +getComputedStyle() round-trips in presence of scrollbars. + + + + + +
+ diff --git a/testing/web-platform/tests/css/cssom/historical.html b/testing/web-platform/tests/css/cssom/historical.html new file mode 100644 index 0000000000..44f3f6c8f1 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/historical.html @@ -0,0 +1,58 @@ + +Historical features + + + +
+ diff --git a/testing/web-platform/tests/css/cssom/idlharness.html b/testing/web-platform/tests/css/cssom/idlharness.html new file mode 100644 index 0000000000..e27629c03b --- /dev/null +++ b/testing/web-platform/tests/css/cssom/idlharness.html @@ -0,0 +1,77 @@ + + + +CSSOM automated IDL tests + + + + + + + + + + + + + + +

CSSOM IDL tests

+
+ + diff --git a/testing/web-platform/tests/css/cssom/inline-style-001.html b/testing/web-platform/tests/css/cssom/inline-style-001.html new file mode 100644 index 0000000000..d4bf3b92ab --- /dev/null +++ b/testing/web-platform/tests/css/cssom/inline-style-001.html @@ -0,0 +1,78 @@ + + + + CSS Test: Inline CSSStyleDeclaration + + + + + + + + + +
+
+ + + diff --git a/testing/web-platform/tests/css/cssom/insertRule-across-context.html b/testing/web-platform/tests/css/cssom/insertRule-across-context.html new file mode 100644 index 0000000000..a8327e31ac --- /dev/null +++ b/testing/web-platform/tests/css/cssom/insertRule-across-context.html @@ -0,0 +1,32 @@ + + +CSS Test: CSSOM StyleSheet insertRule across context + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/insertRule-charset-no-index.html b/testing/web-platform/tests/css/cssom/insertRule-charset-no-index.html new file mode 100644 index 0000000000..16f2358dc2 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/insertRule-charset-no-index.html @@ -0,0 +1,32 @@ + + + + CSS Test: CSSOM StyleSheet insertRule with charset and omitted second argument + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/insertRule-from-script-ref.html b/testing/web-platform/tests/css/cssom/insertRule-from-script-ref.html new file mode 100644 index 0000000000..2fa45526a6 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/insertRule-from-script-ref.html @@ -0,0 +1,6 @@ + + + + insertrule @import test reference + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/cssom/insertRule-from-script.html b/testing/web-platform/tests/css/cssom/insertRule-from-script.html new file mode 100644 index 0000000000..c364afc282 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/insertRule-from-script.html @@ -0,0 +1,12 @@ + + + + insertrule @import test + + + + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/cssom/insertRule-import-no-index.html b/testing/web-platform/tests/css/cssom/insertRule-import-no-index.html new file mode 100644 index 0000000000..45481e71f4 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/insertRule-import-no-index.html @@ -0,0 +1,33 @@ + + + + CSS Test: CSSOM StyleSheet insertRule with import and omitted second argument + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/insertRule-namespace-no-index.html b/testing/web-platform/tests/css/cssom/insertRule-namespace-no-index.html new file mode 100644 index 0000000000..3265159736 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/insertRule-namespace-no-index.html @@ -0,0 +1,40 @@ + + + + CSS Test: CSSOM StyleSheet insertRule with namespace and omitted second argument + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/insertRule-no-index.html b/testing/web-platform/tests/css/cssom/insertRule-no-index.html new file mode 100644 index 0000000000..b4370bd080 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/insertRule-no-index.html @@ -0,0 +1,35 @@ + + + + CSS Test: CSSOM StyleSheet insertRule omitted second argument + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/insertRule-syntax-error-01.html b/testing/web-platform/tests/css/cssom/insertRule-syntax-error-01.html new file mode 100644 index 0000000000..4461a9a943 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/insertRule-syntax-error-01.html @@ -0,0 +1,14 @@ + + + + + +

This text should be green.

+ diff --git a/testing/web-platform/tests/css/cssom/medialist-dynamic-001-ref.html b/testing/web-platform/tests/css/cssom/medialist-dynamic-001-ref.html new file mode 100644 index 0000000000..9715b5acb8 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/medialist-dynamic-001-ref.html @@ -0,0 +1,5 @@ + + +CSS Test Reference + +Should not be red. diff --git a/testing/web-platform/tests/css/cssom/medialist-dynamic-001.html b/testing/web-platform/tests/css/cssom/medialist-dynamic-001.html new file mode 100644 index 0000000000..ab9c134568 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/medialist-dynamic-001.html @@ -0,0 +1,12 @@ + + +CSS Test: Dynamic changes to the stylesheet media attributes via CSSOM get reflected + + + + +Should not be red. + diff --git a/testing/web-platform/tests/css/cssom/medialist-interfaces-001.html b/testing/web-platform/tests/css/cssom/medialist-interfaces-001.html new file mode 100644 index 0000000000..f436177fb8 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/medialist-interfaces-001.html @@ -0,0 +1,83 @@ + + + + CSS Test: CSSOM Media Query List Serialization + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/medialist-interfaces-002.html b/testing/web-platform/tests/css/cssom/medialist-interfaces-002.html new file mode 100644 index 0000000000..0d2ca2e9c7 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/medialist-interfaces-002.html @@ -0,0 +1,71 @@ + + + + CSS Test: CSSOM MediaList Interfaces + + + + + + + + + + + +
+ + + + + + diff --git a/testing/web-platform/tests/css/cssom/medialist-interfaces-004.html b/testing/web-platform/tests/css/cssom/medialist-interfaces-004.html new file mode 100644 index 0000000000..7cbea37cba --- /dev/null +++ b/testing/web-platform/tests/css/cssom/medialist-interfaces-004.html @@ -0,0 +1,64 @@ + + + + CSS Test: CSSOM MediaList Interfaces + + + + + + + + + + +
+ + + + + + diff --git a/testing/web-platform/tests/css/cssom/mediaquery-sort-dedup.html b/testing/web-platform/tests/css/cssom/mediaquery-sort-dedup.html new file mode 100644 index 0000000000..0ae78d0300 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/mediaquery-sort-dedup.html @@ -0,0 +1,16 @@ + + +CSSOM test: Media query serialization quirks + + + + + + diff --git a/testing/web-platform/tests/css/cssom/overflow-serialization.html b/testing/web-platform/tests/css/cssom/overflow-serialization.html new file mode 100644 index 0000000000..2e4bd97d5c --- /dev/null +++ b/testing/web-platform/tests/css/cssom/overflow-serialization.html @@ -0,0 +1,61 @@ + + + + + CSSOM - Overflow shorthand serialization + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/page-descriptors.html b/testing/web-platform/tests/css/cssom/page-descriptors.html new file mode 100644 index 0000000000..5cf0a6a703 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/page-descriptors.html @@ -0,0 +1,40 @@ + + + + + + Page descriptors shouldn't be exposed to CSS Style declarations + + + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/preferred-stylesheet-order.html b/testing/web-platform/tests/css/cssom/preferred-stylesheet-order.html new file mode 100644 index 0000000000..dc990131ab --- /dev/null +++ b/testing/web-platform/tests/css/cssom/preferred-stylesheet-order.html @@ -0,0 +1,22 @@ + + + + + + +
This text should be green
+ diff --git a/testing/web-platform/tests/css/cssom/preferred-stylesheet-reversed-order.html b/testing/web-platform/tests/css/cssom/preferred-stylesheet-reversed-order.html new file mode 100644 index 0000000000..ff3a8b0901 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/preferred-stylesheet-reversed-order.html @@ -0,0 +1,22 @@ + + + + + + +
This text should be green
+ diff --git a/testing/web-platform/tests/css/cssom/property-accessors.html b/testing/web-platform/tests/css/cssom/property-accessors.html new file mode 100644 index 0000000000..87c9df0b32 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/property-accessors.html @@ -0,0 +1,64 @@ + + + +Accessing properties via CSSStyleDeclaration + + + + + +
+ diff --git a/testing/web-platform/tests/css/cssom/removerule-invalidation-crash.html b/testing/web-platform/tests/css/cssom/removerule-invalidation-crash.html new file mode 100644 index 0000000000..a83f43d5fa --- /dev/null +++ b/testing/web-platform/tests/css/cssom/removerule-invalidation-crash.html @@ -0,0 +1,16 @@ + + +CSSOM - removeRule doesn't assert when removing a particular set of rules + + + + diff --git a/testing/web-platform/tests/css/cssom/rule-restrictions.html b/testing/web-platform/tests/css/cssom/rule-restrictions.html new file mode 100644 index 0000000000..ce2dee37a0 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/rule-restrictions.html @@ -0,0 +1,51 @@ + + +CSSOM Should correctly honor property restrictions + + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/selectorSerialize.html b/testing/web-platform/tests/css/cssom/selectorSerialize.html new file mode 100644 index 0000000000..f3a402f5f0 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/selectorSerialize.html @@ -0,0 +1,121 @@ + + + + CSSOM Test: test serialized selector which is only one simple selector in the sequence of simple selectors + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/selectorText-modification-restyle-001-ref.html b/testing/web-platform/tests/css/cssom/selectorText-modification-restyle-001-ref.html new file mode 100644 index 0000000000..74e5807470 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/selectorText-modification-restyle-001-ref.html @@ -0,0 +1,13 @@ + + +(Ref #1) CSSOM - CSSStyleRule.selectorText Modification Restyle - Reference #1 + + + + +
I should be green.
+ diff --git a/testing/web-platform/tests/css/cssom/selectorText-modification-restyle-001.html b/testing/web-platform/tests/css/cssom/selectorText-modification-restyle-001.html new file mode 100644 index 0000000000..43a76d1ef2 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/selectorText-modification-restyle-001.html @@ -0,0 +1,22 @@ + + +(Test #1) CSSOM - CSSStyleRule.selectorText Modification Restyle - Test #1 + + + + + + +
I should be green.
+ + diff --git a/testing/web-platform/tests/css/cssom/selectorText-modification-restyle-002.html b/testing/web-platform/tests/css/cssom/selectorText-modification-restyle-002.html new file mode 100644 index 0000000000..a6b37c2cf0 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/selectorText-modification-restyle-002.html @@ -0,0 +1,31 @@ + +CSSOM: Modify selectorText in a shadow tree stylesheet + + + + + + +
+
+
+ diff --git a/testing/web-platform/tests/css/cssom/serialization-CSSDeclaration-with-important.html b/testing/web-platform/tests/css/cssom/serialization-CSSDeclaration-with-important.html new file mode 100644 index 0000000000..804885a74a --- /dev/null +++ b/testing/web-platform/tests/css/cssom/serialization-CSSDeclaration-with-important.html @@ -0,0 +1,32 @@ + + +cssom - Serialization of CSS declaration with "important" flag + + + +
+
+
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/cssom/serialize-all-longhands.html b/testing/web-platform/tests/css/cssom/serialize-all-longhands.html new file mode 100644 index 0000000000..95204b6361 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/serialize-all-longhands.html @@ -0,0 +1,36 @@ + + +Serialize all longhands + + + + +
+ + + + diff --git a/testing/web-platform/tests/css/cssom/serialize-custom-props.html b/testing/web-platform/tests/css/cssom/serialize-custom-props.html new file mode 100644 index 0000000000..cfe96ff0aa --- /dev/null +++ b/testing/web-platform/tests/css/cssom/serialize-custom-props.html @@ -0,0 +1,69 @@ + + + +Serializing Integers Never Uses Scinot + + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/serialize-media-rule.html b/testing/web-platform/tests/css/cssom/serialize-media-rule.html new file mode 100644 index 0000000000..90561fdf70 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/serialize-media-rule.html @@ -0,0 +1,185 @@ + + + + + CSSOM - Serialization of CSSMediaRule + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/serialize-namespaced-type-selectors.html b/testing/web-platform/tests/css/cssom/serialize-namespaced-type-selectors.html new file mode 100644 index 0000000000..600008c7a9 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/serialize-namespaced-type-selectors.html @@ -0,0 +1,257 @@ + + + + CSSOM Test: test serialization of type selectors and namespace prefixes + + + + + + + + + +
+ + + + diff --git a/testing/web-platform/tests/css/cssom/serialize-values.html b/testing/web-platform/tests/css/cssom/serialize-values.html new file mode 100644 index 0000000000..e92808af70 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/serialize-values.html @@ -0,0 +1,620 @@ + + +CSSOM serialize values + + + + + +
+
+ + diff --git a/testing/web-platform/tests/css/cssom/serialize-variable-reference.html b/testing/web-platform/tests/css/cssom/serialize-variable-reference.html new file mode 100644 index 0000000000..1d3cbad9e6 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/serialize-variable-reference.html @@ -0,0 +1,36 @@ + + +CSSOM - Serialization with variable preserves original serialization. + + + + +
+
+
+
+ diff --git a/testing/web-platform/tests/css/cssom/setproperty-null-undefined.html b/testing/web-platform/tests/css/cssom/setproperty-null-undefined.html new file mode 100644 index 0000000000..3de142c0b4 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/setproperty-null-undefined.html @@ -0,0 +1,47 @@ + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/shorthand-serialization.html b/testing/web-platform/tests/css/cssom/shorthand-serialization.html new file mode 100644 index 0000000000..97e11da8b8 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/shorthand-serialization.html @@ -0,0 +1,86 @@ + + + + + Shorthand serialization should be done correctly. + + + + + + +
foo
+
foo
+
foo
+ +
foo
+
foo
+
foo
+ +
foo
+
+ + + + diff --git a/testing/web-platform/tests/css/cssom/shorthand-values.html b/testing/web-platform/tests/css/cssom/shorthand-values.html new file mode 100644 index 0000000000..b64f7e9a12 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/shorthand-values.html @@ -0,0 +1,51 @@ + + + CSS OM: CSS Values + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/style-attr-update-across-documents.html b/testing/web-platform/tests/css/cssom/style-attr-update-across-documents.html new file mode 100644 index 0000000000..2b8f443520 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/style-attr-update-across-documents.html @@ -0,0 +1,48 @@ + +CSSStyleDeclaration setter works when a node changes document + + + + + + +
+ diff --git a/testing/web-platform/tests/css/cssom/style-sheet-interfaces-001.html b/testing/web-platform/tests/css/cssom/style-sheet-interfaces-001.html new file mode 100644 index 0000000000..07c4fbb41a --- /dev/null +++ b/testing/web-platform/tests/css/cssom/style-sheet-interfaces-001.html @@ -0,0 +1,140 @@ + + + + CSS Test: CSSOM StyleSheet Initial Values + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/style-sheet-interfaces-002.html b/testing/web-platform/tests/css/cssom/style-sheet-interfaces-002.html new file mode 100644 index 0000000000..e86a9a16e3 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/style-sheet-interfaces-002.html @@ -0,0 +1,40 @@ + + + + CSS Test: CSSOM StyleSheet Modify Rule List + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/stylesheet-replacedata-dynamic-ref.html b/testing/web-platform/tests/css/cssom/stylesheet-replacedata-dynamic-ref.html new file mode 100644 index 0000000000..bc9cadebf1 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/stylesheet-replacedata-dynamic-ref.html @@ -0,0 +1,7 @@ + +(Ref #1) CSS Test Reference + + + + +
Should be green
\ No newline at end of file diff --git a/testing/web-platform/tests/css/cssom/stylesheet-replacedata-dynamic.html b/testing/web-platform/tests/css/cssom/stylesheet-replacedata-dynamic.html new file mode 100644 index 0000000000..3ee5937c95 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/stylesheet-replacedata-dynamic.html @@ -0,0 +1,12 @@ + +(Test #1) CSS Test: Dynamic changes to the stylesheet contents using replaceData are reflected + + + + + +
Should be green
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/cssom/stylesheet-same-origin.css b/testing/web-platform/tests/css/cssom/stylesheet-same-origin.css new file mode 100644 index 0000000000..d61a8dd67c --- /dev/null +++ b/testing/web-platform/tests/css/cssom/stylesheet-same-origin.css @@ -0,0 +1,3 @@ +body { + padding: 10px; +} diff --git a/testing/web-platform/tests/css/cssom/stylesheet-same-origin.sub.html b/testing/web-platform/tests/css/cssom/stylesheet-same-origin.sub.html new file mode 100644 index 0000000000..6ad55190da --- /dev/null +++ b/testing/web-platform/tests/css/cssom/stylesheet-same-origin.sub.html @@ -0,0 +1,83 @@ + + + + + CSSOM - CSSStylesheet should support origins + + + + + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/cssom/stylesheet-title.html b/testing/web-platform/tests/css/cssom/stylesheet-title.html new file mode 100644 index 0000000000..77b1df9677 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/stylesheet-title.html @@ -0,0 +1,39 @@ + + +CSS Test: StyleSheet's title attribute + + + + + + + + + +

Should be green

+ diff --git a/testing/web-platform/tests/css/cssom/support/1x1-green.png b/testing/web-platform/tests/css/cssom/support/1x1-green.png new file mode 100644 index 0000000000..b98ca0ba0a Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/1x1-green.png differ diff --git a/testing/web-platform/tests/css/cssom/support/1x1-lime.png b/testing/web-platform/tests/css/cssom/support/1x1-lime.png new file mode 100644 index 0000000000..cb397fb090 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/1x1-lime.png differ diff --git a/testing/web-platform/tests/css/cssom/support/1x1-maroon.png b/testing/web-platform/tests/css/cssom/support/1x1-maroon.png new file mode 100644 index 0000000000..3f86b07219 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/1x1-maroon.png differ diff --git a/testing/web-platform/tests/css/cssom/support/1x1-navy.png b/testing/web-platform/tests/css/cssom/support/1x1-navy.png new file mode 100644 index 0000000000..9b9a03955b Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/1x1-navy.png differ diff --git a/testing/web-platform/tests/css/cssom/support/1x1-red.png b/testing/web-platform/tests/css/cssom/support/1x1-red.png new file mode 100644 index 0000000000..6bd73ac101 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/1x1-red.png differ diff --git a/testing/web-platform/tests/css/cssom/support/1x1-white.png b/testing/web-platform/tests/css/cssom/support/1x1-white.png new file mode 100644 index 0000000000..dd43faec54 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/1x1-white.png differ diff --git a/testing/web-platform/tests/css/cssom/support/60x60-gg-rr.png b/testing/web-platform/tests/css/cssom/support/60x60-gg-rr.png new file mode 100644 index 0000000000..84f5b2a4f1 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/60x60-gg-rr.png differ diff --git a/testing/web-platform/tests/css/cssom/support/60x60-green.png b/testing/web-platform/tests/css/cssom/support/60x60-green.png new file mode 100644 index 0000000000..b3c8cf3eb4 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/60x60-green.png differ diff --git a/testing/web-platform/tests/css/cssom/support/README b/testing/web-platform/tests/css/cssom/support/README new file mode 100644 index 0000000000..2e5f2ad073 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/support/README @@ -0,0 +1,28 @@ +CSS Global Support Directory +============================ + +This directory contains common support files (such as images and external +style sheets). These are sync'ed into the support directories of all our +test suites. If you have test-suite-specific support files, please add +them to the appropriate test-suite-specific support/ directory. + +If you add to a support/ directory, please run the tools/supportprop.py +script from the top of the repository to cascade support files into the +lower-level support directories. + +Description of the Common Support File Collection +------------------------------------------------- + +The 1x1-* images are all exactly one pixel. + +The swatch-* images all use 15x15 cells. + +The square-* images all use 15x15 cells with one pixel borders. + +The pattern-* images use cells of various sizes: + + pattern-grg-rgr-grg.png 20x20 + pattern-rgr-grg-rgr.png 20x20 + pattern-tr.png 15x15 + pattern-grg-rrg-rgg.png 15x15 + diff --git a/testing/web-platform/tests/css/cssom/support/a-green.css b/testing/web-platform/tests/css/cssom/support/a-green.css new file mode 100644 index 0000000000..b0dbb071d5 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/support/a-green.css @@ -0,0 +1 @@ +.a { color: green; } diff --git a/testing/web-platform/tests/css/cssom/support/b-green.css b/testing/web-platform/tests/css/cssom/support/b-green.css new file mode 100644 index 0000000000..a0473f5ca2 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/support/b-green.css @@ -0,0 +1 @@ +.b { color: green; } \ No newline at end of file diff --git a/testing/web-platform/tests/css/cssom/support/black.css b/testing/web-platform/tests/css/cssom/support/black.css new file mode 100644 index 0000000000..833a0e0092 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/support/black.css @@ -0,0 +1,4 @@ +html { +background-color: black; +color: white; +} \ No newline at end of file diff --git a/testing/web-platform/tests/css/cssom/support/c-red.css b/testing/web-platform/tests/css/cssom/support/c-red.css new file mode 100644 index 0000000000..d4ba5c64e9 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/support/c-red.css @@ -0,0 +1 @@ +.c { color: red; } \ No newline at end of file diff --git a/testing/web-platform/tests/css/cssom/support/cat.png b/testing/web-platform/tests/css/cssom/support/cat.png new file mode 100644 index 0000000000..85dd732481 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/cat.png differ diff --git a/testing/web-platform/tests/css/cssom/support/constructable-import.css b/testing/web-platform/tests/css/cssom/support/constructable-import.css new file mode 100644 index 0000000000..d8ccc9d491 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/support/constructable-import.css @@ -0,0 +1,3 @@ +* { + color: red; +} diff --git a/testing/web-platform/tests/css/cssom/support/getComputedStyle-insets.js b/testing/web-platform/tests/css/cssom/support/getComputedStyle-insets.js new file mode 100644 index 0000000000..723990cafb --- /dev/null +++ b/testing/web-platform/tests/css/cssom/support/getComputedStyle-insets.js @@ -0,0 +1,375 @@ +export const testEl = document.createElement("div"); +export const containerForInflow = document.createElement("div"); +export const containerForAbspos = document.createElement("div"); +export const containerForFixed = document.createElement("div"); + +testEl.id = "test"; +containerForInflow.id = "container-for-inflow"; +containerForAbspos.id = "container-for-abspos"; +containerForFixed.id = "container-for-fixed"; + +containerForInflow.appendChild(testEl); +containerForAbspos.appendChild(containerForInflow); +containerForFixed.appendChild(containerForAbspos); +document.body.appendChild(containerForFixed); + +const stylesheet = document.createElement("style"); +stylesheet.textContent = ` + #container-for-inflow { + /* Content area: 100px tall, 200px wide */ + height: 100px; + width: 200px; + padding: 1px 2px; + border-width: 2px 4px; + margin: 4px 8px; + } + #container-for-abspos { + /* Padding area: 200px tall, 400px wide */ + height: 184px; + width: 368px; + padding: 8px 16px; + border-width: 16px 32px; + margin: 32px 64px; + position: relative; + } + #container-for-fixed { + /* Padding area: 300px tall, 600px wide */ + height: 172px; + width: 344px; + padding: 64px 128px; + border-width: 128px 256px; + margin: 256px 512px; + position: absolute; + transform: scale(1); + visibility: hidden; + } + [id ^= container] { + border-style: solid; + } +`; +document.head.prepend(stylesheet); + +function runTestsWithWM(data, testWM, cbWM) { + const { + style, + containingBlockElement, + containingBlockArea, + preservesPercentages, + preservesAuto, + canStretchAutoSize, + staticPositionX, + staticPositionY, + } = data; + + let cbHeight = containingBlockElement ? containingBlockElement.clientHeight : NaN; + let cbWidth = containingBlockElement ? containingBlockElement.clientWidth : NaN; + if (containingBlockElement && containingBlockArea == "content") { + const cs = getComputedStyle(containingBlockElement); + cbHeight -= parseFloat(cs.paddingTop) + parseFloat(cs.paddingBottom); + cbWidth -= parseFloat(cs.paddingLeft) + parseFloat(cs.paddingRight); + } + + const staticPositionTop = cbWM.blockStart == "top" || cbWM.inlineStart == "top" + ? staticPositionY : cbHeight - staticPositionY; + const staticPositionLeft = cbWM.blockStart == "left" || cbWM.inlineStart == "left" + ? staticPositionX : cbWidth - staticPositionX; + const staticPositionBottom = cbWM.blockStart == "bottom" || cbWM.inlineStart == "bottom" + ? staticPositionY : cbHeight - staticPositionY; + const staticPositionRight = cbWM.blockStart == "right" || cbWM.inlineStart == "right" + ? staticPositionX : cbWidth - staticPositionX; + + function serialize(declarations) { + return Object.entries(declarations).map(([p, v]) => `${p}: ${v}; `).join(""); + } + + function wmName(wm) { + return Object.values(wm.style).join(" "); + } + + function checkStyle(declarations, expected, msg) { + test(function() { + testEl.style.cssText = style + "; " + serialize(Object.assign({}, declarations, testWM.style)); + if (containingBlockElement) { + containingBlockElement.style.cssText = serialize(Object.assign({}, cbWM.style)); + } + const cs = getComputedStyle(testEl); + for (let [prop, value] of Object.entries(expected)) { + assert_equals(cs[prop], value, `'${prop}'`); + } + }, `${wmName(testWM)} inside ${wmName(cbWM)} - ${msg}`); + + testEl.style.cssText = ""; + if (containingBlockElement) { + containingBlockElement.style.cssText = ""; + } + } + + checkStyle({ + top: "1px", + left: "2px", + bottom: "3px", + right: "4px", + }, { + top: "1px", + left: "2px", + bottom: "3px", + right: "4px", + }, "Pixels resolve as-is"); + + checkStyle({ + top: "1em", + left: "2em", + bottom: "3em", + right: "4em", + "font-size": "10px", + }, { + top: "10px", + left: "20px", + bottom: "30px", + right: "40px", + }, "Relative lengths are absolutized into pixels"); + + if (preservesPercentages) { + checkStyle({ + top: "10%", + left: "25%", + bottom: "50%", + right: "75%", + }, { + top: "10%", + left: "25%", + bottom: "50%", + right: "75%", + }, "Percentages resolve as-is"); + } else { + checkStyle({ + top: "10%", + left: "25%", + bottom: "50%", + right: "75%", + }, { + top: cbHeight * 10 / 100 + "px", + left: cbWidth * 25 / 100 + "px", + bottom: cbHeight * 50 / 100 + "px", + right: cbWidth * 75 / 100 + "px", + }, "Percentages are absolutized into pixels"); + + checkStyle({ + top: "calc(10% - 1px)", + left: "calc(25% - 2px)", + bottom: "calc(50% - 3px)", + right: "calc(75% - 4px)", + }, { + top: cbHeight * 10 / 100 - 1 + "px", + left: cbWidth * 25 / 100 - 2 + "px", + bottom: cbHeight * 50 / 100 - 3 + "px", + right: cbWidth * 75 / 100 - 4 + "px", + }, "calc() is absolutized into pixels"); + } + + if (canStretchAutoSize) { + // Force overconstraintment by setting size or with insets that would result in + // negative size. Then the resolved value should be the computed one according to + // https://drafts.csswg.org/cssom/#resolved-value-special-case-property-like-top + + checkStyle({ + top: "1px", + left: "2px", + bottom: "3px", + right: "4px", + height: "0px", + width: "0px", + }, { + top: "1px", + left: "2px", + bottom: "3px", + right: "4px", + }, "Pixels resolve as-is when overconstrained"); + + checkStyle({ + top: "100%", + left: "100%", + bottom: "100%", + right: "100%", + }, { + top: cbHeight + "px", + left: cbWidth + "px", + bottom: cbHeight + "px", + right: cbWidth + "px", + }, "Percentages absolutize the computed value when overconstrained"); + } + + if (preservesAuto) { + checkStyle({ + top: "auto", + left: "auto", + bottom: "3px", + right: "4px", + }, { + top: "auto", + left: "auto", + bottom: "3px", + right: "4px", + }, "If start side is 'auto' and end side is not, 'auto' resolves as-is"); + + checkStyle({ + top: "1px", + left: "2px", + bottom: "auto", + right: "auto", + }, { + top: "1px", + left: "2px", + bottom: "auto", + right: "auto", + }, "If end side is 'auto' and start side is not, 'auto' resolves as-is"); + + checkStyle({ + top: "auto", + left: "auto", + bottom: "auto", + right: "auto", + }, { + top: "auto", + left: "auto", + bottom: "auto", + right: "auto", + }, "If opposite sides are 'auto', they resolve as-is"); + } else if (canStretchAutoSize) { + checkStyle({ + top: "auto", + left: "auto", + bottom: "3px", + right: "4px", + }, { + top: cbHeight - 3 + "px", + left: cbWidth - 4 + "px", + bottom: "3px", + right: "4px", + }, "If start side is 'auto' and end side is not, 'auto' resolves to used value"); + + checkStyle({ + top: "1px", + left: "2px", + bottom: "auto", + right: "auto", + }, { + top: "1px", + left: "2px", + bottom: cbHeight - 1 + "px", + right: cbWidth - 2 + "px", + }, "If end side is 'auto' and start side is not, 'auto' resolves to used value"); + + checkStyle({ + top: "auto", + left: "auto", + bottom: "auto", + right: "auto", + }, { + top: staticPositionTop + "px", + left: staticPositionLeft + "px", + bottom: staticPositionBottom + "px", + right: staticPositionRight + "px", + }, "If opposite sides are 'auto', they resolve to used value"); + } else { + checkStyle({ + top: "auto", + left: "auto", + bottom: "3px", + right: "4px", + }, { + top: "-3px", + left: "-4px", + bottom: "3px", + right: "4px", + }, "If start side is 'auto' and end side is not, 'auto' resolves to used value"); + + checkStyle({ + top: "1px", + left: "2px", + bottom: "auto", + right: "auto", + }, { + top: "1px", + left: "2px", + bottom: "-1px", + right: "-2px", + }, "If end side is 'auto' and start side is not, 'auto' resolves to used value"); + + checkStyle({ + top: "auto", + left: "auto", + bottom: "auto", + right: "auto", + }, { + top: "0px", + left: "0px", + bottom: "0px", + right: "0px", + }, "If opposite sides are 'auto', they resolve to used value"); + } +} + +const writingModes = [{ + style: { + "writing-mode": "horizontal-tb", + "direction": "ltr", + }, + blockStart: "top", + blockEnd: "bottom", + inlineStart: "left", + inlineEnd: "right", +}, { + style: { + "writing-mode": "horizontal-tb", + "direction": "rtl", + }, + blockStart: "top", + blockEnd: "bottom", + inlineStart: "right", + inlineEnd: "left", +}, { + style: { + "writing-mode": "vertical-lr", + "direction": "ltr", + }, + blockStart: "left", + blockEnd: "right", + inlineStart: "top", + inlineEnd: "bottom", +}, { + style: { + "writing-mode": "vertical-lr", + "direction": "rtl", + }, + blockStart: "left", + blockEnd: "right", + inlineStart: "bottom", + inlineEnd: "top", +}, { + style: { + "writing-mode": "vertical-rl", + "direction": "ltr", + }, + blockStart: "right", + blockEnd: "left", + inlineStart: "top", + inlineEnd: "bottom", +}, { + style: { + "writing-mode": "vertical-rl", + "direction": "rtl", + }, + blockStart: "right", + blockEnd: "left", + inlineStart: "bottom", + inlineEnd: "top", +}]; + +export function runTests(data) { + for (let testWM of writingModes) { + for (let cbWM of writingModes) { + runTestsWithWM(data, testWM, cbWM); + } + } +} diff --git a/testing/web-platform/tests/css/cssom/support/import-charset.css b/testing/web-platform/tests/css/cssom/support/import-charset.css new file mode 100644 index 0000000000..9f44090c94 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/support/import-charset.css @@ -0,0 +1 @@ +@charset "UTF-8"; diff --git a/testing/web-platform/tests/css/cssom/support/import-green.css b/testing/web-platform/tests/css/cssom/support/import-green.css new file mode 100644 index 0000000000..537104e663 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/support/import-green.css @@ -0,0 +1 @@ +.import { color: green; } diff --git a/testing/web-platform/tests/css/cssom/support/import-red.css b/testing/web-platform/tests/css/cssom/support/import-red.css new file mode 100644 index 0000000000..9945ef4711 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/support/import-red.css @@ -0,0 +1 @@ +.import { color: red; } diff --git a/testing/web-platform/tests/css/cssom/support/import-rule.css b/testing/web-platform/tests/css/cssom/support/import-rule.css new file mode 100644 index 0000000000..5edcef7e69 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/support/import-rule.css @@ -0,0 +1 @@ +@import "import-red.css"; diff --git a/testing/web-platform/tests/css/cssom/support/malformed-http-response.asis b/testing/web-platform/tests/css/cssom/support/malformed-http-response.asis new file mode 100644 index 0000000000..bc3c68d46d --- /dev/null +++ b/testing/web-platform/tests/css/cssom/support/malformed-http-response.asis @@ -0,0 +1 @@ +HAHAHA THIS IS NOT HTTP AND THE BROWSER SHOULD CONSIDER IT A NETWORK ERROR diff --git a/testing/web-platform/tests/css/cssom/support/pattern-grg-rgr-grg.png b/testing/web-platform/tests/css/cssom/support/pattern-grg-rgr-grg.png new file mode 100644 index 0000000000..9b88fbd811 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/pattern-grg-rgr-grg.png differ diff --git a/testing/web-platform/tests/css/cssom/support/pattern-grg-rrg-rgg.png b/testing/web-platform/tests/css/cssom/support/pattern-grg-rrg-rgg.png new file mode 100644 index 0000000000..fcf4f3fd7d Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/pattern-grg-rrg-rgg.png differ diff --git a/testing/web-platform/tests/css/cssom/support/pattern-rgr-grg-rgr.png b/testing/web-platform/tests/css/cssom/support/pattern-rgr-grg-rgr.png new file mode 100644 index 0000000000..d454e3a630 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/pattern-rgr-grg-rgr.png differ diff --git a/testing/web-platform/tests/css/cssom/support/pattern-tr.png b/testing/web-platform/tests/css/cssom/support/pattern-tr.png new file mode 100644 index 0000000000..8b4b25364e Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/pattern-tr.png differ diff --git a/testing/web-platform/tests/css/cssom/support/ruler-h-50%.png b/testing/web-platform/tests/css/cssom/support/ruler-h-50%.png new file mode 100644 index 0000000000..cf2eea6b43 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/ruler-h-50%.png differ diff --git a/testing/web-platform/tests/css/cssom/support/ruler-h-50px.png b/testing/web-platform/tests/css/cssom/support/ruler-h-50px.png new file mode 100644 index 0000000000..9f46583665 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/ruler-h-50px.png differ diff --git a/testing/web-platform/tests/css/cssom/support/ruler-v-100px.png b/testing/web-platform/tests/css/cssom/support/ruler-v-100px.png new file mode 100644 index 0000000000..a837eca222 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/ruler-v-100px.png differ diff --git a/testing/web-platform/tests/css/cssom/support/ruler-v-50px.png b/testing/web-platform/tests/css/cssom/support/ruler-v-50px.png new file mode 100644 index 0000000000..8414102802 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/ruler-v-50px.png differ diff --git a/testing/web-platform/tests/css/cssom/support/square-purple.png b/testing/web-platform/tests/css/cssom/support/square-purple.png new file mode 100644 index 0000000000..0f522d7872 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/square-purple.png differ diff --git a/testing/web-platform/tests/css/cssom/support/square-teal.png b/testing/web-platform/tests/css/cssom/support/square-teal.png new file mode 100644 index 0000000000..e567f51b91 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/square-teal.png differ diff --git a/testing/web-platform/tests/css/cssom/support/square-white.png b/testing/web-platform/tests/css/cssom/support/square-white.png new file mode 100644 index 0000000000..5853cbb238 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/square-white.png differ diff --git a/testing/web-platform/tests/css/cssom/support/support/README b/testing/web-platform/tests/css/cssom/support/support/README new file mode 100644 index 0000000000..ea8cb9ef35 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/support/support/README @@ -0,0 +1,4 @@ +The swatch-green.png file in this directory is really a RED swatch, +and the swatch-red.png file is really a green swatch. + +This directory is used to test relative URIs. \ No newline at end of file diff --git a/testing/web-platform/tests/css/cssom/support/support/swatch-green.png b/testing/web-platform/tests/css/cssom/support/support/swatch-green.png new file mode 100644 index 0000000000..1caf25c992 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/support/swatch-green.png differ diff --git a/testing/web-platform/tests/css/cssom/support/support/swatch-red.png b/testing/web-platform/tests/css/cssom/support/support/swatch-red.png new file mode 100644 index 0000000000..0aa79b0c86 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/support/swatch-red.png differ diff --git a/testing/web-platform/tests/css/cssom/support/swatch-blue.png b/testing/web-platform/tests/css/cssom/support/swatch-blue.png new file mode 100644 index 0000000000..bf2759634d Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/swatch-blue.png differ diff --git a/testing/web-platform/tests/css/cssom/support/swatch-green.png b/testing/web-platform/tests/css/cssom/support/swatch-green.png new file mode 100644 index 0000000000..0aa79b0c86 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/swatch-green.png differ diff --git a/testing/web-platform/tests/css/cssom/support/swatch-lime.png b/testing/web-platform/tests/css/cssom/support/swatch-lime.png new file mode 100644 index 0000000000..55fd7fdaed Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/swatch-lime.png differ diff --git a/testing/web-platform/tests/css/cssom/support/swatch-orange.png b/testing/web-platform/tests/css/cssom/support/swatch-orange.png new file mode 100644 index 0000000000..d3cd498b52 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/swatch-orange.png differ diff --git a/testing/web-platform/tests/css/cssom/support/swatch-red.png b/testing/web-platform/tests/css/cssom/support/swatch-red.png new file mode 100644 index 0000000000..1caf25c992 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/swatch-red.png differ diff --git a/testing/web-platform/tests/css/cssom/support/swatch-teal.png b/testing/web-platform/tests/css/cssom/support/swatch-teal.png new file mode 100644 index 0000000000..0293ce89de Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/swatch-teal.png differ diff --git a/testing/web-platform/tests/css/cssom/support/swatch-white.png b/testing/web-platform/tests/css/cssom/support/swatch-white.png new file mode 100644 index 0000000000..1a7d4323d7 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/swatch-white.png differ diff --git a/testing/web-platform/tests/css/cssom/support/swatch-yellow.png b/testing/web-platform/tests/css/cssom/support/swatch-yellow.png new file mode 100644 index 0000000000..1591aa0e2e Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/swatch-yellow.png differ diff --git a/testing/web-platform/tests/css/cssom/support/test-bl.png b/testing/web-platform/tests/css/cssom/support/test-bl.png new file mode 100644 index 0000000000..904e24e996 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/test-bl.png differ diff --git a/testing/web-platform/tests/css/cssom/support/test-br.png b/testing/web-platform/tests/css/cssom/support/test-br.png new file mode 100644 index 0000000000..f413ff5c1a Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/test-br.png differ diff --git a/testing/web-platform/tests/css/cssom/support/test-inner-half-size.png b/testing/web-platform/tests/css/cssom/support/test-inner-half-size.png new file mode 100644 index 0000000000..e473bf80ef Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/test-inner-half-size.png differ diff --git a/testing/web-platform/tests/css/cssom/support/test-outer.png b/testing/web-platform/tests/css/cssom/support/test-outer.png new file mode 100644 index 0000000000..82eeace7fc Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/test-outer.png differ diff --git a/testing/web-platform/tests/css/cssom/support/test-tl.png b/testing/web-platform/tests/css/cssom/support/test-tl.png new file mode 100644 index 0000000000..f6ac0ef7e8 Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/test-tl.png differ diff --git a/testing/web-platform/tests/css/cssom/support/test-tr.png b/testing/web-platform/tests/css/cssom/support/test-tr.png new file mode 100644 index 0000000000..59843ae54b Binary files /dev/null and b/testing/web-platform/tests/css/cssom/support/test-tr.png differ diff --git a/testing/web-platform/tests/css/cssom/support/xmlss-pi.xhtml b/testing/web-platform/tests/css/cssom/support/xmlss-pi.xhtml new file mode 100644 index 0000000000..8e22b50b25 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/support/xmlss-pi.xhtml @@ -0,0 +1 @@ + diff --git a/testing/web-platform/tests/css/cssom/ttwf-cssom-doc-ext-load-count.html b/testing/web-platform/tests/css/cssom/ttwf-cssom-doc-ext-load-count.html new file mode 100644 index 0000000000..5c2b9e6f46 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/ttwf-cssom-doc-ext-load-count.html @@ -0,0 +1,61 @@ + + + + CSSOM - Extensions to the Document Interface: StyleSheetList length reflects dynamically loaded and unloaded sheets + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/ttwf-cssom-doc-ext-load-tree-order.html b/testing/web-platform/tests/css/cssom/ttwf-cssom-doc-ext-load-tree-order.html new file mode 100644 index 0000000000..2824401cb2 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/ttwf-cssom-doc-ext-load-tree-order.html @@ -0,0 +1,56 @@ + + + + CSSOM - Extensions to the Document Interface: Stylesheet header load order + + + + + + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/ttwf-cssom-document-extension.html b/testing/web-platform/tests/css/cssom/ttwf-cssom-document-extension.html new file mode 100644 index 0000000000..0c9116dc4b --- /dev/null +++ b/testing/web-platform/tests/css/cssom/ttwf-cssom-document-extension.html @@ -0,0 +1,25 @@ + + + + CSSOM - Extensions to the Document Interface: StyleSheetList length is 0 when no sheets loaded + + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/cssom/variable-names.html b/testing/web-platform/tests/css/cssom/variable-names.html new file mode 100644 index 0000000000..5591411e6e --- /dev/null +++ b/testing/web-platform/tests/css/cssom/variable-names.html @@ -0,0 +1,48 @@ + + +Tests for handling of CSS Custom Property names + + + + +
+ diff --git a/testing/web-platform/tests/css/cssom/xml-stylesheet-pi-in-doctype.xhtml b/testing/web-platform/tests/css/cssom/xml-stylesheet-pi-in-doctype.xhtml new file mode 100644 index 0000000000..d25ca17656 --- /dev/null +++ b/testing/web-platform/tests/css/cssom/xml-stylesheet-pi-in-doctype.xhtml @@ -0,0 +1,17 @@ +]> + + + xml-stylesheet processing instruction in doctype internal subset + + + + + + + + -- cgit v1.2.3