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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-meter-with-style.html

Issue 1751953003: Remove the support of multiple shadow roots with a user agent shadow root (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix failing tests Created 4 years, 9 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <style>
5 meter {
6 display: block;
7 margin: 0;
8 padding: 0;
9 width: auto;
10 height: 3em;
11 vertical-align: 0;
12 }
13
14 meter::-webkit-meter-inner-element {
15 -webkit-appearance: meter; /* We have to have this for now. Please see Bug 9 2455. */
16 display: block;
17 width: 15em;
18 height: 3em;
19 }
20 </style>
21
22 <div id="container">
23 <meter id="host" min="0" max="100" value="50"></meter>
24 </div>
25
26 <script>
27 if (window.internals)
28 internals.settings.setAuthorShadowDOMForAnyElementEnabled(true);
29
30 var shadowRoot = host.createShadowRoot();
31 shadowRoot.innerHTML = "<div style='margin-left: 100px'><shadow></shadow><span>( after)</span></div>";
32 </script>
33
34 </body>
35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698