blob: cfbf2516ffcb50bbb49923faa2491e5f8b0e4a66 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="resources/replaced-element-styles.css">
<script src="resources/polyfill.js"></script>
</head>
<body>
<style>
meter {
-webkit-appearance: none;
}
</style>
<div id="container">
<meter id="host" min="0" max="100" value="50"></meter>
</div>
<script>
if (window.internals)
internals.settings.setAuthorShadowDOMForAnyElementEnabled(true);
var shadowRoot = host.webkitCreateShadowRoot();
shadowRoot.innerHTML = "<shadow></shadow><span>(after)</span>";
</script>
</body>
</html>