Source/WebCore: Add UserAgentShadowDOM to FormControlElement just before adding Autho...
[WebKit-https.git] / LayoutTests / fast / dom / shadow / shadowdom-for-fieldset-complex-shadow.html
1 <!DOCTYPE html>
2 <script src="resources/polyfill.js"></script>
3
4 <p>A mixed case of a shadow element and content element.</p>
5 <form>
6     <fieldset id="host">
7         <legend>legend</legend>
8         <input type="text"></input>
9     </fieldset>
10     <input id="submit" type="submit" value="Submit">
11 </form>
12
13 <script>
14 var host = document.getElementById('host');
15 var shadowRoot = new WebKitShadowRoot(host);
16 shadowRoot.innerHTML = "<content></content><div style='margin: 20px'><shadow></shadow></div>"
17 </script>