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

Side by Side Diff: LayoutTests/fast/css/nth-child-and-nth-type-child-expected.html

Issue 1096813005: Extending the NthIndexCache to support caching for the type of index. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding Layout Tests Created 5 years, 7 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
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <body>
rune 2015/05/04 08:32:48 Drop html and body.
4 <div>
5 <p style="color:yellow;">
6 This should be yellow, as this will inherit property of div.
7 </p>
8 <p style="color:blue;">
9 This should be blue, as this is even child of type p.
10 </p>
11 <p style="color:yellow;">
12 This should be yellow, as this will inherit property of div.
13 </p>
14 <div style="color:yellow;">
15 This should be yellow, as it odd child of its own type.
16 </div>
17 </div>
18 <div style="color:green;">
19 This should be green, as this is 2nd child of its own type.
20 <p style="color:green;">
21 This should be green, as this will inherit property of div.
22 </p>
23 <p style="color:blue;">
24 This should be blue, as this is the even child of div.
25 </p>
26 <p style="color:green;">
27 This should be green, as this is the odd child of its own type.
28 </p>
29 <p style="color:blue;">
30 This should be blue, as this is the even child of paragraph.
31 </p>
32 </div>
33 <div style="color:yellow;">
34 This should be yellow, as this odd child of its own type.
35 <p style="color:yellow;">
36 This should be yellow,as this inherit property of div.
37 </p>
38 <span style="color:red;">This should be red,as this is the second child of div </span>
39 <span style="color:green;">This should be green, as this is the second c hild of its own type </span>
40 <div>
41 <span style="color:yellow;">This should be yellow,as this will inher it property of div i.e yellow as odd of its own type <i>and </i> <i style="color :green;">this should be green and italic </i></span>
42 </div>
43 </div>
44 </body>
45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698