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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-input-type-change.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, 10 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: third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-input-type-change.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-input-type-change.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-input-type-change.html
deleted file mode 100644
index 31c150f67dd30d189ff36581aaab74107961a259..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-input-type-change.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<!DOCTYPE html>
-<body>
-<script src="../../../resources/js-test.js"></script>
-<style>
-input, input[type="datetime-local"] {
- padding: 0;
- border: none;
- display: inilne-block;
- font-family: monospace;
-}
-</style>
-<input type="email">
-<script>
-description('Test if changing input type keeps author ShadowRoot content.');
-
-var input1 = document.querySelector('input');
-var initialWidth = input1.offsetWidth;
-shouldNotBe('initialWidth', '0');
-
-var root = input1.createShadowRoot();
-root.innerHTML = '<span>a</span>';
-var widthWithShadow = input1.offsetWidth;
-shouldNotBe('widthWithShadow', 'initialWidth');
-
-shouldBe('input1.type = "hidden"; input1.offsetWidth', '0');
-shouldBe('input1.type = "datetime-local"; input1.offsetWidth', 'widthWithShadow');
-shouldBeEqualToString('input1.type = "range"; input1.value', '50');
-input1.focus();
-shouldBeEqualToString('eventSender.keyDown("rightArrow"); input1.value', '50');
-</script>
-</body>

Powered by Google App Engine
This is Rietveld 408576698