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

Side by Side Diff: LayoutTests/fast/dom/shadow/shadowdom-for-textarea-with-style.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 <head> 3 <head>
4 textarea { 4 textarea {
5 margin: 10px; 5 margin: 10px;
6 border: 2px dashed black; 6 border: 2px dashed black;
7 padding: 10px; 7 padding: 10px;
8 } 8 }
9 </head> 9 </head>
10 <body> 10 <body>
11 <script src="resources/polyfill.js"></script>
12 11
13 <p>When the AuthorShadowDOM has only a shadow element, this should be rendered l ike no Shadow DOM is added.</p> 12 <p>When the AuthorShadowDOM has only a shadow element, this should be rendered l ike no Shadow DOM is added.</p>
14 <form> 13 <form>
15 <textarea id="host">Something in the air</textarea> 14 <textarea id="host">Something in the air</textarea>
16 </form> 15 </form>
17 16
18 <script> 17 <script>
19 var shadowRoot = host.webkitCreateShadowRoot(); 18 var shadowRoot = host.webkitCreateShadowRoot();
20 shadowRoot.appendChild(document.createElement('shadow')); 19 shadowRoot.appendChild(document.createElement('shadow'));
21 </script> 20 </script>
22 </body> 21 </body>
23 </html> 22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698