Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Side by Side Diff: LayoutTests/fast/css/recalc-optgroup-inherit.html

Issue 165433002: Recalc OPTION and OPTGROUP from recalcOwnStyle. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed unnecessary branch. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/css/recalc-optgroup-inherit-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <select id="s">
4 <optgroup id="g" style="color:red">
5 <option id="o">Green</option>
6 </optgroup>
7 </select>
8 <script>
9 description("Check that OPTION inherits the modified OPTGROUP color.");
10
11 document.body.offsetTop; // force style recalc.
12 document.getElementById("g").style.color = "green";
13 shouldBe("getComputedStyle(document.getElementById('o'), null).color", "'rgb(0, 128, 0)'");
14 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/recalc-optgroup-inherit-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698