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

Side by Side Diff: third_party/WebKit/LayoutTests/external/csswg-test/selectors-4/selectors-dir-selector-ltr-001.html

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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>CSS Selectors Level 4 Test: basic support for dir(ltr)</title>
5 <link rel="author" title="Takeshi Kurosawa" href="mailto:taken.spc@gmail.com ">
6 <link rel="help" href="http://www.w3.org/TR/selectors4/#dir-pseudo">
7 <link rel="match" href="../css21/reference/ref-filled-green-100px-square.xht ">
8 <meta name="flags" content="">
9 <meta name="assert" content="The :dir(ltr) pseudo-class matches an element t hat has a directionality of (ltr). Since the div element has dir=ltr, the select or matches.">
10 <style type="text/css">
11 div {
12 width: 100px;
13 height: 100px;
14 background-color: red;
15 }
16
17 div:dir(ltr) {
18 background-color: green;
19 }
20 </style>
21 </head>
22 <body>
23 <p>Test passes if there is a filled green square and <strong>no red</strong> .</p>
24 <div dir="ltr"></div>
25 </body>
26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698