Index: LayoutTests/fast/selectors/attr-list-01.html |
diff --git a/LayoutTests/fast/selectors/attr-list-01.html b/LayoutTests/fast/selectors/attr-list-01.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..440404bb430ca3be77dd9cb9f598dec1d8118d68 |
--- /dev/null |
+++ b/LayoutTests/fast/selectors/attr-list-01.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE html> |
+<html> |
+ <head> |
+ <title>Whitespace-separated attribute selectors</title> |
+ <style> |
+ span { color: red; } |
+ [data-list~="b"] { color: green; } |
+ #t1:not([data-list~=" z"]) { color: green; } |
+ #t2:not([data-list~="u "]) { color: green; } |
+ </style> |
+ </head> |
+ <body> |
+ <p> |
+ <span data-list="a b ">This</span> |
+ <span data-list="a b c">text</span> |
+ <span data-list="a b ">should</span> |
+ <span id="t1" data-list="w z x	">be</span> |
+ <span id="t2" data-list="u	">green</span> |
+ </p> |
+ </body> |
+</html> |