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

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

Issue 684213002: Return correct length for firstLetterLength. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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
Index: LayoutTests/fast/css/first-letter-wbr-first-character.html
diff --git a/LayoutTests/fast/css/first-letter-wbr-first-character.html b/LayoutTests/fast/css/first-letter-wbr-first-character.html
new file mode 100644
index 0000000000000000000000000000000000000000..82bca638d26b3091b2c3f48bbd2e14d1f5a70c3f
--- /dev/null
+++ b/LayoutTests/fast/css/first-letter-wbr-first-character.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<style>
+div { color: green; font-size: 40px; }
+div:first-letter { color: red; font-size: 40px; }
+</style>
+
+<p>This test is successful if the 'T' below is green.</p>
+<div><wbr>T</div>

Powered by Google App Engine
This is Rietveld 408576698