Re: Selectors, vendor prefixes (again...) and IE9

On Fri, May 14, 2010 at 12:26 PM, Daniel Glazman
<daniel.glazman@disruptive-innovations.com> wrote:
> That means that at this time, ::selection is NOT standard,
> that the Microsoft spec behind ::selection is definitely an interesting
> contribution to the future standardization debate but it's also
> potentially NOT the final specification for that feature. In other
> terms, that ::selection should really be a ::-ms-selection until the
> CSS Working Group reaches consensus on that. On a side note, and unless
> I missed a message, the spec for that implementation by Microsoft of
> ::selection was not submitted to the CSS Working Group for discussion.


http://blogs.msdn.com/ie/archive/2010/05/13/the-css-corner-css3-selectors.aspx
> This is equivalent to how other [1] browsers support this selector.

> Observant readers may notice that the selector pseudo-element
> is not included in the most current version of the CSS3 Selectors draft.
> We implemented ::selection in support of our goal to allow developers
> to write same markup because we see it in [2] use [3] on the web and
> supported in other browsers.

https://developer.mozilla.org/En/CSS/::selection
> Summary
> The ::-moz-selection (::selection) pseudo-element applies to the
> portion of a document that has been highlighted (e.g. selected
> with the mouse) by the user.

My initial read of this "paragraph" indicated that ::selection was the
same and would be supported by Mozilla. I don't read MDC articles
about CSS often, so I consider myself a typical web dev when I started
reading this: I went to that page looking for specific information and
thought I got it.

> Notes
> Gecko/Firefox supports ::-moz-selection, use also
> ::selection for some other browsers.

"Firefox supports ..." is missing 'only' -- as written, I don't see any
reason to think that it doesn't support ::selection.

"use also" should be "also use", but it doesn't help your case.

> Browser compatibility
> Browser  Lowest Version  Support of
> Opera  9.5  ::selection
> Safari (WebKit)  1.1 (100)  ::selection

I really don't like the way the MDC article is written, I had to read
all the way to the bottom to discover that ::selection isn't supported.

[1] https://developer.mozilla.org/En/CSS/::selection
[2] http://www.zeldman.com/
[3] http://dribbble.com/

Received on Friday, 14 May 2010 09:50:20 UTC