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

Side by Side Diff: LayoutTests/fast/dom/shadow/shadowdom-for-fieldset-complex-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 <script src="resources/polyfill.js"></script>
3 2
4 <p>A mixed case of a shadow element and content element.</p> 3 <p>A mixed case of a shadow element and content element.</p>
5 <form> 4 <form>
6 <fieldset id="host"> 5 <fieldset id="host">
7 <legend>legend</legend> 6 <legend>legend</legend>
8 <input type="text"></input> 7 <input type="text"></input>
9 </fieldset> 8 </fieldset>
10 <input id="submit" type="submit" value="Submit"> 9 <input id="submit" type="submit" value="Submit">
11 </form> 10 </form>
12 11
13 <script> 12 <script>
14 var host = document.getElementById('host'); 13 var host = document.getElementById('host');
15 var shadowRoot = host.webkitCreateShadowRoot(); 14 var shadowRoot = host.webkitCreateShadowRoot();
16 shadowRoot.innerHTML = "<content></content><div style='margin: 20px'><shadow></s hadow></div>" 15 shadowRoot.innerHTML = "<content></content><div style='margin: 20px'><shadow></s hadow></div>"
17 </script> 16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698