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

Side by Side Diff: LayoutTests/fast/dom/shadow/reattach-content-ancestor.html

Issue 208503004: Remove prefixed Shadow DOM APIs in Element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <div id="host">Should be visible.</div> 3 <div id="host">Should be visible.</div>
4 4
5 <script> 5 <script>
6 var host = document.getElementById('host'); 6 var host = document.getElementById('host');
7 var root = host.webkitCreateShadowRoot(); 7 var root = host.createShadowRoot();
8 root.innerHTML = "<div style='display: none'><content></content></div>"; 8 root.innerHTML = "<div style='display: none'><content></content></div>";
9 document.body.offsetTop; 9 document.body.offsetTop;
10 root.firstElementChild.style.display = 'block'; 10 root.firstElementChild.style.display = 'block';
11 </script> 11 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/gc-treescope.html ('k') | LayoutTests/fast/dom/shadow/reinsert-insertion-point.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698