Open Bug 176170 Opened 21 years ago Updated 4 months ago
[meta] ::selection bugs
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.
Summary: :-moz-selection bugs tracking bug → :-moz-selection bugs tracking bug (::selection)
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.
Summary: :-moz-selection bugs tracking bug (::selection) → ::-moz-selection bugs tracking bug (::selection)
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+
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>
*** Bug 311039 has been marked as a duplicate of this bug. ***
Per http://krijnhoetmer.nl/irc-logs/css/20140908#l-479 we can start considering removing the prefix here.
Assignee: daniel → nobody
Type: defect → task
Summary: ::-moz-selection bugs tracking bug (::selection) → [meta] ::selection bugs
4 months ago
You need to log in before you can comment on or make changes to this bug.