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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/children-affected-by-style-sharing.html

Issue 1562493002: Cousins may not share style when ascendant affected bits set. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/children-affected-by-style-sharing-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 <style>
4 :focus { outline: none }
5 li:focus span { background: green }
6 li { list-style-type: none }
7 li span { color: green }
8 </style>
9 <p>You should see a green rectangle below.</p>
10 <li>
11 <div></div>
12 </li>
13 <li>
14 <div>
15 <span></span>
16 </div>
17 </li>
18 <li tabIndex="1">
19 <div>
20 <span id="span">FAIL</span>
21 </div>
22 </li>
23 <script>
24 description("childrenOrSiblingsAffectedBy* disables style sharing");
25
26 document.body.offsetTop;
27 document.querySelectorAll("li")[2].focus();
28 shouldBeEqualToString("getComputedStyle(span).backgroundColor", "rgb(0, 128, 0)");
29 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/children-affected-by-style-sharing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698