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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-input-spellcheck.html

Issue 1751953003: Remove the support of multiple shadow roots with a user agent shadow root (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix failing tests Created 4 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5 if (window.internals)
6 internals.settings.setUnifiedTextCheckerEnabled(true);
7 onload = function() {
8 var myShadowRoot = document.getElementById('sample').createShadowRoot();
9 var myShadowElement = document.createElement('defs');
10 myShadowElement.setAttribute('contenteditable', 'true');
11 myShadowRoot.appendChild(myShadowElement);
12 myShadowElement.focus();
13 document.body.innerHTML = 'PASS if this was not crashed.';
14 }
15 </script>
16 <input id="sample">
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698