* 仕様書

[REFS[
- [3] [CITE@en[DOM Standard]] ([TIME[2016-04-26 13:45:33 +09:00]] 版) <https://dom.spec.whatwg.org/#mixin-documentorshadowroot>
]REFS]

* インターフェイス

[6] [CODE(DOMi)@en[DocumentOrShadowRoot]] [[インターフェイス]]は、
[CODE(DOMi)@en[Document]] と [CODE(DOMi)@en[ShadowRoot]] が[[実装]]しています [SRC[>>3]]。

[4] [CODE(DOMi)@en[NoInterfaceObject]] です [SRC[>>3]]。

[5] [[メンバー]]は、[[文書環境]]に[[晒され]]ます [SRC[>>3]]。

* メンバー

[7] 
[FIG(short list)[
- [CODE(DOMa)@en[pointerLockElement]]
]FIG]

* 歴史

[1] [CITE@en[Shadow: add DocumentOrShadowRoot mixin · whatwg/dom@4183385]]
([TIME[2016-03-16 14:33:58 +09:00]] 版)
<https://github.com/whatwg/dom/commit/418338575c7f79a18d20ebcc88c19834366379cf>

[2] [CITE@en[''''''[''''''Fix #91'''''']'''''' Use DocumentOrShadowRoot Mixin · w3c/webcomponents@b12afbb]]
([TIME[2016-03-18 13:52:12 +09:00]] 版)
<https://github.com/w3c/webcomponents/commit/b12afbb7b2c22b5033aab70ad569c00af4278cf9>

[8] [CITE@en[Make Fullscreen work with shadow trees]]
([[TakayoshiKochi]]著, [TIME[2016-10-01 02:14:38 +09:00]])
<https://github.com/whatwg/fullscreen/commit/611a4046b0569752d198093e36edd736851877a6>

[9] [CITE@en[Use interface mixins in IDL]]
([[romandev]]著, [TIME[2017-12-19 19:22:26 +09:00]])
<https://github.com/whatwg/dom/commit/12b069802b771c145fd3b1917c5b82f2a8c1ff9f>

[10] [CITE@en[DocumentOrShadowRoot is a mixin (#141)]]
([[saschanaz]]著, [TIME[2018-11-02 17:07:41 +09:00]])
<https://github.com/whatwg/fullscreen/commit/b705140eca265f7ff5de813e1f08cb359a70613f>

[11] [CITE@en[DocumentOrShadowRoot is a mixin by saschanaz · Pull Request #141 · whatwg/fullscreen]]
([TIME[2019-03-10 18:57:57 +09:00]])
<https://github.com/whatwg/fullscreen/pull/141>

[12] [CITE@en[Define DocumentOrShadowRoot's activeElement]]
([[rakina]]著, [TIME[2019-08-24 03:26:07 +09:00]])
<https://github.com/whatwg/html/commit/5b84d194c5ca0be9b738e0d46078131ca4a5f422>

[13] [CITE@en[Define DocumentOrShadowRoot.activeElement by rakina · Pull Request #4837 · whatwg/html]]
([TIME[2020-01-12 16:54:36 +09:00]])
<https://github.com/whatwg/html/pull/4837>