Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: third_party/WebKit/LayoutTests/fast/css-generated-content/attr-minus.html

Issue 1924313002: Make <attr-name> accept any CSS identifier (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css-generated-content/attr-minus-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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. -->
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css-generated-content/attr-minus-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698