Open Bug 496347 Opened 17 years ago Updated 11 months ago

Selection does not render underline in standards mode

Categories

(Core :: DOM: Selection, defect, P5)

defect

Tracking

()

People

(Reporter: jeroen.pulles, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(4 files)

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.10) Gecko/2009042513 Ubuntu/8.04 (hardy) Firefox/3.0.10 Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.10) Gecko/2009042513 Ubuntu/8.04 (hardy) Firefox/3.0.10 A webpage with (Firefox-) XSLT-generated content with underlined text "hides" the underline when you select the text. Reproducible: Always This issue can be reproduced on MacOS X 10.5 PPC - Gecko/2009042315 - Firefox/3.0.10 as well.
This bug was reported using Firefox 3.0 or older, which is no longer supported. The bug has also not been changed in over 500 days and is still in UNCO. Reporter, please retest this bug in Firefox 3.6.10 or later using a fresh profile, http://support.mozilla.com/en-US/kb/managing+profiles. If you still see this problem, please update the bug. If you no longer see the bug, please set the resolution to RESOLVED, WORKSFORME. This is a mass search of unconfirmed bugs that have no activity on them, so if you feel a bug was marked in error, just remove the CLOSEME comment in the whiteboard within the next month.
Whiteboard: [CLOSEME 2010-11-15]
Still holds true on Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
Whiteboard: [CLOSEME 2010-11-15]
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → Trunk
Attached file XSLT for testcase
Attached file testcase
Happens with any standards-mode document, in fact.
And I bet the reason it does is that the selection background paints after the text-decoration (which is painted by the _parent_ in standards mode), so that it just covers up the underline. Sadly, the behavior of selections isn't really defined in the CSS spec; some readings of the ::selection stuff in fact require our behavior, as far as I can see.
Component: General → Selection
QA Contact: general → selection
Summary: Selection does not render underline in XSLT generated content → Selection does not render underline in standards mode
WFM, Mozilla/5.0 (X11; Linux x86_64; rv:10.0a1) Gecko/20111025 Firefox/10.0a1
Flags: in-testsuite?

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority and severity.

If you have reason to believe this is wrong, please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
See Also: → 1974115
Attached image image.png

I cannot repro this on Ubuntu (see attached screenshot).

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: