Index: LayoutTests/fast/css/first-letter-different-renderers.html |
diff --git a/LayoutTests/fast/css/first-letter-different-renderers.html b/LayoutTests/fast/css/first-letter-different-renderers.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9f6ca69d318e32a442a295a77872b33c036e342b |
--- /dev/null |
+++ b/LayoutTests/fast/css/first-letter-different-renderers.html |
@@ -0,0 +1,39 @@ |
+<html> |
+<head> |
+ <style> |
+ h1 { margin: 0px; } |
+ div.testDiv:first-letter, ul li:first-letter { font-size:20px; font-weight: bold; color: red; } |
+ ul li { list-style-type: none; } |
+</style> |
+</head> |
+<body> |
+ <div> |
+ <h1>Multiple paragraphs inside nested block</h1> |
+ <div class="testDiv"> |
+ <div> |
+ <p>“(A)”: Appetizers</p> |
+ <p>“(<a href="#">B</a>)”: <a href="#">Starters:</a> Soups & Salads</p> |
+ <p>“<b>(</b><a href="#">C</a><b>)</b>”: Main Course: <a href="#">Pasta</a></p> |
+ </div> |
+ </div> |
+ <h1>List with spaces after the leading dot</h1> |
+ <ul> |
+ <li>· Appetizers</li> |
+ <li>· <a href="#">Starters:</a> Soups & Salads</li> |
+ <li>· Main Course: <a href="#">Pasta</a></li> |
+ </ul> |
+ <h1>List without spaces after the leading dot</h1> |
+ <ul> |
+ <li>·Appetizers</li> |
+ <li>·<a href="#">Starters:</a> Soups & Salads</li> |
+ <li>·Main Course: <a href="#">Pasta</a></li> |
+ </ul> |
+ <h1>first-letter with multiple punctuation characters</h1> |
+ <ul> |
+ <li>“(A)”: Appetizers</li> |
+ <li>“(<a href="#">B</a>)”: <a href="#">Starters:</a> Soups & Salads</li> |
+ <li>“<b>(</b><a href="#">C</a><b>)</b>”: Main Course: <a href="#">Pasta</a></li> |
+ </ul> |
+ </div> |
+</body> |
+</html> |