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

Side by Side Diff: LayoutTests/fast/dom/shadow/pseudoclass-update-indeterminate-input.html

Issue 1129673002: Remove support for pseudo classes in <content select>. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix more tests. Created 5 years, 7 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 </head>
5
6 <body>
7
8 <p>When input became 'indeterminate' state or not-'indeterminate' state, distrib ution should happen.</p>
9
10 <div id="host">
11 <input id="input1" type="checkbox">
12 <span>separator 1</span>
13 <input id="input2" type="checkbox">
14 <span>separator 2</span>
15 <input id="input3" type="checkbox">
16 <span>separator 3</span>
17 <input id="input4" type="text">
18 <span>separator 4</span>
19 <input id="input5" type="text">
20 <span>separator 5</span>
21 <input id="input6" type="text">
22 </div>
23 <script>
24 if (window.testRunner)
25 testRunner.waitUntilDone();
26
27 input1.indeterminate = true;
28 input2.indeterminate = true;
29 input4.indeterminate = true;
30 input5.indeterminate = true;
31
32 var shadowRoot = host.createShadowRoot();
33 shadowRoot.innerHTML = '<content select="span, input:indeterminate"></content>';
34
35 setTimeout(function() {
36 input1.indeterminate = false;
37 input3.indeterminate = true;
38 input4.indeterminate = false;
39 input6.indeterminate = true;
40
41 input2.type = 'text';
42 input5.type = 'checkbox';
43 testRunner.notifyDone();
44 }, 0);
45
46 </script>
47 </body>
48 </html>
49
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698