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

Unified Diff: LayoutTests/fast/dom/shadow/shadowdom-for-input-spellcheck.html

Issue 212303005: Revert of 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/shadow/shadowdom-for-input-spellcheck.html
diff --git a/LayoutTests/fast/dom/shadow/shadowdom-for-input-spellcheck.html b/LayoutTests/fast/dom/shadow/shadowdom-for-input-spellcheck.html
index cb82e0b1485c0a8d10325c198a8148fcde3018c6..48bee82e02e131d9fcf066190896d87038e8d7c7 100644
--- a/LayoutTests/fast/dom/shadow/shadowdom-for-input-spellcheck.html
+++ b/LayoutTests/fast/dom/shadow/shadowdom-for-input-spellcheck.html
@@ -4,6 +4,7 @@
testRunner.dumpAsText();
if (window.internals)
internals.settings.setUnifiedTextCheckerEnabled(true);
+Element.prototype.createShadowRoot = Element.prototype.webkitCreateShadowRoot || Element.prototype.createShadowRoot;
onload = function() {
var myShadowRoot = document.getElementById('sample').createShadowRoot();
var myShadowElement = document.createElement('defs');

Powered by Google App Engine
This is Rietveld 408576698