Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: third_party/WebKit/LayoutTests/external/csswg-test/selectors-4/of-type-selectors.xhtml

Issue 2776693002: [selectors-4] Import W3C Test Suite (Closed)
Patch Set: Created 3 years, 9 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
Index: third_party/WebKit/LayoutTests/external/csswg-test/selectors-4/of-type-selectors.xhtml
diff --git a/third_party/WebKit/LayoutTests/external/csswg-test/selectors-4/of-type-selectors.xhtml b/third_party/WebKit/LayoutTests/external/csswg-test/selectors-4/of-type-selectors.xhtml
new file mode 100644
index 0000000000000000000000000000000000000000..18fead9b1cc452059ad74f9cc3154d663e5f8d4b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/csswg-test/selectors-4/of-type-selectors.xhtml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html lang="en" xml:lang="en" xmlns="" xmlns:html="">
+<title>Selectors Level 4: :first-of-type</title>
+<meta name="flags" content="namespace nonHTML"/>
+<link rel="author" title="Elika J. Etemad" href=""/>
+<link rel="author" title="Ms2ger" href=""/>
+<link rel="help" href=""/>
+<link rel="match" href="of-type-selectors-ref.xhtml"/>
+<style type="text/css">
+div > *|* {
+ display: block;
+ color: black;
+ background: yellow;
+ border: thin solid;
+ margin: 1em;
+div > *|*:first-of-type {
+ background: lime;
+<p>This line should have a green background.</p>
+<p>This line should have a yellow background.</p>
+<html:p>This line should have a yellow background.</html:p>
+<p xmlns="">This line should have a green background.</p>
+<p xmlns="">This line should have a green background.</p>

Powered by Google App Engine
This is Rietveld 408576698