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

Side by Side Diff: LayoutTests/fast/dom/shadow/pseudoclass-update-indeterminate-progress.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 <style>
5 progress {
6 -webkit-appearance: none;
7 }
8 </style>
9 </head>
10
11 <body>
12
13 <p>When progress became 'indeterminate' or not-'indeterminate', distribution sho uld happen.</p>
14
15 <div id="host">
16 <progress id="progress1"></progress>
17 <span>separator</span>
18 <progress id="progress2"></progress>
19 </div>
20 <script>
21 if (window.testRunner)
22 testRunner.waitUntilDone();
23
24 var shadowRoot = host.createShadowRoot();
25 shadowRoot.innerHTML = '<content select="span,progress:indeterminate"></content> ';
26 progress1.value = '30';
27
28 setTimeout(function() {
29 progress1.removeAttribute('value');
30 progress2.value = '70';
31 testRunner.notifyDone();
32 }, 0);
33
34 </script>
35 </body>
36 </html>
37
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698