Closed Bug 412785 Opened 17 years ago Closed 17 years ago

text-decoration:line-through does not work on table rows with strict dtd

Categories

(Core :: Layout: Tables, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 202930

People

(Reporter: jstumpel, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 Iceweasel/2.0.0.11 (Debian-2.0.0.11-1)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 Iceweasel/2.0.0.11 (Debian-2.0.0.11-1)

I have a page which has mostly a table in it, actually a list of
(Japanese) books that my wife wants to sell. Each tr is one book;
the various td's are title, author, publisher, etc.

I want to scratch out the rows about books which have already been
sold. I do this by changing the <tr> of such a book into <tr
style="text-decoration:line-through;">.

This works in FF only if the doctype is html 4.01 transitional. If I use a "strict" doctype, the "linethroughs" are not rendered (although they are rendered in IE6 and Opera).

The page is validated properly by W3C (both html and css validation) in the "transitional" and "strict" versions.


Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Summary: I want to scratch out the rows about books which have already been sold. I do this by changing the <tr> of such a book into <tr text-decoration:line-through does not work on table rows with html 4.01 strict. → text-decoration:line-through does not work on table rows with stricht dtd
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Component: General → Layout: Tables
Product: Firefox → Core
Resolution: --- → DUPLICATE
Version: unspecified → Trunk
Summary: text-decoration:line-through does not work on table rows with stricht dtd → text-decoration:line-through does not work on table rows with strict dtd
You need to log in before you can comment on or make changes to this bug.