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

Side by Side Diff: LayoutTests/fast/css/first-letter.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 .before:before { content: 'Carpe '; }
4 .after:after { content: 'Foo '; }
5 .target:first-letter { color: green; font-size: 2em; }
6 span { text-decoration: underline; }
7 </style>
8 This tests various first letter combinations. In each case the first letter
9 should be larger and green.
10 <div class="target">Lorem</div>
11 <div class="target"><span>Ipsum</span></div>
12 <div class="target"><span class="before">Diem</span></div>
13 <div class="target"><span class="after"></span>bar</div>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/dynamic-class-pseudo-elements-expected.txt ('k') | LayoutTests/fast/css/first-letter-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698