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

Unified Diff: LayoutTests/fast/css/first-letter-ignore-inline-style.html

Issue 1079583002: Skip inlines when looking for first-letter layoutObjects. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 | LayoutTests/fast/css/first-letter-ignore-inline-style-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/first-letter-ignore-inline-style.html
diff --git a/LayoutTests/fast/css/first-letter-ignore-inline-style.html b/LayoutTests/fast/css/first-letter-ignore-inline-style.html
new file mode 100644
index 0000000000000000000000000000000000000000..43be0b06d27b430dd6e52c075964e09a0c150fff
--- /dev/null
+++ b/LayoutTests/fast/css/first-letter-ignore-inline-style.html
@@ -0,0 +1,15 @@
+<!doctype html>
+
+<style>
+div:first-letter {
+ color: green;
+ font-size: 2em;
+}
+span:first-letter {
+ color: red;
+}
+</style>
+This test is successful if the first letter is green.
+<div>
+ <span>Green</span>
+</div>
« no previous file with comments | « no previous file | LayoutTests/fast/css/first-letter-ignore-inline-style-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698