From 242c342fadb2e81ee9d02787b7a846174d10c45e Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Wed, 28 Jul 2021 12:24:12 +0100 Subject: [PATCH] Base: Expand test page for CSS attribute selectors Now that we support more types of attribute selectors in the parser, we need a way to test them. :^) --- Base/res/html/misc/attrselectors.html | 41 ++++++++++++++++++--------- 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/Base/res/html/misc/attrselectors.html b/Base/res/html/misc/attrselectors.html index f1fd66626cc..eadbfb085b2 100644 --- a/Base/res/html/misc/attrselectors.html +++ b/Base/res/html/misc/attrselectors.html @@ -1,24 +1,39 @@ + CSS attribute selector test -
This div is hello, friends!
-
This div has id="foo" and is bloo!
-
This div has a "cool" attribute and a cool green color.
+

These should be green:

+
HasAttribute
+
ExactMatch
+
ContainsWord
+
ContainsString
+
StartsWithSegment
+
StartsWithString
+
EndsWithString
+ +

These should be red:

+
HasAttribute
+
ExactMatch
+
ContainsWord
+
ContainsString
+
StartsWithSegment
+
StartsWithString
+
EndsWithString