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

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

Issue 2776693002: [selectors-4] Import W3C Test Suite (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>CSS level4 Selector :required and :optional</title>
5 <link rel="author" title="LEE YUN HEE" href="mailto:zzirasi@gmai l.com">
6 <link rel="help" href="http://www.w3.org/TR/selectors4/#opt-pseu dos">
7 <meta name="assert" content="You should see a green input box.">
8 <link rel="match" href="selector-required-ref.html">
9 <style>
10 input {border:3px solid red;}
11 :required {border-color:green;}
12 :optional {border-color:green;}
13 </style>
14 </head>
15 <body>
16 <p>
17 You should see a green input box.
18 </p>
19 <p>
20 <input required>
21 </p>
22 <p>
23 <input optional>
24 </p>
25 </body>
26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698