5 <style type=
"text/css" media=
"screen">
13 <script src=
"../../../resources/js-test.js"></script>
18 description("Test for getMatchedCSSRules for Pseudo Elements");
19 var element
= document
.getElementById('div1');
20 var pseudoRules
= window
.getMatchedCSSRules(element
, "after");
21 var selectorText
= "#div1::after";
23 shouldBe('pseudoRules[0].selectorText', 'selectorText');
24 shouldBeTrue('pseudoRules[0].style.cssText.indexOf("1px") != -1');
26 successfullyParsed
= true;