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

Unified Diff: LayoutTests/fast/css/namespaces/attribute-selectors-001.xml

Issue 844203002: Avoid looping through all attributes for attribute selector. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 | LayoutTests/fast/css/namespaces/attribute-selectors-001-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/namespaces/attribute-selectors-001.xml
diff --git a/LayoutTests/fast/css/namespaces/attribute-selectors-001.xml b/LayoutTests/fast/css/namespaces/attribute-selectors-001.xml
new file mode 100644
index 0000000000000000000000000000000000000000..630e38cbbb1571ac9bcf4109d23723cb904ee8e0
--- /dev/null
+++ b/LayoutTests/fast/css/namespaces/attribute-selectors-001.xml
@@ -0,0 +1,17 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ns1="http://ns1.org"
+ xmlns:ns2="http://ns2.org">
+ <head>
+ <title>Multiple attributes with same local name</title>
+ <style>
+ [*|nsattr="1"] { color: green }
+ [*|nsattr="2"] { text-decoration: underline }
+ [|nsattr] { color: red }
+ [nsattr] { text-decoration: none }
+ </style>
+ </head>
+ <body>
+ <div ns1:nsattr="1" ns2:nsattr="2">This text should be green and underlined.</div>
+ </body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/css/namespaces/attribute-selectors-001-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698