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

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

Issue 22852020: Only allow reprojecting shadows between ShadowRoots of the same type (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Delete another test Created 7 years, 4 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-button-expected.html
diff --git a/LayoutTests/fast/dom/shadow/shadowdom-for-input-button-expected.html b/LayoutTests/fast/dom/shadow/shadowdom-for-input-button-expected.html
deleted file mode 100644
index 094063d213fa60c72465f9964dea47efd85d2e1d..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/shadow/shadowdom-for-input-button-expected.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<body>
-
-<p>1. If an input element has a shadow tree containing a &lt;shadow> element, it should get the value text of the input element.</p>
-<div id="shadow">
-<input value="[Foo]" type="button"><input type="button" value="[]">
-<input value="[Foo]" type="reset"><input type="reset" value="[Reset]">
-<input value="[Foo]" type="submit"><input type="submit" value="[Submit]">
-</div>
-
-<p>2. If an author shadow tree contains no &lt;shadow> element, the button value should not be rendered.</p>
-<div id="no-shadow">
-<input type="button" value="[]"><input type="button" value="[]">
-<input type="reset" value="[]"><input type="reset" value="[]">
-<input type="submit" value="[]"><input type="submit" value="[]">
-</div>
-
-<p>3. If an author shadow tree contains only &lt;shadow> element, the button should be rendered as it didn't have shadow trees.</p>
-<div id="only-shadow">
-<input type="button" value="Foo"><input type="button">
-<input type="reset" value="Foo"><input type="reset">
-<input type="submit" value="Foo"><input type="submit">
-</div>
-
-<p>4. Complex shadow tree.</p>
-<div id="complex-shadow">
-<style>
-button { -webkit-appearance: push-button; }
-</style>
-<button>prefix <span style="color:red;">&hearts;</span>Foo suffix</button>
-<button>prefix <span style="color:red;">&hearts;</span> suffix</button>
-<button>prefix <span style="color:red;">&hearts;</span>Foo suffix</button>
-<button>prefix <span style="color:red;">&hearts;</span>Reset suffix</button>
-<button>prefix <span style="color:red;">&hearts;</span>Foo suffix</button>
-<button>prefix <span style="color:red;">&hearts;</span>Submit suffix</button>
-</div>
-
-</body>

Powered by Google App Engine
This is Rietveld 408576698