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

Side by Side Diff: LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-textarea.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 the 'disabled' state of a textarea tag is changed, we have to invalidate distribution.</p>
9
10 <div id="host1">
11 <textarea id="textarea1">Textarea 1</textarea>
12 <textarea id="textarea2">Textarea 2</textarea>
13 </div>
14
15 <div id="host2">
16 <textarea id="textarea3" disabled>Textarea 3</textarea>
17 <textarea id="textarea4" disabled>Textarea 4</textarea>
18 </div>
19
20 <script>
21 if (window.testRunner)
22 testRunner.waitUntilDone();
23
24 host1.createShadowRoot().innerHTML = '<content select=":disabled"></content>';
25 host2.createShadowRoot().innerHTML = '<content select=":disabled"></content>';
26
27 setTimeout(function() {
28 textarea2.setAttribute('disabled', true);
29 textarea4.removeAttribute('disabled');
30 testRunner.notifyDone();
31 }, 0);
32
33 </script>
34 </body>
35 </html>
36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698