4 <script src=
"../../../resources/js-test.js"></script>
14 .trigger-style-recalc {
15 /* No change, we just need a new style recalculation. */
19 <body style=
"color: green">
20 <button>The test passes if this is in green.
</button>
23 description('Tests that inert elements do not match the :disabled selector.');
24 document
.querySelector('dialog').showModal();
25 button
= document
.querySelector('button');
26 button
.classList
.add('trigger-style-recalc');
27 color
= document
.defaultView
.getComputedStyle(button
).getPropertyValue('color');
28 shouldBe('color', "'rgb(0, 128, 0)'");