Index: LayoutTests/fast/css/first-letter-different-renderers-expected.html |
diff --git a/LayoutTests/fast/css/first-letter-different-renderers-expected.html b/LayoutTests/fast/css/first-letter-different-renderers-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9f24770f7b976e8fe9e3a1dd2932d65da6c69c1d |
--- /dev/null |
+++ b/LayoutTests/fast/css/first-letter-different-renderers-expected.html |
@@ -0,0 +1,54 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <style type="text/css"> |
+ h1 { margin: 8px 0px; font-size: 18px; } |
+ div, p, ul { margin: 0px; font-size: 14px; } |
+ .bigRedText, .bigRedText a { font-size:16px; font-weight: bold; color: red; } |
+ ul li { list-style-type: none; } |
+ </style> |
+</head> |
+<body> |
+ <div> |
+ <h1>Paragraphs with only one character</h1> |
+ <div> |
+ <p><span class="bigRedText">A</span></p> |
+ <p><span class="bigRedText"><b>B</b></span></p> |
+ <p><span class="bigRedText"><em><b>C</b></em></span></p> |
+ </div> |
+ <h1>Paragraphs with leading spaces</h1> |
+ <div> |
+ <p><span class="bigRedText"> A</span>ppetizers</p> |
+ <p><span class="bigRedText"> S</span><a href="#">tarters:</a> Soups & Salads</p> |
+ <p><span class="bigRedText"> M</span>ain Course: <a href="#">Pasta</a></p> |
+ <p><span class="bigRedText"> D</span>essert: <a href="#">Pasta</a></p> |
+ </div> |
+ <h1>Multiple paragraphs inside nested blocks (only the first one should get the first-letter)</h1> |
+ <div class="testDiv"> |
+ <div> |
+ <p><span class="bigRedText">“(A)”:</span> 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><span class="bigRedText">·A</span>ppetizers</li> |
+ <li><span class="bigRedText">·S</span><a href="#">tarters:</a> Soups & Salads</li> |
+ <li><span class="bigRedText">·M</span>ain Course: <a href="#">Pasta</a></li> |
+ </ul> |
+ <h1>first-letter with multiple punctuation characters</h1> |
+ <ul> |
+ <li><span class="bigRedText">“(A)”:</span> Appetizers</li> |
+ <li><span class="bigRedText">“(B)”:</span> <a href="#">Starters:</a> Soups & Salads</li> |
+ <li><span class="bigRedText">“(C)”:</span> Main Course: <a href="#">Pasta</a></li> |
+ <li><span class="bigRedText">"<b>(</b>D<b>)</b>":</span> Desserts</li> </ul> |
+ </div> |
+</body> |
+</html> |