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

Side by Side Diff: LayoutTests/fast/dom/shadow/shadowdom-for-select-only-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. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="resources/polyfill.js"></script>
3 2
4 <p>When the AuthorShadowDOM has only a shadow element, this should be rendered l ike no Shadow DOM is added.</p> 3 <p>When the AuthorShadowDOM has only a shadow element, this should be rendered l ike no Shadow DOM is added.</p>
5 <form> 4 <form>
6 <select id="host"> 5 <select id="host">
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 shadowRoot.innerHTML = "<shadow></shadow>" 16 shadowRoot.innerHTML = "<shadow></shadow>"
18 </script> 17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698