Non-continuous selections in chrome?

后端 未结 2 1987
你的背包
你的背包 2021-01-04 08:52

Update

I recently discovered you can programatically create selections with Chrome which aren\'t continuous, by either replacing elements /

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-04 09:35

    No. Firefox is the only mainstream browser to support multiple selected ranges. I think the main use case for it was to allow selection of individual columns within tables, which is not possible otherwise.

    WebKit are not planning to support multiple selected ranges any time soon, from what I can gather. IE overhauled its Range and Selection APIs for IE 9 and didn't implement it. No idea about whether Opera has any plans to support it. See this thread from the WHATWG mailing list for some information:

提交回复
热议问题