Bug 1122897 patch 2 - Fix underline-block-propagation-2-quirks.html to reflect table text-decoration quirk, and to have the -moz-appearance rule that the long-passing underline-block-propagation-1* tests have, so that it passes. r=dholbert

Note that the style element additions to test and reference are making a
change already made in the -standards version, and the other change is
reflecting a quirk that is not removed, and that is interoperable.
This commit is contained in:
L. David Baron 2015-01-22 16:53:56 -08:00
Родитель 25539f2898
Коммит 326252dc85
3 изменённых файлов: 20 добавлений и 7 удалений

Просмотреть файл

@ -77,7 +77,7 @@ fuzzy-if(B2G,255,1) == dynamic-underline-vertical-align-standards-2.html dynamic
== underline-table-cell-quirks.html underline-table-cell-quirks-ref.html
!= underline-table-cell-quirks.html underline-table-cell-quirks-notref.html
== underline-block-propagation-quirks.html underline-block-propagation-quirks-ref.html
fails == underline-block-propagation-2-quirks.html underline-block-propagation-2-quirks-ref.html # same problem as previous line (bug 403524)
== underline-block-propagation-2-quirks.html underline-block-propagation-2-quirks-ref.html
== underline-block-standards.html underline-block-standards-ref.html
!= underline-block-standards.html underline-block-standards-notref.html
== underline-inline-block-standards.html underline-inline-block-standards-ref.html

Просмотреть файл

@ -1,5 +1,9 @@
<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 -->
@ -10,16 +14,18 @@
>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 -->
<!-- t-d should propagate from parent elements to table-cells, except
not through a table element in quirks mode, per
https://quirks.spec.whatwg.org/#the-text-decoration-doesn't-propagate-into-tables-quirk
-->
<div>
<table>
<tr>
<td>
<span style="text-decoration:underline">
<span style="text-decoration:overline">
<span style="text-decoration:line-through">
underlined, overlined, and struck out
</span></span></span>
overlined, and struck out
</span></span>
</td>
</tr>
</table>

Просмотреть файл

@ -1,5 +1,9 @@
<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 -->
@ -10,11 +14,14 @@ This text should be underlined.<br>
>This text should be struck out.</textarea>
<p>This text should also be underlined.</p>
</form>
<!-- t-d should propagate from parent elements to table-cells -->
<!-- t-d should propagate from parent elements to table-cells, except
not through a table element in quirks mode, per
https://quirks.spec.whatwg.org/#the-text-decoration-doesn't-propagate-into-tables-quirk
-->
<div style="text-decoration:underline">
<table style="text-decoration:overline">
<tr style="text-decoration:line-through">
<td>underlined, overlined, and struck out</td>
<td>overlined, and struck out</td>
</tr>
</table>
</div>