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

Side by Side Diff: LayoutTests/fast/dom/shadow/shadowdom-for-output-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 <script src="resources/polyfill.js"></script>
3 2
4 <p>When the AuthorShadowDOM has only a shadow element, this should be rendered l ike no Shadow DOM is added.</p> 3 <p>When the AuthorShadowDOM has only a shadow element, this should be rendered l ike no Shadow DOM is added.</p>
5 <form> 4 <form>
6 <output id="host">foobar</output> 5 <output id="host">foobar</output>
7 <input id="submit" type="submit" value="Submit"> 6 <input id="submit" type="submit" value="Submit">
8 </form> 7 </form>
9 8
10 <script> 9 <script>
11 var host = document.getElementById('host'); 10 var host = document.getElementById('host');
12 var shadowRoot = host.webkitCreateShadowRoot(); 11 var shadowRoot = host.webkitCreateShadowRoot();
13 shadowRoot.innerHTML = "<shadow></shadow>" 12 shadowRoot.innerHTML = "<shadow></shadow>"
14 </script> 13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698