From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- testing/web-platform/tests/css/css-syntax/META.yml | 4 + .../tests/css/css-syntax/WEB_FEATURES.yml | 6 + .../tests/css/css-syntax/anb-parsing.html | 125 ++++++++++++ .../tests/css/css-syntax/anb-serialization.html | 62 ++++++ .../css-syntax/at-rule-in-declaration-list.html | 76 +++++++ .../tests/css/css-syntax/cdc-vs-ident-tokens.html | 28 +++ .../css/css-syntax/charset-is-not-a-rule.html | 17 ++ .../tests/css/css-syntax/charset/.htaccess | 4 + .../tests/css/css-syntax/charset/MANIFEST | 20 ++ .../charset/page-utf16-css-bomless-utf16.html | Bin 0 -> 1196 bytes .../charset/page-utf16-css-bomless-utf16be.html | Bin 0 -> 1206 bytes .../charset/page-utf16-css-no-decl-ascii-only.html | Bin 0 -> 1198 bytes .../css-syntax/charset/page-utf16-css-no-decl.html | Bin 0 -> 1188 bytes .../page-windows-1251-charset-attribute-bogus.html | 17 ++ ...harset-1250-charset-attribute-windows-1253.html | 17 ++ ...arset-bogus-charset-attribute-windows-1250.html | 17 ++ .../page-windows-1251-css-at-charset-bogus.html | 17 ++ ...ndows-1251-css-at-charset-utf16-ascii-only.html | 17 ++ .../page-windows-1251-css-at-charset-utf16.html | 17 ++ .../page-windows-1251-css-at-charset-utf16be.html | 17 ++ ...-1251-css-at-charset-windows-1250-in-utf16.html | 23 +++ ...251-css-at-charset-windows-1250-in-utf16be.html | 23 +++ ...251-css-http-bogus-at-charset-windows-1250.html | 17 ++ .../charset/page-windows-1251-css-http-bogus.html | 17 ++ ...-http-windows-1250-at-charset-windows-1253.html | 17 ++ .../charset/page-windows-1251-css-no-decl.html | 17 ++ .../charset/page-windows-1251-css-utf8-bom.html | 17 ++ ...indows-1252-http-windows-1251-css-utf8-bom.html | 17 ++ .../tests/css/css-syntax/charset/support/MANIFEST | 15 ++ .../charset/support/at-charset-bogus.css | 2 + .../support/at-charset-utf16-ascii-only.css | 2 + .../charset/support/at-charset-utf16.css | 2 + .../charset/support/at-charset-utf16be.css | 2 + .../support/at-charset-windows-1250-in-utf16.css | Bin 0 -> 77 bytes .../support/at-charset-windows-1250-in-utf16be.css | Bin 0 -> 77 bytes .../charset/support/at-charset-windows-1250.css | 2 + .../css-syntax/charset/support/bomless-utf16.css | Bin 0 -> 52 bytes .../css-syntax/charset/support/bomless-utf16be.css | Bin 0 -> 52 bytes .../http-bogus-at-charset-windows-1250.bogus.css | 2 + ...bogus-at-charset-windows-1250.bogus.css.headers | 1 + .../charset/support/http-bogus.bogus.css | 1 + .../charset/support/http-bogus.bogus.css.headers | 1 + ...ws-1250-at-charset-windows-1253.windows1250.css | 2 + ...at-charset-windows-1253.windows1250.css.headers | 1 + .../charset/support/no-decl-ascii-only.css | 1 + .../css/css-syntax/charset/support/no-decl.css | 1 + .../charset/support/utf8-bom-http-windows-1251.css | 1 + .../support/utf8-bom-http-windows-1251.css.headers | 1 + .../css/css-syntax/charset/support/utf8-bom.css | 1 + ...ndows-1251-charset-attribute-windows-1250.xhtml | 20 ++ .../css-syntax/custom-property-rule-ambiguity.html | 84 ++++++++ .../css/css-syntax/decimal-points-in-numbers.html | 56 ++++++ .../css-syntax/declarations-trim-whitespace.html | 54 +++++ .../tests/css/css-syntax/escaped-eof.html | 46 +++++ .../css/css-syntax/ident-three-code-points.html | 73 +++++++ .../tests/css/css-syntax/inclusive-ranges.html | 60 ++++++ .../tests/css/css-syntax/input-preprocessing.html | 46 +++++ .../css/css-syntax/missing-semicolon-ref.html | 9 + .../tests/css/css-syntax/missing-semicolon.html | 13 ++ .../tests/css/css-syntax/non-ascii-codepoints.html | 81 ++++++++ .../css-syntax/serialize-consecutive-tokens.html | 121 ++++++++++++ .../css/css-syntax/support/missing-semicolon.css | 5 + .../tests/css/css-syntax/trailing-braces.html | 20 ++ .../tests/css/css-syntax/unclosed-constructs.html | 36 ++++ .../tests/css/css-syntax/unclosed-url-at-eof.html | 29 +++ .../css/css-syntax/unicode-range-selector.html | 20 ++ .../tests/css/css-syntax/urange-parsing.html | 175 ++++++++++++++++ .../css/css-syntax/url-whitespace-consumption.html | 32 +++ .../tests/css/css-syntax/var-with-blocks.html | 219 +++++++++++++++++++++ .../tests/css/css-syntax/whitespace.html | 62 ++++++ 70 files changed, 1908 insertions(+) create mode 100644 testing/web-platform/tests/css/css-syntax/META.yml create mode 100644 testing/web-platform/tests/css/css-syntax/WEB_FEATURES.yml create mode 100644 testing/web-platform/tests/css/css-syntax/anb-parsing.html create mode 100644 testing/web-platform/tests/css/css-syntax/anb-serialization.html create mode 100644 testing/web-platform/tests/css/css-syntax/at-rule-in-declaration-list.html create mode 100644 testing/web-platform/tests/css/css-syntax/cdc-vs-ident-tokens.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset-is-not-a-rule.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/.htaccess create mode 100644 testing/web-platform/tests/css/css-syntax/charset/MANIFEST create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-utf16-css-bomless-utf16.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-utf16-css-bomless-utf16be.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-utf16-css-no-decl-ascii-only.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-utf16-css-no-decl.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-charset-attribute-bogus.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-1250-charset-attribute-windows-1253.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-bogus-charset-attribute-windows-1250.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-bogus.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-utf16-ascii-only.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-utf16.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-utf16be.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-windows-1250-in-utf16.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-windows-1250-in-utf16be.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-http-bogus-at-charset-windows-1250.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-http-bogus.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-http-windows-1250-at-charset-windows-1253.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-no-decl.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-utf8-bom.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/page-windows-1252-http-windows-1251-css-utf8-bom.html create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/MANIFEST create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/at-charset-bogus.css create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/at-charset-utf16-ascii-only.css create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/at-charset-utf16.css create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/at-charset-utf16be.css create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/at-charset-windows-1250-in-utf16.css create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/at-charset-windows-1250-in-utf16be.css create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/at-charset-windows-1250.css create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/bomless-utf16.css create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/bomless-utf16be.css create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/http-bogus-at-charset-windows-1250.bogus.css create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/http-bogus-at-charset-windows-1250.bogus.css.headers create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/http-bogus.bogus.css create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/http-bogus.bogus.css.headers create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/http-windows-1250-at-charset-windows-1253.windows1250.css create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/http-windows-1250-at-charset-windows-1253.windows1250.css.headers create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/no-decl-ascii-only.css create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/no-decl.css create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/utf8-bom-http-windows-1251.css create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/utf8-bom-http-windows-1251.css.headers create mode 100644 testing/web-platform/tests/css/css-syntax/charset/support/utf8-bom.css create mode 100644 testing/web-platform/tests/css/css-syntax/charset/xml-stylesheet-page-windows-1251-charset-attribute-windows-1250.xhtml create mode 100644 testing/web-platform/tests/css/css-syntax/custom-property-rule-ambiguity.html create mode 100644 testing/web-platform/tests/css/css-syntax/decimal-points-in-numbers.html create mode 100644 testing/web-platform/tests/css/css-syntax/declarations-trim-whitespace.html create mode 100644 testing/web-platform/tests/css/css-syntax/escaped-eof.html create mode 100644 testing/web-platform/tests/css/css-syntax/ident-three-code-points.html create mode 100644 testing/web-platform/tests/css/css-syntax/inclusive-ranges.html create mode 100644 testing/web-platform/tests/css/css-syntax/input-preprocessing.html create mode 100644 testing/web-platform/tests/css/css-syntax/missing-semicolon-ref.html create mode 100644 testing/web-platform/tests/css/css-syntax/missing-semicolon.html create mode 100644 testing/web-platform/tests/css/css-syntax/non-ascii-codepoints.html create mode 100644 testing/web-platform/tests/css/css-syntax/serialize-consecutive-tokens.html create mode 100644 testing/web-platform/tests/css/css-syntax/support/missing-semicolon.css create mode 100644 testing/web-platform/tests/css/css-syntax/trailing-braces.html create mode 100644 testing/web-platform/tests/css/css-syntax/unclosed-constructs.html create mode 100644 testing/web-platform/tests/css/css-syntax/unclosed-url-at-eof.html create mode 100644 testing/web-platform/tests/css/css-syntax/unicode-range-selector.html create mode 100644 testing/web-platform/tests/css/css-syntax/urange-parsing.html create mode 100644 testing/web-platform/tests/css/css-syntax/url-whitespace-consumption.html create mode 100644 testing/web-platform/tests/css/css-syntax/var-with-blocks.html create mode 100644 testing/web-platform/tests/css/css-syntax/whitespace.html (limited to 'testing/web-platform/tests/css/css-syntax') diff --git a/testing/web-platform/tests/css/css-syntax/META.yml b/testing/web-platform/tests/css/css-syntax/META.yml new file mode 100644 index 0000000000..359219c099 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/META.yml @@ -0,0 +1,4 @@ +spec: https://drafts.csswg.org/css-syntax/ +suggested_reviewers: + - gregwhitworth + - tabatkins diff --git a/testing/web-platform/tests/css/css-syntax/WEB_FEATURES.yml b/testing/web-platform/tests/css/css-syntax/WEB_FEATURES.yml new file mode 100644 index 0000000000..5515467061 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/WEB_FEATURES.yml @@ -0,0 +1,6 @@ +features: +- name: nesting + files: + - custom-property-rule-ambiguity.html + - trailing-braces.html + - var-with-blocks.html diff --git a/testing/web-platform/tests/css/css-syntax/anb-parsing.html b/testing/web-platform/tests/css/css-syntax/anb-parsing.html new file mode 100644 index 0000000000..7fcc06e2c7 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/anb-parsing.html @@ -0,0 +1,125 @@ + +An+B Parsing + + + + + + + + diff --git a/testing/web-platform/tests/css/css-syntax/anb-serialization.html b/testing/web-platform/tests/css/css-syntax/anb-serialization.html new file mode 100644 index 0000000000..787700cebf --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/anb-serialization.html @@ -0,0 +1,62 @@ + +An+B Serialization + + + + + + + + diff --git a/testing/web-platform/tests/css/css-syntax/at-rule-in-declaration-list.html b/testing/web-platform/tests/css/css-syntax/at-rule-in-declaration-list.html new file mode 100644 index 0000000000..f40975d27e --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/at-rule-in-declaration-list.html @@ -0,0 +1,76 @@ + +CSS Syntax Test: handle at-rules in declaration lists + + + + + diff --git a/testing/web-platform/tests/css/css-syntax/cdc-vs-ident-tokens.html b/testing/web-platform/tests/css/css-syntax/cdc-vs-ident-tokens.html new file mode 100644 index 0000000000..02cfbe11ae --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/cdc-vs-ident-tokens.html @@ -0,0 +1,28 @@ + +CDC versus Ident Token + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-syntax/charset-is-not-a-rule.html b/testing/web-platform/tests/css/css-syntax/charset-is-not-a-rule.html new file mode 100644 index 0000000000..ff8d3298b6 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset-is-not-a-rule.html @@ -0,0 +1,17 @@ + +@charset isn't a valid rule and should be dropped + + + + + + diff --git a/testing/web-platform/tests/css/css-syntax/charset/.htaccess b/testing/web-platform/tests/css/css-syntax/charset/.htaccess new file mode 100644 index 0000000000..e14b20d395 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/.htaccess @@ -0,0 +1,4 @@ +IndexOptions NameWidth=* +AddDefaultCharset Off +AddCharset bogus .bogus +AddCharset windows-1250 .windows1250 diff --git a/testing/web-platform/tests/css/css-syntax/charset/MANIFEST b/testing/web-platform/tests/css/css-syntax/charset/MANIFEST new file mode 100644 index 0000000000..4bc83f6e70 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/MANIFEST @@ -0,0 +1,20 @@ +page-utf16-css-bomless-utf16be.html +page-utf16-css-bomless-utf16.html +page-utf16-css-no-decl-ascii-only.html +page-utf16-css-no-decl.html +page-windows-1251-charset-attribute-bogus.html +page-windows-1251-css-at-charset-1250-charset-attribute-windows-1253.html +page-windows-1251-css-at-charset-bogus-charset-attribute-windows-1250.html +page-windows-1251-css-at-charset-bogus.html +page-windows-1251-css-at-charset-utf16-ascii-only.html +page-windows-1251-css-at-charset-utf16be.html +page-windows-1251-css-at-charset-utf16.html +page-windows-1251-css-at-charset-windows-1250-in-utf16be.html +page-windows-1251-css-at-charset-windows-1250-in-utf16.html +page-windows-1251-css-http-bogus-at-charset-windows-1250.html +page-windows-1251-css-http-bogus.html +page-windows-1251-css-http-windows-1250-at-charset-windows-1253.html +page-windows-1251-css-no-decl.html +page-windows-1251-css-utf8-bom.html +dir support +xml-stylesheet-page-windows-1251-charset-attribute-windows-1250.xhtml diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-utf16-css-bomless-utf16.html b/testing/web-platform/tests/css/css-syntax/charset/page-utf16-css-bomless-utf16.html new file mode 100644 index 0000000000..f98bc211b1 Binary files /dev/null and b/testing/web-platform/tests/css/css-syntax/charset/page-utf16-css-bomless-utf16.html differ diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-utf16-css-bomless-utf16be.html b/testing/web-platform/tests/css/css-syntax/charset/page-utf16-css-bomless-utf16be.html new file mode 100644 index 0000000000..1d4728322d Binary files /dev/null and b/testing/web-platform/tests/css/css-syntax/charset/page-utf16-css-bomless-utf16be.html differ diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-utf16-css-no-decl-ascii-only.html b/testing/web-platform/tests/css/css-syntax/charset/page-utf16-css-no-decl-ascii-only.html new file mode 100644 index 0000000000..56e09ace11 Binary files /dev/null and b/testing/web-platform/tests/css/css-syntax/charset/page-utf16-css-no-decl-ascii-only.html differ diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-utf16-css-no-decl.html b/testing/web-platform/tests/css/css-syntax/charset/page-utf16-css-no-decl.html new file mode 100644 index 0000000000..2ff52cf5d7 Binary files /dev/null and b/testing/web-platform/tests/css/css-syntax/charset/page-utf16-css-no-decl.html differ diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-charset-attribute-bogus.html b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-charset-attribute-bogus.html new file mode 100644 index 0000000000..939143a763 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-charset-attribute-bogus.html @@ -0,0 +1,17 @@ + +CSS charset: page windows-1251, charset attribute bogus + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-1250-charset-attribute-windows-1253.html b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-1250-charset-attribute-windows-1253.html new file mode 100644 index 0000000000..df51dfa30c --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-1250-charset-attribute-windows-1253.html @@ -0,0 +1,17 @@ + +CSS charset: page windows-1251, @charset windows-1250, charset attribute windows-1253 + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-bogus-charset-attribute-windows-1250.html b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-bogus-charset-attribute-windows-1250.html new file mode 100644 index 0000000000..7521e85afe --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-bogus-charset-attribute-windows-1250.html @@ -0,0 +1,17 @@ + +CSS charset: page windows-1251, CSS @charset bogus, charset attribute windows-1250 + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-bogus.html b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-bogus.html new file mode 100644 index 0000000000..2d7c3ef611 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-bogus.html @@ -0,0 +1,17 @@ + +CSS charset: page windows-1251, @charset bogus + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-utf16-ascii-only.html b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-utf16-ascii-only.html new file mode 100644 index 0000000000..d65afd31f5 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-utf16-ascii-only.html @@ -0,0 +1,17 @@ + +CSS charset: page windows-1251, CSS @charset utf-16 (ASCII only) + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-utf16.html b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-utf16.html new file mode 100644 index 0000000000..04c1270e0c --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-utf16.html @@ -0,0 +1,17 @@ + +CSS charset: page windows-1251, CSS @charset utf-16 + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-utf16be.html b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-utf16be.html new file mode 100644 index 0000000000..4b2d48dbc1 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-utf16be.html @@ -0,0 +1,17 @@ + +CSS charset: page windows-1251, CSS @charset utf-16be + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-windows-1250-in-utf16.html b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-windows-1250-in-utf16.html new file mode 100644 index 0000000000..463e3778f6 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-windows-1250-in-utf16.html @@ -0,0 +1,23 @@ + +CSS charset: page windows-1251, CSS @charset windows-1250 in utf-16 + + + + + +
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-windows-1250-in-utf16be.html b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-windows-1250-in-utf16be.html new file mode 100644 index 0000000000..7de3f37d9b --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-at-charset-windows-1250-in-utf16be.html @@ -0,0 +1,23 @@ + +CSS charset: page windows-1251, CSS @charset windows-1250 in utf-16be + + + + + +
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-http-bogus-at-charset-windows-1250.html b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-http-bogus-at-charset-windows-1250.html new file mode 100644 index 0000000000..2fcc56bca9 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-http-bogus-at-charset-windows-1250.html @@ -0,0 +1,17 @@ + +CSS charset: page windows-1251, CSS HTTP bogus, @charset windows-1250 + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-http-bogus.html b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-http-bogus.html new file mode 100644 index 0000000000..e26501b9eb --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-http-bogus.html @@ -0,0 +1,17 @@ + +CSS charset: page windows-1251, CSS HTTP bogus + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-http-windows-1250-at-charset-windows-1253.html b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-http-windows-1250-at-charset-windows-1253.html new file mode 100644 index 0000000000..3658e445f8 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-http-windows-1250-at-charset-windows-1253.html @@ -0,0 +1,17 @@ + +CSS charset: page windows-1251, CSS HTTP windows-1250, @charset windows-1253 + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-no-decl.html b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-no-decl.html new file mode 100644 index 0000000000..288f01efbd --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-no-decl.html @@ -0,0 +1,17 @@ + +CSS charset: page windows-1251, CSS no decl + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-utf8-bom.html b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-utf8-bom.html new file mode 100644 index 0000000000..2c32f09151 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1251-css-utf8-bom.html @@ -0,0 +1,17 @@ + +CSS charset: page windows-1251, CSS UTF-8 BOM + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-syntax/charset/page-windows-1252-http-windows-1251-css-utf8-bom.html b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1252-http-windows-1251-css-utf8-bom.html new file mode 100644 index 0000000000..6a65942e16 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/page-windows-1252-http-windows-1251-css-utf8-bom.html @@ -0,0 +1,17 @@ + +CSS charset: page windows-1252, CSS-HTTP windows-1251, CSS UTF-8 BOM + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/MANIFEST b/testing/web-platform/tests/css/css-syntax/charset/support/MANIFEST new file mode 100644 index 0000000000..9688e1f88d --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/support/MANIFEST @@ -0,0 +1,15 @@ +support at-charset-bogus.css +support at-charset-utf16-ascii-only.css +support at-charset-utf16be.css +support at-charset-utf16.css +support at-charset-windows-1250.css +support at-charset-windows-1250-in-utf16be.css +support at-charset-windows-1250-in-utf16.css +support bomless-utf16be.css +support bomless-utf16.css +support http-bogus-at-charset-windows-1250.bogus.css +support http-bogus.bogus.css +support http-windows-1250-at-charset-windows-1253.windows1250.css +support no-decl-ascii-only.css +support no-decl.css +support utf8-bom.css diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-bogus.css b/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-bogus.css new file mode 100644 index 0000000000..50f9b7779a --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-bogus.css @@ -0,0 +1,2 @@ +@charset "bogus"; +# { visibility:hidden } \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-utf16-ascii-only.css b/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-utf16-ascii-only.css new file mode 100644 index 0000000000..e7f067e066 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-utf16-ascii-only.css @@ -0,0 +1,2 @@ +@charset "utf-16"; +#foo { visibility:hidden } \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-utf16.css b/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-utf16.css new file mode 100644 index 0000000000..e7dbf5784f --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-utf16.css @@ -0,0 +1,2 @@ +@charset "utf-16"; +# { visibility:hidden } \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-utf16be.css b/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-utf16be.css new file mode 100644 index 0000000000..cb51b419dc --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-utf16be.css @@ -0,0 +1,2 @@ +@charset "utf-16be"; +# { visibility:hidden } \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-windows-1250-in-utf16.css b/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-windows-1250-in-utf16.css new file mode 100644 index 0000000000..1132bfd193 Binary files /dev/null and b/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-windows-1250-in-utf16.css differ diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-windows-1250-in-utf16be.css b/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-windows-1250-in-utf16be.css new file mode 100644 index 0000000000..38bb069784 Binary files /dev/null and b/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-windows-1250-in-utf16be.css differ diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-windows-1250.css b/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-windows-1250.css new file mode 100644 index 0000000000..6c06db0e9c --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/support/at-charset-windows-1250.css @@ -0,0 +1,2 @@ +@charset "windows-1250"; +# { visibility:hidden } \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/bomless-utf16.css b/testing/web-platform/tests/css/css-syntax/charset/support/bomless-utf16.css new file mode 100644 index 0000000000..b5399b74bf Binary files /dev/null and b/testing/web-platform/tests/css/css-syntax/charset/support/bomless-utf16.css differ diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/bomless-utf16be.css b/testing/web-platform/tests/css/css-syntax/charset/support/bomless-utf16be.css new file mode 100644 index 0000000000..eaadad0135 Binary files /dev/null and b/testing/web-platform/tests/css/css-syntax/charset/support/bomless-utf16be.css differ diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/http-bogus-at-charset-windows-1250.bogus.css b/testing/web-platform/tests/css/css-syntax/charset/support/http-bogus-at-charset-windows-1250.bogus.css new file mode 100644 index 0000000000..6c06db0e9c --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/support/http-bogus-at-charset-windows-1250.bogus.css @@ -0,0 +1,2 @@ +@charset "windows-1250"; +# { visibility:hidden } \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/http-bogus-at-charset-windows-1250.bogus.css.headers b/testing/web-platform/tests/css/css-syntax/charset/support/http-bogus-at-charset-windows-1250.bogus.css.headers new file mode 100644 index 0000000000..f08dbd94d1 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/support/http-bogus-at-charset-windows-1250.bogus.css.headers @@ -0,0 +1 @@ +Content-Type: text/css; charset=bogus diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/http-bogus.bogus.css b/testing/web-platform/tests/css/css-syntax/charset/support/http-bogus.bogus.css new file mode 100644 index 0000000000..ba2371f8b0 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/support/http-bogus.bogus.css @@ -0,0 +1 @@ +# { visibility:hidden } \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/http-bogus.bogus.css.headers b/testing/web-platform/tests/css/css-syntax/charset/support/http-bogus.bogus.css.headers new file mode 100644 index 0000000000..f08dbd94d1 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/support/http-bogus.bogus.css.headers @@ -0,0 +1 @@ +Content-Type: text/css; charset=bogus diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/http-windows-1250-at-charset-windows-1253.windows1250.css b/testing/web-platform/tests/css/css-syntax/charset/support/http-windows-1250-at-charset-windows-1253.windows1250.css new file mode 100644 index 0000000000..987dff3155 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/support/http-windows-1250-at-charset-windows-1253.windows1250.css @@ -0,0 +1,2 @@ +@charset "windows-1253"; +# { visibility:hidden } \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/http-windows-1250-at-charset-windows-1253.windows1250.css.headers b/testing/web-platform/tests/css/css-syntax/charset/support/http-windows-1250-at-charset-windows-1253.windows1250.css.headers new file mode 100644 index 0000000000..c0993d2101 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/support/http-windows-1250-at-charset-windows-1253.windows1250.css.headers @@ -0,0 +1 @@ +Content-Type: text/css; charset=windows-1250 diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/no-decl-ascii-only.css b/testing/web-platform/tests/css/css-syntax/charset/support/no-decl-ascii-only.css new file mode 100644 index 0000000000..0736f81397 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/support/no-decl-ascii-only.css @@ -0,0 +1 @@ +#foo { visibility:hidden } \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/no-decl.css b/testing/web-platform/tests/css/css-syntax/charset/support/no-decl.css new file mode 100644 index 0000000000..ba2371f8b0 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/support/no-decl.css @@ -0,0 +1 @@ +# { visibility:hidden } \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/utf8-bom-http-windows-1251.css b/testing/web-platform/tests/css/css-syntax/charset/support/utf8-bom-http-windows-1251.css new file mode 100644 index 0000000000..1dbf5cf2fc --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/support/utf8-bom-http-windows-1251.css @@ -0,0 +1 @@ +# { visibility:hidden } \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/utf8-bom-http-windows-1251.css.headers b/testing/web-platform/tests/css/css-syntax/charset/support/utf8-bom-http-windows-1251.css.headers new file mode 100644 index 0000000000..9a67b0fea4 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/support/utf8-bom-http-windows-1251.css.headers @@ -0,0 +1 @@ +Content-Type: text/css; charset=windows-1251 diff --git a/testing/web-platform/tests/css/css-syntax/charset/support/utf8-bom.css b/testing/web-platform/tests/css/css-syntax/charset/support/utf8-bom.css new file mode 100644 index 0000000000..1dbf5cf2fc --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/support/utf8-bom.css @@ -0,0 +1 @@ +# { visibility:hidden } \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-syntax/charset/xml-stylesheet-page-windows-1251-charset-attribute-windows-1250.xhtml b/testing/web-platform/tests/css/css-syntax/charset/xml-stylesheet-page-windows-1251-charset-attribute-windows-1250.xhtml new file mode 100644 index 0000000000..512df7a0ba --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/charset/xml-stylesheet-page-windows-1251-charset-attribute-windows-1250.xhtml @@ -0,0 +1,20 @@ + + + +CSS charset: page windows-1251, charset attribute bogus + + + + +
+
+ + diff --git a/testing/web-platform/tests/css/css-syntax/custom-property-rule-ambiguity.html b/testing/web-platform/tests/css/css-syntax/custom-property-rule-ambiguity.html new file mode 100644 index 0000000000..50728bc94c --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/custom-property-rule-ambiguity.html @@ -0,0 +1,84 @@ + +CSS Syntax: Rules that look like custom properties + + + + + + + + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-syntax/decimal-points-in-numbers.html b/testing/web-platform/tests/css/css-syntax/decimal-points-in-numbers.html new file mode 100644 index 0000000000..e59468678b --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/decimal-points-in-numbers.html @@ -0,0 +1,56 @@ + +decimal points in numbers + + + + + + + + diff --git a/testing/web-platform/tests/css/css-syntax/declarations-trim-whitespace.html b/testing/web-platform/tests/css/css-syntax/declarations-trim-whitespace.html new file mode 100644 index 0000000000..a7d69d149e --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/declarations-trim-whitespace.html @@ -0,0 +1,54 @@ + + +Declarations trim whitespace from their beginning/ending + + + + + +
+ +

foo

+ diff --git a/testing/web-platform/tests/css/css-syntax/escaped-eof.html b/testing/web-platform/tests/css/css-syntax/escaped-eof.html new file mode 100644 index 0000000000..b4450ea730 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/escaped-eof.html @@ -0,0 +1,46 @@ + +Escaped EOF + + + + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-syntax/ident-three-code-points.html b/testing/web-platform/tests/css/css-syntax/ident-three-code-points.html new file mode 100644 index 0000000000..36faef9357 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/ident-three-code-points.html @@ -0,0 +1,73 @@ + + + +Testing valid ident based on first three code points + + + + + +
+
test1
+
test2
+
test3
+
test4
+ +
test A
+
test B
+
test C
+
test D
+
+ + + + diff --git a/testing/web-platform/tests/css/css-syntax/inclusive-ranges.html b/testing/web-platform/tests/css/css-syntax/inclusive-ranges.html new file mode 100644 index 0000000000..ac486bde56 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/inclusive-ranges.html @@ -0,0 +1,60 @@ + +Inclusive Ranges + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-syntax/input-preprocessing.html b/testing/web-platform/tests/css/css-syntax/input-preprocessing.html new file mode 100644 index 0000000000..9ef9a73082 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/input-preprocessing.html @@ -0,0 +1,46 @@ + +Input Preprocessing + + + + + + + + diff --git a/testing/web-platform/tests/css/css-syntax/missing-semicolon-ref.html b/testing/web-platform/tests/css/css-syntax/missing-semicolon-ref.html new file mode 100644 index 0000000000..ef8251e9e1 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/missing-semicolon-ref.html @@ -0,0 +1,9 @@ + + + + Missing semicolon at end of block should not keep declaration from being applied + + +
Test passes if this paragraph is green.
+ + diff --git a/testing/web-platform/tests/css/css-syntax/missing-semicolon.html b/testing/web-platform/tests/css/css-syntax/missing-semicolon.html new file mode 100644 index 0000000000..d8e70e6315 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/missing-semicolon.html @@ -0,0 +1,13 @@ + + + + Missing semicolon at end of block should not keep declaration from being applied + + + + + + +
Test passes if this paragraph is green.
+ + diff --git a/testing/web-platform/tests/css/css-syntax/non-ascii-codepoints.html b/testing/web-platform/tests/css/css-syntax/non-ascii-codepoints.html new file mode 100644 index 0000000000..c416955d4e --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/non-ascii-codepoints.html @@ -0,0 +1,81 @@ + +Non-ASCII codepoints + + + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-syntax/serialize-consecutive-tokens.html b/testing/web-platform/tests/css/css-syntax/serialize-consecutive-tokens.html new file mode 100644 index 0000000000..f6e220de64 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/serialize-consecutive-tokens.html @@ -0,0 +1,121 @@ + +Serialization of consecutive tokens. + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-syntax/support/missing-semicolon.css b/testing/web-platform/tests/css/css-syntax/support/missing-semicolon.css new file mode 100644 index 0000000000..0d9a0bbda7 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/support/missing-semicolon.css @@ -0,0 +1,5 @@ +.c { + /* This { needs to be there to send Chromium into a different path. */ + color: red; + color: green +} diff --git a/testing/web-platform/tests/css/css-syntax/trailing-braces.html b/testing/web-platform/tests/css/css-syntax/trailing-braces.html new file mode 100644 index 0000000000..ac2e8e61b9 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/trailing-braces.html @@ -0,0 +1,20 @@ + +CSS Syntax: trailing braces + + + + +
Green
+ diff --git a/testing/web-platform/tests/css/css-syntax/unclosed-constructs.html b/testing/web-platform/tests/css/css-syntax/unclosed-constructs.html new file mode 100644 index 0000000000..3d7940387c --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/unclosed-constructs.html @@ -0,0 +1,36 @@ + +Unclosed Constructs Are Valid + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-syntax/unclosed-url-at-eof.html b/testing/web-platform/tests/css/css-syntax/unclosed-url-at-eof.html new file mode 100644 index 0000000000..7157896d97 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/unclosed-url-at-eof.html @@ -0,0 +1,29 @@ + +Unclosed URL At EOF + + + + + + +
+
+ +
+
+ + diff --git a/testing/web-platform/tests/css/css-syntax/unicode-range-selector.html b/testing/web-platform/tests/css/css-syntax/unicode-range-selector.html new file mode 100644 index 0000000000..db09540bb0 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/unicode-range-selector.html @@ -0,0 +1,20 @@ + + +Unicode range is not a token, and doesn't cause confusion in selectors + + + + + + + diff --git a/testing/web-platform/tests/css/css-syntax/urange-parsing.html b/testing/web-platform/tests/css/css-syntax/urange-parsing.html new file mode 100644 index 0000000000..d01f6a54c3 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/urange-parsing.html @@ -0,0 +1,175 @@ + +Urange Parsing + + + + + + + + diff --git a/testing/web-platform/tests/css/css-syntax/url-whitespace-consumption.html b/testing/web-platform/tests/css/css-syntax/url-whitespace-consumption.html new file mode 100644 index 0000000000..2fd55873d9 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/url-whitespace-consumption.html @@ -0,0 +1,32 @@ + +url whitespace consumption + + + + + + + + diff --git a/testing/web-platform/tests/css/css-syntax/var-with-blocks.html b/testing/web-platform/tests/css/css-syntax/var-with-blocks.html new file mode 100644 index 0000000000..915a2467e3 --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/var-with-blocks.html @@ -0,0 +1,219 @@ + +CSS Syntax: {}-blocks in declaration values + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-syntax/whitespace.html b/testing/web-platform/tests/css/css-syntax/whitespace.html new file mode 100644 index 0000000000..bc7aa7ebda --- /dev/null +++ b/testing/web-platform/tests/css/css-syntax/whitespace.html @@ -0,0 +1,62 @@ + +CSS Whitespace + + + + + + +
+
+ + + + -- cgit v1.2.3