Source/WebCore: Add UserAgentShadowDOM to FormControlElement just before adding Autho...
[WebKit-https.git] / LayoutTests / fast / dom / shadow / shadowdom-for-fieldset-without-shadow.html
1 <!DOCTYPE html>
2 <script src="resources/polyfill.js"></script>
3
4 <p>When the AuthorShadowDOM does not have a Shadow DOM, the content won't be rendered.</p>
5 <form>
6     <fieldset id="host" style="width: 100px; height: 30px; margin: 0; padding: 0; border: 0">
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 </script>