b=617869 separate first-letter font-size test from Hangul Jamo test
authorKarl Tomlinson <karlt+@karlt.net>
Tue, 14 Dec 2010 08:43:08 +1300
changeset 59158 bac79600ed97c28457f62f07d738ac3848546189
parent 59157 4a05b01c58140e0187140e24f7a6e3b3caf6318b
child 59159 302ec4161442fd0ce025bd00525b8350dd2a24c7
push idunknown
push userunknown
push dateunknown
bugs617869
milestone2.0b8pre
b=617869 separate first-letter font-size test from Hangul Jamo test
layout/reftests/first-letter/329069-2-ref.html
layout/reftests/first-letter/329069-2.html
layout/reftests/first-letter/617869-1-ref.html
layout/reftests/first-letter/617869-1.html
layout/reftests/first-letter/reftest.list
--- a/layout/reftests/first-letter/329069-2-ref.html
+++ b/layout/reftests/first-letter/329069-2-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
-<html>
+<html lang="ko">
 <head>
   <style>
-    span.fake-first-letter { color: red; font-size: 200%; }
+    span.fake-first-letter { color: red; }
   </style>
 </head>
 <body>
-  <p><span class="fake-first-letter">&#x1101;&#x1170;&#x11B7;</span></p>
+  <p><span class="fake-first-letter">&#x1101;&#x1170;&#x11B7;</span>&#x1101;&#x1170;&#x11B7;</p>
 </body>
 </html>
--- a/layout/reftests/first-letter/329069-2.html
+++ b/layout/reftests/first-letter/329069-2.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
-<html>
+<html lang="ko">
 <head>
   <style>
-   p:first-letter { color: red; font-size: 200%; }
+   p:first-letter { color: red; }
   </style>
 </head>
 <body>
-  <p>&#x1101;&#x1170;&#x11B7;</p>
+  <p>&#x1101;&#x1170;&#x11B7;&#x1101;&#x1170;&#x11B7;</p>
 </body>
 </html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/first-letter/617869-1-ref.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <style>
+    span.fake-first-letter { color: red; font-size: 200%; }
+  </style>
+</head>
+<body>
+  <p><span class="fake-first-letter">S</span>ome text</p>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/first-letter/617869-1.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <style>
+   p:first-letter { color: red; font-size: 200%; }
+  </style>
+</head>
+<body>
+  <p>Some text</p>
+</body>
+</html>
--- a/layout/reftests/first-letter/reftest.list
+++ b/layout/reftests/first-letter/reftest.list
@@ -30,17 +30,17 @@ random-if(d2d) == dynamic-2.html dynamic
 == 23605-2.html 23605-2-ref.html
 == 23605-3.html 23605-3-ref.html
 == 23605-4.html 23605-4-ref.html
 == 23605-5.html 23605-5-ref.html
 == 23605-6.html 23605-6-ref.html
 != 229764-1.html 229764-ref.html
 == 229764-2.html 229764-ref.html
 == 329069-1.html 329069-1-ref.html
-fails-if(winWidget) == 329069-2.html 329069-2-ref.html # bug 617869
+fails-if(winWidget&&!d2d) == 329069-2.html 329069-2-ref.html # bug 615445
 fails-if(winWidget&&!d2d) == 329069-3.html 329069-3-ref.html # bug 615445
 == 329069-4.html 329069-4-ref.html
 fails-if(!cocoaWidget) == 329069-5.html 329069-5-ref.html # bug 603710
 == 342120-1.xhtml 342120-1-ref.xhtml
 == 379799-1.html 379799-1-ref.html
 == 399941-1.html 399941-1-ref.html
 == 399941-2.html 399941-2-ref.html
 == 399941-3.html 399941-3-ref.html
@@ -54,8 +54,9 @@ fails-if(!cocoaWidget) == 329069-5.html 
 == 429968-1b.html 429968-1-ref.html
 == 429968-2a.html 429968-2-ref.html
 == 429968-2b.html 429968-2-ref.html
 == 429968-2c.html 429968-2-ref.html
 == 441418-1.html 441418-1-ref.html
 == 469227-1.html 469227-1-ref.html
 == 484400-1.html 484400-1-ref.html
 == 594303-1.html 594303-1-ref.html
+fails-if(!gtk2Widget) == 617869-1.html 617869-1-ref.html