Bug 558981: Make reftests/text-decoration/underline-block-propagation-2-standards not dependent on system widget themes. r=dbaron

This commit is contained in:
Zack Weinberg 2010-04-29 08:43:41 -07:00
parent 05e0d343e5
commit 413f17a4cf
2 changed files with 8 additions and 0 deletions

View File

@ -1,12 +1,16 @@
<!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>

View File

@ -1,6 +1,10 @@
<!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 -->