Bug 558981: Make reftests/text-decoration/underline-block-propagation-2-standards not dependent on system widget themes. r=dbaron
authorZack Weinberg <zweinberg@mozilla.com>
Thu, 29 Apr 2010 08:43:41 -0700
changeset 41539 c8e77c61cfed9e8b4df6ddc1ad32b823dc89740a
parent 41538 5a0eb7abe752c9318b1e9e99973cfa699b5ef7b7
child 41540 79cbadb26768422fbd77a2a34ad83ec5965f1056
child 46839 288aeb67ac3794b0c62098faaad3ceb58cfc8b09
push idunknown
push userunknown
push dateunknown
reviewersdbaron
bugs558981
milestone1.9.3a5pre
Bug 558981: Make reftests/text-decoration/underline-block-propagation-2-standards not dependent on system widget themes. r=dbaron
layout/reftests/text-decoration/underline-block-propagation-2-standards-ref.html
layout/reftests/text-decoration/underline-block-propagation-2-standards.html
--- a/layout/reftests/text-decoration/underline-block-propagation-2-standards-ref.html
+++ b/layout/reftests/text-decoration/underline-block-propagation-2-standards-ref.html
@@ -1,17 +1,21 @@
 <!DOCTYPE HTML>
 <html><head>
 <title>More tests of propagation of text-decoration</title>
+<style>
+textarea { -moz-appearance: none }
+</style>
 </head>
 <body>
 <!-- t-d should not propagate to the content of a form control -->
 <form>
 <span style="text-decoration:underline">This text should be underlined.</span><br>
 <textarea rows="2" cols="40">This text should not be underlined.</textarea
+><span style="display:inline-block;width:10px;text-decoration:underline">&nbsp;&nbsp;&nbsp;</span
 ><textarea rows="2" cols="40" style="text-decoration:line-through"
 >This text should be struck out.</textarea>
 <p style="text-decoration:underline">This text should also be underlined.</p>
 </form>
 <!-- t-d should propagate from parent elements to table-cells -->
 <div>
   <table>
     <tr>
--- a/layout/reftests/text-decoration/underline-block-propagation-2-standards.html
+++ b/layout/reftests/text-decoration/underline-block-propagation-2-standards.html
@@ -1,11 +1,15 @@
 <!DOCTYPE HTML>
 <html><head>
 <title>More tests of propagation of text-decoration</title>
+<style>
+textarea { -moz-appearance: none }
+textarea + textarea { margin-left: 10px }
+</style>
 </head>
 <body>
 <!-- t-d should not propagate to the content of a form control -->
 <form style="text-decoration:underline">
 This text should be underlined.<br>
 <textarea rows="2" cols="40">This text should not be underlined.</textarea
 ><textarea rows="2" cols="40" style="text-decoration:line-through"
 >This text should be struck out.</textarea>