Chromium Code Reviews

Side by Side Diff: LayoutTests/fast/dom/shadow/shadowdom-for-select-without-shadow.html

Issue 14594006: Remove Internals::createShadowRoot(element) and polyfill.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="resources/polyfill.js"></script>
3 2
4 <p>When the AuthorShadowDOM does not have a Shadow DOM, the content won't be ren dered.</p> 3 <p>When the AuthorShadowDOM does not have a Shadow DOM, the content won't be ren dered.</p>
5 <form> 4 <form>
6 <select id="host" style="width: 100px; height: 30px; margin 0; padding: 0; b order: 0"> 5 <select id="host" style="width: 100px; height: 30px; margin 0; padding: 0; b order: 0">
7 <option disabled>Please select</option> 6 <option disabled>Please select</option>
8 <optgroup label="Rank 1"></optgroup> 7 <optgroup label="Rank 1"></optgroup>
9 <option value="hoge" selected>hoge</option> 8 <option value="hoge" selected>hoge</option>
10 </select> 9 </select>
11 <input id="submit" type="submit" value="Submit"> 10 <input id="submit" type="submit" value="Submit">
12 </form> 11 </form>
13 12
14 <script> 13 <script>
15 var host = document.getElementById('host'); 14 var host = document.getElementById('host');
16 var shadowRoot = host.webkitCreateShadowRoot(); 15 var shadowRoot = host.webkitCreateShadowRoot();
17 </script> 16 </script>
OLDNEW

Powered by Google App Engine