画布MouseEvent再経路付け手順

領域 (HTML)

仕様書

canvas 要素の内容

[18] canvas 要素内容透過内容ですが、 子孫に制約があります。対話的内容子孫にできませんが、 次の場合は認められています >>17

[29] 透過内容ですから、 canvas 要素が使われている場所に応じて、 対話的内容でないフロー内容または字句内容も使えます。

[28] addHitRegion メソッドで指定できる要素対応対話的canvasフォールバック要素 (supported interactive canvas fallback element) とされており、 次の要素です >>27

[39] >>18>>28 は似ていますが、細部が違っています。 >>30>>33 は後者の方が制限が強くなっています。 >>20 は前者にのみあります。 >>35>>38 は後者にのみあります。
[40] >>36, >>37, >>38 は重複があるので、結局 >>38要素は無条件で認められることになります。

canvas フォールバック内容

[1] ある要素canvas 要素祖先として持ち、直近のそれがレンダリングされているものであって、 埋め込み内容表現している時、 これを関係する canvas のフォールバック内容として使われている (being used as relevant canvas fallback content) といいます。 >>2

[5] そのような要素は直接はレンダリングされているわけではありませんが、フォーカスの処理においてはほぼレンダリングされている要素と同じように扱われています。

歴史

[4] >>1 の定義は >>3 で追加されました。

[6] Web Applications 1.0 r8485 Fix the condition for the <option> in the previous checkin, and reword this into a list so it's clearer ( ( 版)) <http://html5.org/tools/web-apps-tracker?from=8484&to=8485>

[7] Web Applications 1.0 r8544 More work on event rerouting for hit regions ( ( 版)) <http://html5.org/tools/web-apps-tracker?from=8543&to=8544>

[8] Web Applications 1.0 r8545 Exclude <input type=image> buttons from canvas fallback, to avoid having to define pixel-level retargetting in hit regions ( ( 版)) <http://html5.org/tools/web-apps-tracker?from=8544&to=8545>

[9] Web Applications 1.0 r8546 Also update the Touch object for hit regions ( ( 版)) <http://html5.org/tools/web-apps-tracker?from=8545&to=8546>

[10] Web Applications 1.0 r8548 Allow <img>-based and <input>-based image maps as canvas fallback (hit regions excludes those separately) ( ( 版)) <http://html5.org/tools/web-apps-tracker?from=8547&to=8548>

[11] Web Applications 1.0 r8564 Make addHitRegion() honour clip regions. ( ( 版)) <http://html5.org/tools/web-apps-tracker?from=8563&to=8564>

[12] Web Applications 1.0 r8484 Allow <select multiple> and <select size=4> to be used as canvas fallback ( ( 版)) <http://html5.org/tools/web-apps-tracker?from=8483&to=8484>

[13] Web Applications 1.0 r8491 Allow addHitRegion() to be used with elements that are only focusable because of tabindex= or sortable= (since they're basically just buttons at that point) ( ( 版)) <http://html5.org/tools/web-apps-tracker?from=8490&to=8491>

[14] Web Applications 1.0 r8494 Allow addHitRegion() to refer to non-interactive table-related elements, so that we can expose grids in canvases (e.g. crosswords) ( ( 版)) <http://html5.org/tools/web-apps-tracker?from=8493&to=8494>

[15] Web Applications 1.0 r8545 Exclude <input type=image> buttons from canvas fallback, to avoid having to define pixel-level retargetting in hit regions ( ( 版)) <http://html5.org/tools/web-apps-tracker?from=8544&to=8545>

[16] Web Applications 1.0 r8548 Allow <img>-based and <input>-based image maps as canvas fallback (hit regions excludes those separately) ( ( 版)) <http://html5.org/tools/web-apps-tracker?from=8547&to=8548>

[41] Web Applications 1.0 r8586 Remove the logic that prevents multiple regions from mapping to the same control, since there are use cases for that. ( ( 版)) <http://html5.org/tools/web-apps-tracker?from=8585&to=8586>

[48] Web Applications 1.0 r8747 Define an API to clear all the hit regions, for authors who don't need to use clearRect() since everything they paint is opaque. ( ( 版)) <http://html5.org/r/8747>

[42] IRC logs: freenode / #whatwg / 20140905 ( ( 版)) <http://krijnhoetmer.nl/irc-logs/whatwg/20140905>

[43] Fix #345: Remove table sorting model · whatwg/html@59b7e24 ( 版) <https://github.com/whatwg/html/commit/59b7e2466c2b7c5c408a4963b05b13fd808aa07a>

[44] CanvasRenderingContext2D.addHitRegion() - Web API インターフェイス | MDN ( ()) <https://developer.mozilla.org/ja/docs/Web/API/CanvasRenderingContext2D/addHitRegion>

[45] Hit Regions - WebGL · Issue #1030 · whatwg/html ( ()) <https://github.com/whatwg/html/issues/1030>

[46] Remove canvas element's hit region feature (for now) (annevk著, ) <https://github.com/whatwg/html/commit/9d493a37ed7e49c58522a3fed05d14bde1a8913c>

[47] Remove CanvasProxy along with related concepts and complexities · whatwg/html@740634d ( 版) <https://github.com/whatwg/html/commit/740634d0f30a3b76e9da166ac2fa8835fcc073ab>

[49] Remove requirement left behind by hit-region removal (sideshowbarker著, ) <https://github.com/whatwg/html/commit/a26f9481d63b050d41ea9ea423128928ac8b47c9>