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

Side by Side Diff: LayoutTests/fast/forms/radio/indeterminate-radio.html

Issue 394433002: Add :indeterminate pseudo class support for radio button input (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/forms/radio/radio-appearance-basic.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN"> 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>CSS Test: :indeterminate and input type=radio</title> 4 <title>CSS Test: :indeterminate and input type=radio</title>
5 <style type="text/css"> 5 <style type="text/css">
6 div 6 div
7 { 7 {
8 color: green; 8 color: green;
9 } 9 }
10 input:indeterminate + #test 10 input:indeterminate + #test
11 { 11 {
12 color: red; 12 color: red;
13 } 13 }
14 </style> 14 </style>
15 </head> 15 </head>
16 <body onload="mytest()"> 16 <body onload="mytest()">
17 <p>The test passes if the Filler Text below is green.</p> 17 <p>The test passes if the Filler Text below is green.</p>
18 <input type="radio" /> 18 <input type="radio" checked />
19 <div id="test">Filler Text</div> 19 <div id="test">Filler Text</div>
20 <div id="testresult" style="color: blue">Running</div> 20 <div id="testresult" style="color: blue">Running</div>
21 <script type="text/javascript"> 21 <script type="text/javascript">
22 22
23 if (window.testRunner) 23 if (window.testRunner)
24 testRunner.dumpAsText(); 24 testRunner.dumpAsText();
25 25
26 function mytest() 26 function mytest()
27 { 27 {
28 try 28 try
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 catch(e){} 60 catch(e){}
61 61
62 document.getElementById("testresult").innerHTML = "Fail"; 62 document.getElementById("testresult").innerHTML = "Fail";
63 63
64 } 64 }
65 </script> 65 </script>
66 66
67 67
68 </body> 68 </body>
69 </html> 69 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/forms/radio/radio-appearance-basic.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698