Index: third_party/WebKit/LayoutTests/fast/css-generated-content/attr-minus.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css-generated-content/attr-minus.html b/third_party/WebKit/LayoutTests/fast/css-generated-content/attr-minus.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a6fa50c54fbee353a3d8ced6e7bb35c37f5ba57f |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/css-generated-content/attr-minus.html |
@@ -0,0 +1,7 @@ |
+<!DOCTYPE html> |
+<style> |
+ div::before { content: attr(-foo); } |
+</style> |
+<div foo="FAIL">PASS</div> |
+<div -foo="PASS"></div> |
+<!-- Note that the selector is valid but strictly speaking it should not match since -foo attribute should have been dropped. --> |