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

Side by Side Diff: LayoutTests/fast/dom/shadow/pseudoclass-update-target.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 :target is changed, we have to invalidate distribution.</p>
9
10 <div id="host">
11 <div id="target1">target 1</div>
12 <div id="target2">target 2</div>
13 <div id="target3">target 3</div>
14 </div>
15
16 <script>
17 if (window.testRunner)
18 testRunner.waitUntilDone();
19
20 location.hash = '#target1';
21
22 var shadowRoot = host.createShadowRoot();
23 shadowRoot.innerHTML = '<content select="div:target"></content>';
24
25 setTimeout(function() {
26 location.hash = '#target2';
27 testRunner.notifyDone();
28 }, 0);
29
30 </script>
31 </body>
32 </html>
33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698