diff --git a/Libraries/LibWeb/CSS/Parser/Parser.cpp b/Libraries/LibWeb/CSS/Parser/Parser.cpp index cf1e4e8593b..f5a29c88aa8 100644 --- a/Libraries/LibWeb/CSS/Parser/Parser.cpp +++ b/Libraries/LibWeb/CSS/Parser/Parser.cpp @@ -291,7 +291,7 @@ OwnPtr Parser::parse_supports_feature(TokenStreamto_string(), diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/css-conditional/at-supports-038.html b/Tests/LibWeb/Ref/expected/wpt-import/css/css-conditional/at-supports-038.html new file mode 100644 index 00000000000..8ff3f2fccf5 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/css-conditional/at-supports-038.html @@ -0,0 +1,14 @@ + + + +

+ Test passes if there is a filled green square and no red. +

+
+ diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/css-conditional/at-supports-039.html b/Tests/LibWeb/Ref/expected/wpt-import/css/css-conditional/at-supports-039.html new file mode 100644 index 00000000000..8ff3f2fccf5 --- /dev/null +++ b/Tests/LibWeb/Ref/expected/wpt-import/css/css-conditional/at-supports-039.html @@ -0,0 +1,14 @@ + + + +

+ Test passes if there is a filled green square and no red. +

+
+ diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/css-conditional/at-supports-038.html b/Tests/LibWeb/Ref/input/wpt-import/css/css-conditional/at-supports-038.html new file mode 100644 index 00000000000..32b9a6f8a91 --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/css-conditional/at-supports-038.html @@ -0,0 +1,42 @@ + + + + + CSS Test (Conditional Rules): a supports condition declaration can not end with a semi-colon + + + + + + + + + + + + + +

Test passes if there is a filled green square and no red.

+ +
+ + + diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/css-conditional/at-supports-039.html b/Tests/LibWeb/Ref/input/wpt-import/css/css-conditional/at-supports-039.html new file mode 100644 index 00000000000..c8f55a9b48b --- /dev/null +++ b/Tests/LibWeb/Ref/input/wpt-import/css/css-conditional/at-supports-039.html @@ -0,0 +1,42 @@ + + + + + CSS Test (Conditional Rules): a supports condition declaration can not end with a semi-colon + + + + + + + + + + + + + +

Test passes if there is a filled green square and no red.

+ +
+ + +