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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-input-appearance.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-appearance.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-input-appearance.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-input-appearance.html
deleted file mode 100644
index caafbf87266a2a7f1e489fe8d69759ef88282cdd..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadowdom-for-input-appearance.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<!DOCTYPE html>
-<body>
-<style>
-input {
- -webkit-appearance: none;
- background-color: white;
- border: none;
- color: black;
- margin: 2px;
- padding: 2px;
- outline-offset: 0;
-}
-</style>
-<div><input type="button" value="button"></div>
-<div><input type="checkbox" value="checkbox"></div>
-<div><input type="color" value="#ff0000"></div>
-<div><input type="date" value="2013-09-05"></div>
-<div><input type="file"></div>
-<div><input type="hidden" value="hidden"></div>
-<div><input type="number" value="3.141592"></div>
-<div><input type="radio"></div>
-<div><input type="range"></div>
-<div><input type="search" value="search"></div>
-<div><input type="text" value="text" placeholder="placeholder"></div>
-<script>
-window.onload = function() {
- var inputs = document.querySelectorAll('input');
- for (var i = 0; i < inputs.length; ++i) {
- var contentSpan = document.createElement('span');
- contentSpan.textContent = 'Content';
- inputs[i].appendChild(contentSpan);
- inputs[i].createShadowRoot().innerHTML = '<span>Shadow!</span><content select="*"></content>';
- }
- var text = document.querySelector('input[type=text]');
- text.focus();
- text.value = 'updated';
- text.setRangeText('range', 0, 7);
-};
-</script>
-</body>

Powered by Google App Engine
This is Rietveld 408576698