<!DOCTYPE html> | |
<html> | |
<body> | |
<p>This test checks element.pseudo starting '-webkit-' only works in UserAgentShadowRoot.</p> | |
<div><div style="color: red">This text should be red.</div></div> | |
<div><div>This text should not be red.</div></div> | |
</body> | |
</html> |