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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/first-line-change-color-direct.html

Issue 1473363003: Invalidate first line display item clients when first line style changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some modifications were not saved to README.md in the previous patch Created 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/css/first-line-change-color-direct.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/first-line-change-inline-color.html b/third_party/WebKit/LayoutTests/fast/css/first-line-change-color-direct.html
similarity index 52%
copy from third_party/WebKit/LayoutTests/fast/css/invalidation/first-line-change-inline-color.html
copy to third_party/WebKit/LayoutTests/fast/css/first-line-change-color-direct.html
index c147ad6b4885068e53669581cbbd03fca99cedda..15f31ae75b32fabba58ad388ab34affc8446b113 100644
--- a/third_party/WebKit/LayoutTests/fast/css/invalidation/first-line-change-inline-color.html
+++ b/third_party/WebKit/LayoutTests/fast/css/first-line-change-color-direct.html
@@ -1,14 +1,9 @@
<!DOCTYPE html>
<style>
- #block { color: green; }
- #block::first-line { color: red; }
- .green { color: green; }
+ #t::first-line { color: red; }
+ #t.green::first-line { color: green; }
</style>
-<div id="block">
- <div>
- <p>Red <span id="t">This text should be green.</span> Red</p>
- </div>
-</div>
+<div id="t">This text should be green.<br>This text should be black.</div>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
runAfterLayoutAndPaint(function() {

Powered by Google App Engine
This is Rietveld 408576698