| Index: third_party/WebKit/LayoutTests/fast/css/first-line-change-color.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/first-line-change-color.html b/third_party/WebKit/LayoutTests/fast/css/first-line-change-color.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..60a624b6ef129cfef218c5b30638220afb37c917
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/first-line-change-color.html
|
| @@ -0,0 +1,17 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| + #t::first-line { color: red; }
|
| + #t.green::first-line { color: green; }
|
| +</style>
|
| +<div id="t">
|
| + <div>
|
| + <p>This text should be green.</p>
|
| + <p>This text should be black.</p>
|
| + </div>
|
| +</div>
|
| +<script src="../../resources/run-after-layout-and-paint.js"></script>
|
| +<script>
|
| +runAfterLayoutAndPaint(function() {
|
| + document.getElementById('t').className = 'green';
|
| +}, true);
|
| +</script>
|
|
|