是否已经支持:: - webkit选择选择器? [英] Has the ::-webkit-selection selector ever been supported?
问题描述
在互联网上有一些参考资料 :: - webkit-selection
,一个Webkit特定版本 :: selection
选择器。 >
参见例如 http://www.quirksmode.org/css/selection.html (编辑:PPK已从该网页删除 :: - webkit-selection
。)
,我没有能够得到在上面的页面的示例,或我自己的例子,在任何基于WebKit的浏览器工作。我尝试过:
- Safari
- 1.0
- 1.2
- 2.0
- 3.0
- 4.0
- 5.0
- 5.1
- Chrome
- 2
- 6
ul> - Safari
- 1.0
- 1.2
- 2.0
- 3.0
- 4.0
- 5.0
- 5.1
- Chrome
- 2
- 6
- 14
无前缀的 :: selection
选择器无论如何都适用于所有这些浏览器,所以这不是一个真正的问题。 但是我想知道这个选择器的WebKit特定版本的引用来自哪里。
有没有人使用过?
我已经测试了所有的方式回到Safari 1.0(使用 Multi-Safari ),没有版本支持 :: - webkit-selection
/ em>支持 :: selection
)。
除非Multi-Safari出现问题,否则 :: - webkit-selection
在Safari post-1.0中从未被支持。我想这可能是在公开测试版。
There are a few references on the internet to ::-webkit-selection
, a WebKit-specific version of the ::selection
selector.
See e.g. http://www.quirksmode.org/css/selection.html (Edit: PPK has since removed ::-webkit-selection
from that page.)
However, I haven’t been able to get the example in the page above, or my own examples, to work in any WebKit-based browser. I’ve tried:
The unprefixed ::selection
selector works in all of these browsers anyway, so it’s not really a problem. But I was wondering where the references to the WebKit-specific version of this selector had come from.
Has anyone ever used it?
I’ve tested all the way back to Safari 1.0 (using Multi-Safari), and no version supports ::-webkit-selection
(and they all do support ::selection
).
Unless this is an issue with Multi-Safari, ::-webkit-selection
has never been supported in Safari post-1.0. I guess it might have been in the public beta though.
这篇关于是否已经支持:: - webkit选择选择器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!