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

Side by Side Diff: LayoutTests/fast/css/shadow-style-removed-out-of-document.html

Issue 325663003: Remove scoped styles (retry) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update layouttest for addressing tasak's comments. Created 6 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/css/shadow-style-removed-out-of-document-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <script src="../../resources/js-test.js"></script>
tasak 2014/06/10 09:13:30 I'm sorry. We still need <!DOCTYPE html>.
kochi 2014/06/10 09:30:30 Done.
2 <script>
3 var div = document.createElement('div');
tasak 2014/06/10 09:13:30 Would you add description? i.e. description("...")
kochi 2014/06/10 09:30:30 Done.
4 var root = div.createShadowRoot();
5 root.innerHTML = '<style>div { color: green; }</style><div>Hello world</div>';
6 // Remove style element before its shadow root is attached to document.
7 root.removeChild(root.firstChild);
8 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/shadow-style-removed-out-of-document-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698