Closed
Bug 213867
Opened 22 years ago
Closed 22 years ago
text-decoration property is ignored in <caption> (child of <table>)
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 202930
People
(Reporter: S.P.vanNoort, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030714 Epiphany/0.8.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030714 Epiphany/0.8.0
The css property text-decoration is ignored in a caption if the document is
xhtml11 (if I leave the doctype-header out, it is displayed ok)
Example:
<table>
<caption style='text-decoration: underline'>
Table caption
</caption>
<tr><td>Table content</td></tr>
</table>
If I for example, put a <span> in, it is displayed ok
<table>
<caption style='text-decoration: underline'>
<span style='text-decoration: underline'>
Table caption
</span>
</caption>
<tr><td>Table content</td></tr>
</table>
The DOM-inspector shows I that the caption does have the text-decoration
property set ok.
Reproducible: Always
Steps to Reproduce:
See the example-page or the Details how the code looks
Actual Results:
The table-caption is not underlined
Expected Results:
The table-caption should have been underlined
Perhaps the check for block-ness (in the else) in
nsHTMLContainerFrame::GetTextDecorations needs to be the equivalent of a
'display-model' check rather than a 'display-role' check?
![]() |
||
Comment 2•22 years ago
|
||
This would be fixed by the patch in bug 202930; see discussion there.
*** This bug has been marked as a duplicate of 202930 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•