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

Side by Side Diff: LayoutTests/fast/dynamic/first-child-display-none.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 p:first-child {
4 display:none;
5 }
6 </style>
7 <script>
8 if (window.testRunner)
9 testRunner.dumpAsText();
10 </script>
11 <p>You should see the word 'PASS' below:</p>
12 <div id="container">
13 <p>PASS</p>
14 </div>
15 <script>
16 container.offsetTop;
17 container.insertBefore(document.createElement("p"), container.querySelector("p") );
18 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698