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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/first-line-with-first-letter.html

Issue 2729373003: Bit-mask incorrectly removed first-line pseudo bit. (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/first-line-with-first-letter-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/paint/invalidation/first-line-with-first-letter.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/first-line-with-first-letter.html b/third_party/WebKit/LayoutTests/paint/invalidation/first-line-with-first-letter.html
new file mode 100644
index 0000000000000000000000000000000000000000..39d1237ef08b388869eb9d4424696448c9925807
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/first-line-with-first-letter.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<style>
+ #t1::first-letter { color: white }
+ #t1::first-line { background: red }
+ #t1.green::first-line { background: green }
+</style>
+<div id="t1">
+ First letter should be white, and the first line should have a green
+ background.
+</div>
+<script>
+ if (window.testRunner)
+ testRunner.waitUntilDone();
+
+ requestAnimationFrame(() =>
+ requestAnimationFrame(() => {
+ t1.className = "green";
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }));
meade_UTC10 2017/03/06 02:58:29 Nit: I think this should all be 2-indented...
rune 2017/03/06 09:51:18 Done.
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/first-line-with-first-letter-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698