| Index: LayoutTests/fast/dom/shadow/shadowdom-for-input-button.html
|
| diff --git a/LayoutTests/fast/dom/shadow/shadowdom-for-input-button.html b/LayoutTests/fast/dom/shadow/shadowdom-for-input-button.html
|
| deleted file mode 100644
|
| index 006548020eba72a4f02a82d716c7aeb232b09bde..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/fast/dom/shadow/shadowdom-for-input-button.html
|
| +++ /dev/null
|
| @@ -1,54 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<body>
|
| -<script>
|
| -if (window.internals)
|
| - internals.settings.setAuthorShadowDOMForAnyElementEnabled(true);
|
| -</script>
|
| -
|
| -<p>1. If an input element has a shadow tree containing a <shadow> element, it should get the value text of the input element.</p>
|
| -<div id="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>2. If an author shadow tree contains no <shadow> element, the button value should not be rendered.</p>
|
| -<div id="no-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>3. If an author shadow tree contains only <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">
|
| -<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>
|
| -
|
| -<script>
|
| -var hosts1 = document.querySelectorAll('#shadow input');
|
| -for (var i = 0; i < hosts1.length; ++i)
|
| - hosts1[i].createShadowRoot().innerHTML = '[<shadow></shadow>]';
|
| -
|
| -var hosts2 = document.querySelectorAll('#no-shadow input');
|
| -for (var i = 0; i < hosts2.length; ++i)
|
| - hosts2[i].createShadowRoot().innerHTML = '[]';
|
| -
|
| -var hosts3 = document.querySelectorAll('#only-shadow input');
|
| -for (var i = 0; i < hosts3.length; ++i)
|
| - hosts3[i].createShadowRoot().innerHTML = '<shadow />';
|
| -
|
| -var hosts4 = document.querySelectorAll('#complex-shadow input');
|
| -for (var i = 0; i < hosts4.length; ++i)
|
| - hosts4[i].createShadowRoot().innerHTML = 'prefix <span style="color:red;">♥</span><shadow></shadow> suffix';
|
| -</script>
|
| -
|
| -</body>
|
|
|