Closed Bug 233150 Opened 21 years ago Closed 12 years ago

Selection background-color should not blink on text with textdecoration:blink

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: martijn.martijn, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent: Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a) Gecko/20040115 Firebird/0.8.0+ See upcoming test-case. [code] <html> <head> <title>-moz-selection background blink</title> <style> #test{ text-decoration:blink; background-color:green; } #test::-moz-selection{ background-color:red; } span{ background-color:red; } </style> </head> <body> <p id="test">select <span>this</span> test subject</p> </body> </html> [/code] The span element's background-color does not blink (as it should), but if you select some of the text, the selection background-color blinks also (as it should not, it should behave the same as the span) Reproducible: Always Steps to Reproduce: 1.open testcase 2.select some text 3.compare with the span with the red background-color Actual Results: See above Expected Results: See above
Forgot to mention this bug should (if it is a bug) be added to the -moz-selection tracking bug: http://bugzilla.mozilla.org/show_bug.cgi?id=176170
This seems to be correct per bug 188954, which states that pseudo-elements should be outermost.
OS: Windows 2000 → All
Hardware: PC → All
I changed the summary, to make more clear what the bug is. The selection background-color is also blinking in an area with text-decoration:blink. This should not be the case. Only text should blink, not the background. So it's not specifically a ::-moz-selection issue, but rather a more general selection issue (in combination with text-decoration:blink).
Summary: background of pseudo-element ::-moz-selection inherits also text-decoration blink → Selection background-color should not blink on text with textdecoration:blink
Keywords: testcase
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: dbaron → nobody
QA Contact: ian → style-system
Support for blink effect was dropped in bug 857820.
Ok, fixed by bug 857820 then.
Status: NEW → RESOLVED
Closed: 12 years ago
Depends on: 857820
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: