Closed Bug 422688 Opened 17 years ago Closed 15 years ago

text-decoration:line-through ignored on <description>

Categories

(Toolkit :: UI Widgets, defect)

x86
All
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jwkbugzilla, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

271 bytes, application/vnd.mozilla.xul+xml
Details
Attached file Testcase
See testcase - I set the style text-decoration:line-through on a <description> element and it doesn't do anything in the current nightlies. In Firefox 2.0.0.12 however it displays a line in the middle of the text correctly.
Blocks: tomtom
Work-around is using <html:div> instead of <description> - but that should not be the permanent solution.
Need to find a regression range here
OS: Windows XP → All
In the case of this particular regression (at least; in 1.6, this works for value= but not for child text nodes, so that's not a regression as I see it) this will probably be fixed when XUL text is rewritten to use nsTextFrameThebes so that it can pick up on other decorations such as text-shadow. As for workarounds, my preferred workaround is <description><html:span style="
This seems to be fixed on Mozilla/5.0 (X11; U; Linux i686; et; rv:1.9.3a5pre) Gecko/20100507 Minefield/3.7a5pre. Both value= and child text node display line-through.
I can still see this issue in Firefox 3.0 but it has been fixed in Firefox 3.5 apparently - works for me then.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: