Open Bug 176170 Opened 18 years ago Updated 1 year ago

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

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

Future

People

(Reporter: ian, Assigned: glazou)

References

(Depends on 7 open bugs, Blocks 1 open bug, )

Details

(Keywords: css3, testcase, Whiteboard: [Hixie-P5])

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.
Keywords: testcase
Priority: -- → P3
Target Milestone: --- → Future
Depends on: 183646
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...
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.
testcases updated
Blocks: selectors3
Summary: :-moz-selection bugs tracking bug (::selection) → ::-moz-selection bugs tracking bug (::selection)
Blocks: 68206
Depends on: 234102
OS: Windows 2000 → All
Hardware: PC → All
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+
Flags: blocking-aviary1.0?
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>
Flags: blocking-aviary1.0? → blocking-aviary1.0-
Depends on: 305585
*** Bug 311039 has been marked as a duplicate of this bug. ***
QA Contact: ian → style-system
Depends on: 824080
Depends on: 292563
Depends on: 516253
Depends on: 759462
Blocks: 509958
Depends on: 706209
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.