| Index: third_party/WebKit/LayoutTests/paint/invalidation/caret-color-inline.html
|
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/caret-color-inline.html b/third_party/WebKit/LayoutTests/paint/invalidation/caret-color-inline.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7505b8076190965f91c377a402633f533e7741b4
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/caret-color-inline.html
|
| @@ -0,0 +1,12 @@
|
| +<!DOCTYPE html>
|
| +Tests color of caret changes with the 'color' style. Passes if caret is always in the came color as the text.
|
| +<div id="div" contenteditable="true">
|
| + <span id="span" style="color: red; font-size: 50px">SAMPLE</span>
|
| +</div>
|
| +<script src="../../resources/run-after-layout-and-paint.js"></script>
|
| +<script>
|
| +div.focus();
|
| +runAfterLayoutAndPaint(function() {
|
| + span.style.color = 'green';
|
| +}, true);
|
| +</script>
|
|
|