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

Side by Side Diff: LayoutTests/fast/dynamic/only-child.html

Issue 758523002: Store :last/first-child state as restyle flags. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed assert Created 6 years 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 .b:only-child {
4 color: green;
5 }
6 </style>
7 <p id="p"><span></span><span class="b">This text should be green.</span><span></ span></p>
8 <script>
9 document.body.offsetTop;
10 p.removeChild(p.firstChild);
11 p.removeChild(p.lastChild);
12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698