blob: b00b800a259c673eeaef7d6d96d77f8ed566fca2 [file] [log] [blame]
<html>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<style>html,tr,img, table,media,body, li, em:nth-child(5){
height: 500px
}
</style>
<script>
function load() {
var cssRules = window.getMatchedCSSRules(document.documentElement);
cssRules[0].selectorText = 'a,td';
}
</script>
This test passes if it doesn't crash.
<iframe onload=load()>
</html>