Closed Bug 219770 Opened 21 years ago Closed 21 years ago

text-decoration of del, ins is not applied to an element with white-space:pre applied on it.

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 204401

People

(Reporter: annevk, Assigned: dbaron)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030908
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030908

Easy example:

<del>
 <pre>Foo
  Foo              Foo
 </pre>
</del>

Or

<del>
 <code style="display:block;white-space:pre;">Foo
            Foo
  Foo
 </code>
</del>

Reproducible: Always

Steps to Reproduce:
1. Copy the HTML into an editor
2. Make sure that the output will trigger Mozilla into standard compliant mode
3. Preview in Mozilla

Actual Results:  
The text-decoration is not applied on the pre element.

Expected Results:  
The text-decoration should be applied.
I probably didn't understand this bug correctly. This only happens when del or
ins are not equal to the root element and contain a block level element:

<div xmlns="http://www.w3.org/1999/xhtml">
 <del style="background-color:green;">
  <div>un-styled</div>
 </del>

 <del style="background-color:red;">
  <em>styled</em>
 </del>
</div>

This could be something similar to: bug 214004
Could someone give conformation on this issue?

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