Selection API

選択 (Web)

Selection インターフェイス

::selection 疑似要素

アクセス可能性

[61] ::selection背景色背景色と区別がつきにくいページがよくあって困ります。 Webブラウザーでなんとかしてもらえないもんですかねえ。

歴史

選択子3

[4] はじめ :selection 擬似要素css-userint WD で定義されており、 途中で選択子3に移動しました。擬似要素の構文の変更で、途中から ::selection に変わっています。

::-moz-selection

選択子3からの削除

[14] >>12 の次の WD である >>13 で、実装経験の不足から削除されています。

[17] CSS Basic User Interface Module Level 3 (CSS3 UI) ( (Tantek Çelik 著, 版)) http://www.w3.org/TR/2012/WD-css3-ui-20120117/#changes-list

[18] selection object (Internet Explorer) ( ( 版)) http://msdn.microsoft.com/en-us/library/ie/ms535869(v=vs.85).aspx

[19] [css3-selectors][css3-ui] Status of the ::selection pseudo-element ( (Daniel Tan 著, 版)) http://lists.w3.org/Archives/Public/www-style/2012Jan/0514.html

[20] How ::selection works on nested elements ( (L. David Baron 著, 版)) http://lists.w3.org/Archives/Public/www-style/2008Oct/0268.html

[21] Re: [css4-selectors] ::selection pseudo-element should be put back in the spec ( (fantasai 著, 版)) http://lists.w3.org/Archives/Public/www-style/2011Aug/0631.html

[22] IRC logs: freenode / #whatwg / 20140325 ( ( 版)) http://krijnhoetmer.nl/irc-logs/whatwg/20140325#l-636

[23] Internationalization Tag Set (ITS) Version 2.0 ( ( 版)) http://www.w3.org/TR/its20/#termdef-selection

[24] css3-ui [CSS Working Group Wiki] ( ( 版)) http://wiki.csswg.org/spec/css3-ui#issue-30

[25] IRC logs: freenode / #whatwg / 20140917 ( ( 版)) http://krijnhoetmer.nl/irc-logs/whatwg/20140917#l-801

[26] Cross Browser selectionStart/selectionEnd ( 版) http://www.teria.com/~koseki/memo/xbselection/

[27] IRC logs: freenode / #whatwg / 20140325 ( ( 版)) http://krijnhoetmer.nl/irc-logs/whatwg/20140325#l-636

Selection API

[28] Re: [Editing] Splitting Selection API Into a Separate Specification ( (Ryosuke Niwa 著, 版)) http://lists.w3.org/Archives/Public/public-webapps/2014AprJun/0122.html

[29] rniwa/selection-api ( ( 版)) https://github.com/rniwa/selection-api

[5] Selection API Specification ( ( 版)) https://rawgit.com/rniwa/selection-api/master/selection-api.html

[31] Selection API Specification ( ( 版)) http://rniwa.github.io/selection-api.html

[7] Bug 10583 – [Selection] toString should return only the text within the selection that is visible to the user ( ( 版)) https://www.w3.org/Bugs/Public/show_bug.cgi?id=10583

[32] Selection API ( ( 版)) http://www.w3.org/TR/2014/WD-selection-api-20141007/

[33] 717339 – Selection's Ranges should be removed on document.open() ( 版) https://bugzilla.mozilla.org/show_bug.cgi?id=717339

[10] Selection API ( ( 版)) http://www.w3.org/TR/2015/WD-selection-api-20151008/

[11] seamonkey mozilla/content/base/public/nsISelection.idl ( 版) http://lxr.mozilla.org/seamonkey/source/content/base/public/nsISelection.idl

[34] Selection API ( ( 版)) http://www.w3.org/TR/2015/WD-selection-api-20151124/

[35] Selection API ( 版) http://www.w3.org/TR/2015/WD-selection-api-20151204/

[36] Selection API ( 版) http://www.w3.org/TR/2015/WD-selection-api-20151207/

[37] Selection API ( 版) http://www.w3.org/TR/2015/WD-selection-api-20151215/

[38] Add Selection API as the ref for the Selection interface · whatwg/html@9e1be16 ( 版) https://github.com/whatwg/html/commit/9e1be16025075ad5877ffa43984cc0f40afe8b6b

[39] Selection API ( 版) https://www.w3.org/TR/2016/WD-selection-api-20160310/

[40] Selection API ( 版) https://www.w3.org/TR/2016/WD-selection-api-20160421/

[41] Selection API () https://www.w3.org/TR/2016/WD-selection-api-20160921/

[30] Selection API () https://www.w3.org/TR/2016/WD-selection-api-20161206/

[42] Editorial: deduplicate selection-setting algorithm (domenic著, ) https://github.com/whatwg/html/commit/3a5d50d9d5b1f899bc28b7f7060c60875837a3b0

[43] Selection API () https://www.w3.org/TR/2017/WD-selection-api-20170227/

[44] Clean up selection direction handling (domenic著, ) https://github.com/whatwg/html/commit/af9fa0ff11d07a341f6404d4578017d68fafc8c7

[45] Selection API () https://www.w3.org/TR/2017/WD-selection-api-20170330/

[46] Do not change input/textarea text selection for the same value (domenic著, ) https://github.com/whatwg/html/commit/8cbd60575061e2ef25394804be1f7d86b6d61857

[47] Clarify the value comparison in input.value's setter (domenic著, ) https://github.com/whatwg/html/commit/8ee1ea4a5ea241a0c3b1803fe4364d68cc686865

[48] Selection API () https://www.w3.org/TR/2017/WD-selection-api-20170430/

[49] Selection API () https://www.w3.org/TR/2017/WD-selection-api-20170509/

[50] Require text entry cursor at the beginning of controls initially (domenic著, ) https://github.com/whatwg/html/commit/dd0fb780a96e603f32ff8537d2b465d49ec06e27

[51] Require text entry cursor at the beginning of controls initially by domenic · Pull Request #2770 · whatwg/html () https://github.com/whatwg/html/pull/2770

[52] 1337392 - in a pre filled textbox, cursor is behind all text, previously it was on the first position () https://bugzilla.mozilla.org/show_bug.cgi?id=1337392

[53] Selection API () https://www.w3.org/TR/2017/WD-selection-api-20170628/

[54] Text selection after updating textContent of TEXTAREA · Issue #2411 · whatwg/html () https://github.com/whatwg/html/issues/2411

[55] Fix selection/text entry cursor position processing for input/textarea by domenic · Pull Request #3472 · whatwg/html () https://github.com/whatwg/html/pull/3472

[56] Do not change input/textarea text selection for the same value by domenic · Pull Request #2437 · whatwg/html () https://github.com/whatwg/html/pull/2437

[57] Editorial: clarify some text selection/cursor concepts (domenic著, ) https://github.com/whatwg/html/commit/2e8be71869f7c1e67f2aecd31c7ea3eaeff22b54

[58] State an initial selection direction (domenic著, ) https://github.com/whatwg/html/commit/eec509550616464b82c8968e93c01583c2a772fc

[59] State an initial selection direction by domenic · Pull Request #4572 · whatwg/html () https://github.com/whatwg/html/pull/4572

[60] Initial value of selectionDirection · Issue #4541 · whatwg/html () https://github.com/whatwg/html/issues/4541