::-moz-selection bugs tracking bug (::selection)

NEW
Assigned to

Status

()

Core
CSS Parsing and Computation
P3
normal
16 years ago
4 months ago

People

(Reporter: Hixie (not reading bugmail), Assigned: glazou)

Tracking

(Depends on: 7 bugs, Blocks: 2 bugs, {css3, testcase})

Trunk
Future
css3, testcase
Points:
---
Dependency tree / graph
Bug Flags:
blocking-aviary1.0 -

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [Hixie-P5], URL)

(Reporter)

Description

16 years ago
Our :-moz-selection code has some serious bugs on the following test cases:
   http://www.hixie.ch/tests/adhoc/css/selectors/selection/mozilla/003.xml
   http://www.hixie.ch/tests/adhoc/css/selectors/selection/mozilla/004.xml
   http://www.hixie.ch/tests/adhoc/css/selectors/selection/mozilla/005.xml

The first is a style system bug, the second is a problem with :focus (at a
guess) and the third is a painting bug (as you hover over the element, the
element flickers to an unselected state for no apparent reason).

These issues, along with the pseudo-elements '::' parser issue, need to be
resolved before we change the '-moz-selection' name to 'selection'.

Separate bugs should probably be filed for these issues when someone considers
fixing them.

Updated

16 years ago
Keywords: testcase
Priority: -- → P3

Updated

15 years ago
Target Milestone: --- → Future
(Reporter)

Updated

15 years ago
Depends on: 183646
(Reporter)

Updated

15 years ago
Keywords: css3
Summary: :-moz-selection bugs tracking bug → :-moz-selection bugs tracking bug (::selection)
Whiteboard: [Hixie-P5]
the third seams to be fixed for me, the second is the related bug...

Comment 2

15 years ago
As I reported elsewere ( bug 183646 comment 5 ) these test cases don't work anymore.

If someone can confirm this I can remake the test cases.
(Reporter)

Comment 3

15 years ago
testcases updated

Updated

15 years ago
Blocks: 65133

Updated

14 years ago
Summary: :-moz-selection bugs tracking bug (::selection) → ::-moz-selection bugs tracking bug (::selection)

Updated

14 years ago
Blocks: 68206
(Reporter)

Updated

14 years ago
Depends on: 234102

Updated

14 years ago
OS: Windows 2000 → All
Hardware: PC → All

Comment 4

14 years ago
Another testcase:
http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/xhtml/tests/css3-modsel-40.xml

Konqueror does correctly show green background but in Firefox it turns blue when
selected.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040805 Firefox/0.9.1+

Updated

14 years ago
Flags: blocking-aviary1.0?

Comment 5

14 years ago
Please not that W3C test cases can't be used directly, since Mozilla only
supports '::-moz-selection' for reasons that may be obvious and doesn't yet
support '::selection', which is used in the W3C test cases.

The Mozilla equivalent of that test case can be found on the "personal" test
suite of Ian Hickson were it appears that Mozilla supports it correctly:

  <http://hixie.ch/tests/adhoc/css/selectors/selection/mozilla/006.xml>

Updated

14 years ago
Flags: blocking-aviary1.0? → blocking-aviary1.0-

Updated

13 years ago
Depends on: 305585
*** Bug 311039 has been marked as a duplicate of this bug. ***
QA Contact: ian → style-system
Depends on: 824080

Updated

4 years ago
Depends on: 292563

Updated

4 years ago
Depends on: 516253

Updated

4 years ago
Depends on: 759462

Updated

4 years ago
Blocks: 509958

Updated

4 years ago
Depends on: 706209

Comment 7

3 years ago
Per http://krijnhoetmer.nl/irc-logs/css/20140908#l-479 we can start considering removing the prefix here.
Depends on: 1247177
You need to log in before you can comment on or make changes to this bug.