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)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
People
(Reporter: martijn.martijn, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(1 file)
(deleted),
text/html
|
Details |
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
Reporter | ||
Comment 1•21 years ago
|
||
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
Comment 2•21 years ago
|
||
This seems to be correct per bug 188954, which states that pseudo-elements
should be outermost.
OS: Windows 2000 → All
Hardware: PC → All
Reporter | ||
Comment 3•21 years ago
|
||
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
Reporter | ||
Updated•19 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•18 years ago
|
Assignee: dbaron → nobody
QA Contact: ian → style-system
Comment 4•12 years ago
|
||
Support for blink effect was dropped in bug 857820.
Reporter | ||
Comment 5•12 years ago
|
||
Ok, fixed by bug 857820 then.
You need to log in
before you can comment on or make changes to this bug.
Description
•