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

Side by Side Diff: LayoutTests/fast/dom/shadow/shadowdom-for-button-only-shadow.html

Issue 14594006: Remove Internals::createShadowRoot(element) and polyfill.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script src="resources/polyfill.js"></script>
5 4
6 <p>When the AuthorShadowDOM has only a shadow element, this should be rendered l ike no Shadow DOM is added.</p> 5 <p>When the AuthorShadowDOM has only a shadow element, this should be rendered l ike no Shadow DOM is added.</p>
7 <form> 6 <form>
8 <button id="host">button</button> 7 <button id="host">button</button>
9 </form> 8 </form>
10 9
11 <script> 10 <script>
12 var host = document.getElementById('host'); 11 var host = document.getElementById('host');
13 var shadowRoot = host.webkitCreateShadowRoot(); 12 var shadowRoot = host.webkitCreateShadowRoot();
14 shadowRoot.innerHTML = "<shadow></shadow>" 13 shadowRoot.innerHTML = "<shadow></shadow>"
15 </script> 14 </script>
16 </body> 15 </body>
17 </html> 16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698