Closed Bug 219194 Opened 21 years ago Closed 21 years ago

del tag doesn't inherit strike-through when parent of block-level element

Categories

(Core :: Web Painting, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 204401

People

(Reporter: julian.reschke, Assigned: roc)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030901 Firebird/0.6.1+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030901 Firebird/0.6.1+

<p><del>deleted text</del></p>

works as expected, while

<del><p>deleted text</p></del>

doesn't (text isn't shown strike-through). Note that this seems to be a major
problem because readers may perceive deleted text as not deleted (or even
highlighted when there's also a special color used for del tags, such as red).

Reproducible: Always

Steps to Reproduce:
(the URL points to a more complex test case, the attached testcase is meant to
provide a minimal repro example).
Isn't that invalid HTML? A block element inside an inline element.
It isn't an inline-only element. See 
<http://www.w3.org/TR/html401/struct/text.html#edef-del>

*** This bug has been marked as a duplicate of 204401 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: