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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/spelling/spellcheck-author-shadow-crash.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 <p>Please run within DRT or enable continuous spell checking and unified text ch ecker</p>
3 <input>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7 if (window.internals) {
8 internals.setContinuousSpellCheckingEnabled(true);
9 internals.settings.setUnifiedTextCheckerEnabled(true);
10 }
11 var input = document.querySelector('input');
12 var shadowRoot = input.createShadowRoot();
13 shadowRoot.appendChild(document.createElement('div'));
14 input.contentEditable = true;
15 // Focus to invoke spell checking.
16 input.focus();
17 document.body.textContent = 'PASS if not crashed';
18 </script>
19 </body>
20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698