Chromium Code Reviews| Index: LayoutTests/fast/css/nth-child-and-nth-type-child-expected.html |
| diff --git a/LayoutTests/fast/css/nth-child-and-nth-type-child-expected.html b/LayoutTests/fast/css/nth-child-and-nth-type-child-expected.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..413fe01281e76fa4a8e5dc61b9d90c530fbcd08c |
| --- /dev/null |
| +++ b/LayoutTests/fast/css/nth-child-and-nth-type-child-expected.html |
| @@ -0,0 +1,45 @@ |
| +<!DOCTYPE HTML> |
| +<html> |
| +<body> |
|
rune
2015/05/04 08:32:48
Drop html and body.
|
| + <div> |
| + <p style="color:yellow;"> |
| + This should be yellow, as this will inherit property of div. |
| + </p> |
| + <p style="color:blue;"> |
| + This should be blue, as this is even child of type p. |
| + </p> |
| + <p style="color:yellow;"> |
| + This should be yellow, as this will inherit property of div. |
| + </p> |
| + <div style="color:yellow;"> |
| + This should be yellow, as it odd child of its own type. |
| + </div> |
| + </div> |
| + <div style="color:green;"> |
| + This should be green, as this is 2nd child of its own type. |
| + <p style="color:green;"> |
| + This should be green, as this will inherit property of div. |
| + </p> |
| + <p style="color:blue;"> |
| + This should be blue, as this is the even child of div. |
| + </p> |
| + <p style="color:green;"> |
| + This should be green, as this is the odd child of its own type. |
| + </p> |
| + <p style="color:blue;"> |
| + This should be blue, as this is the even child of paragraph. |
| + </p> |
| + </div> |
| + <div style="color:yellow;"> |
| + This should be yellow, as this odd child of its own type. |
| + <p style="color:yellow;"> |
| + This should be yellow,as this inherit property of div. |
| + </p> |
| + <span style="color:red;">This should be red,as this is the second child of div </span> |
| + <span style="color:green;">This should be green, as this is the second child of its own type </span> |
| + <div> |
| + <span style="color:yellow;">This should be yellow,as this will inherit 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> |
| + </div> |
| + </div> |
| +</body> |
| +</html> |