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

Unified Diff: LayoutTests/fast/css/first-letter-expected.html

Issue 672953002: Convert first letter into a pseudo element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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: LayoutTests/fast/css/first-letter-expected.html
diff --git a/LayoutTests/fast/css/first-letter-expected.html b/LayoutTests/fast/css/first-letter-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..ddd791d894571d7292bbcbf1a3d691dc83e24453
--- /dev/null
+++ b/LayoutTests/fast/css/first-letter-expected.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<style>
+.first { color: green; font-size: 2em; }
+.underline { text-decoration: underline; }
+#a { color: green; }
+ </style>
+This tests various first letter combinations. In each case the first letter
+should be larger and green.
+<div class="target"><e class="first">L</e>orem</div>
+<div class="target underline"><span><span class="first">I</span>psum</span></div>
+<div class="target underline"><span class="first">C</span>arpe Diem</span></div>
+<div class="target"><e class='underline'><span class="first">F</span>oo </e>bar</div>
+<div id="a">
+ <span class="first underline">F</span>irst letter should be green and underlined.</div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698