| Index: LayoutTests/fast/css/recalc-optgroup-inherit.html
|
| diff --git a/LayoutTests/fast/css/recalc-optgroup-inherit.html b/LayoutTests/fast/css/recalc-optgroup-inherit.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..90be4abfbcefaff2f4efef7fe434f6cf3a7d5e94
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css/recalc-optgroup-inherit.html
|
| @@ -0,0 +1,14 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/js-test.js"></script>
|
| +<select id="s">
|
| + <optgroup id="g" style="color:red">
|
| + <option id="o">Green</option>
|
| + </optgroup>
|
| +</select>
|
| +<script>
|
| +description("Check that OPTION inherits the modified OPTGROUP color.");
|
| +
|
| +document.body.offsetTop; // force style recalc.
|
| +document.getElementById("g").style.color = "green";
|
| +shouldBe("getComputedStyle(document.getElementById('o'), null).color", "'rgb(0, 128, 0)'");
|
| +</script>
|
|
|