From 1a465d49c3e87cd735f3305ec2dd3c224ffdeffb Mon Sep 17 00:00:00 2001 From: "dbaron%dbaron.org" Date: Wed, 28 Feb 2007 23:46:16 +0000 Subject: [PATCH] Tweak tests that could fail if antialiased text sticks a little bit out of its bounding box. b=372072 --- layout/reftests/bugs/18217-zorder-3.html | 4 +- layout/reftests/bugs/18217-zorder-4.html | 4 +- layout/reftests/bugs/18217-zorder-5.html | 4 +- .../bugs/18217-zorder-ref-inline-table.html | 2 +- .../bugs/18217-zorder-ref-inline.html | 2 +- layout/reftests/bugs/9458-zorder-3.html | 4 +- layout/reftests/bugs/9458-zorder-4.html | 4 +- layout/reftests/bugs/9458-zorder-5.html | 4 +- .../bugs/9458-zorder-ref-inline-block.html | 2 +- .../reftests/bugs/9458-zorder-ref-inline.html | 2 +- .../reftests/table-width/balancing-1-ref.html | 64 +++++++++---------- layout/reftests/table-width/balancing-1.html | 64 +++++++++---------- .../reftests/table-width/balancing-2-ref.html | 40 ++++++------ layout/reftests/table-width/balancing-2.html | 32 +++++----- 14 files changed, 116 insertions(+), 116 deletions(-) diff --git a/layout/reftests/bugs/18217-zorder-3.html b/layout/reftests/bugs/18217-zorder-3.html index 70f56e0ed235..da7eb3075906 100644 --- a/layout/reftests/bugs/18217-zorder-3.html +++ b/layout/reftests/bugs/18217-zorder-3.html @@ -10,7 +10,7 @@ div#after > span { display: inline; vertical-align: top; background: green; colo -
X
-
X
+
 x 
+
 x 
diff --git a/layout/reftests/bugs/18217-zorder-4.html b/layout/reftests/bugs/18217-zorder-4.html index a18e85d1beed..9753289e1898 100644 --- a/layout/reftests/bugs/18217-zorder-4.html +++ b/layout/reftests/bugs/18217-zorder-4.html @@ -9,7 +9,7 @@ div#before > span { display: inline; vertical-align: top; background: red; color -
X
-
X
+
 x 
+
 x 
diff --git a/layout/reftests/bugs/18217-zorder-5.html b/layout/reftests/bugs/18217-zorder-5.html index 3a9163414496..f2b4dc2f5136 100644 --- a/layout/reftests/bugs/18217-zorder-5.html +++ b/layout/reftests/bugs/18217-zorder-5.html @@ -10,7 +10,7 @@ div#before > span { display: inline; vertical-align: top; background: red; color -
X
-
X
+
 x 
+
 x 
diff --git a/layout/reftests/bugs/18217-zorder-ref-inline-table.html b/layout/reftests/bugs/18217-zorder-ref-inline-table.html index 28eac34d1a3d..4f3432b1b1c3 100644 --- a/layout/reftests/bugs/18217-zorder-ref-inline-table.html +++ b/layout/reftests/bugs/18217-zorder-ref-inline-table.html @@ -7,6 +7,6 @@ span { display: inline-table; vertical-align: top; background: green; color: gre -
X
+
 x 
diff --git a/layout/reftests/bugs/18217-zorder-ref-inline.html b/layout/reftests/bugs/18217-zorder-ref-inline.html index 78ad4a158499..cfc60a01df12 100644 --- a/layout/reftests/bugs/18217-zorder-ref-inline.html +++ b/layout/reftests/bugs/18217-zorder-ref-inline.html @@ -7,6 +7,6 @@ span { vertical-align: top; background: green; color: green; border-bottom: 0.25 -
X
+
 x 
diff --git a/layout/reftests/bugs/9458-zorder-3.html b/layout/reftests/bugs/9458-zorder-3.html index 164cc595ea64..bb2017af46c0 100644 --- a/layout/reftests/bugs/9458-zorder-3.html +++ b/layout/reftests/bugs/9458-zorder-3.html @@ -10,7 +10,7 @@ div#after span { display: inline; vertical-align: top; background: green; color: -
X
-
X
+
 x 
+
 x 
diff --git a/layout/reftests/bugs/9458-zorder-4.html b/layout/reftests/bugs/9458-zorder-4.html index 07e2409b647e..292bda6be2fc 100644 --- a/layout/reftests/bugs/9458-zorder-4.html +++ b/layout/reftests/bugs/9458-zorder-4.html @@ -9,7 +9,7 @@ div#before span { display: inline; vertical-align: top; background: red; color: -
X
-
X
+
 x 
+
 x 
diff --git a/layout/reftests/bugs/9458-zorder-5.html b/layout/reftests/bugs/9458-zorder-5.html index e681f3796197..2fa9efe249c5 100644 --- a/layout/reftests/bugs/9458-zorder-5.html +++ b/layout/reftests/bugs/9458-zorder-5.html @@ -10,7 +10,7 @@ div#before > span { display: inline; vertical-align: top; background: red; color -
X
-
X
+
 x 
+
 x 
diff --git a/layout/reftests/bugs/9458-zorder-ref-inline-block.html b/layout/reftests/bugs/9458-zorder-ref-inline-block.html index 28b1623a7456..4ff902b8fa82 100644 --- a/layout/reftests/bugs/9458-zorder-ref-inline-block.html +++ b/layout/reftests/bugs/9458-zorder-ref-inline-block.html @@ -7,6 +7,6 @@ span { display: inline-block; vertical-align: top; background: green; color: gre -
X
+
 x 
diff --git a/layout/reftests/bugs/9458-zorder-ref-inline.html b/layout/reftests/bugs/9458-zorder-ref-inline.html index 47bb831cb4b6..74a0d2a975e2 100644 --- a/layout/reftests/bugs/9458-zorder-ref-inline.html +++ b/layout/reftests/bugs/9458-zorder-ref-inline.html @@ -7,6 +7,6 @@ span { vertical-align: top; background: green; color: green; border-bottom: 0.25 -
X
+
 x 
diff --git a/layout/reftests/table-width/balancing-1-ref.html b/layout/reftests/table-width/balancing-1-ref.html index 1a10e59149a6..16d2ad2a50c5 100644 --- a/layout/reftests/table-width/balancing-1-ref.html +++ b/layout/reftests/table-width/balancing-1-ref.html @@ -40,59 +40,59 @@ body { width: 900px; } --> - - - - + + + +
xxxx    
- - - - + + + +
xxxx    
- - - - + + + +
xxxx    
- - - - + + + +
xxxx    
- - - - + + + +
xxxx    
- - - - + + + +
xxxx    
- - - - + + + +
xxxx    
- - - - + + + +
xxxx    
diff --git a/layout/reftests/table-width/balancing-1.html b/layout/reftests/table-width/balancing-1.html index 26b9794c5c86..221142e205ed 100644 --- a/layout/reftests/table-width/balancing-1.html +++ b/layout/reftests/table-width/balancing-1.html @@ -45,59 +45,59 @@ span { -->
- - - - + + + +
xxxxxx
- - - - + + + +
xxxxxx
- - - - + + + +
xxxxxx
- - - - + + + +
xxxxxx
- - - - + + + +
xxxxxx
- - - - + + + +
xxxxxx
- - - - + + + +
xxxxxx
- - - - + + + +
xxxxxx
diff --git a/layout/reftests/table-width/balancing-2-ref.html b/layout/reftests/table-width/balancing-2-ref.html index 19424bca9627..3b5c98b44f53 100644 --- a/layout/reftests/table-width/balancing-2-ref.html +++ b/layout/reftests/table-width/balancing-2-ref.html @@ -20,42 +20,42 @@ td { background: black; background: currentColor; } - - + + - - + +
xx   xx  
- - + + - - + +
xx   xx  
- - + + - - + +
xx   xx  
- - + + - - + +
xx   xx  
- - - - + + + +
xxxx    
diff --git a/layout/reftests/table-width/balancing-2.html b/layout/reftests/table-width/balancing-2.html index 933cea936dfb..bb9d991248b0 100644 --- a/layout/reftests/table-width/balancing-2.html +++ b/layout/reftests/table-width/balancing-2.html @@ -42,35 +42,35 @@ span { --> - - + + - - + +
xxxx xx
- - + + - - + +
xxxx xx
- - + + - - + +
xxxx xx
- - + + - - + +
xx xx