aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/document
diff options
context:
space:
mode:
authorRyan Johnson <rjohnson@mozilla.com>2021-05-28 12:36:36 -0700
committerGitHub <noreply@github.com>2021-05-28 12:36:36 -0700
commit05a7219ba9605649cb6daa281e26209eaa73adf0 (patch)
tree63c9443b214d52257ff4ef5546f9e70c8b7365cd /files/zh-cn/web/api/document
parent220a7d23b0755acc06146c1262aa09ba22d6e3b1 (diff)
downloadtranslated-content-05a7219ba9605649cb6daa281e26209eaa73adf0.tar.gz
translated-content-05a7219ba9605649cb6daa281e26209eaa73adf0.tar.bz2
translated-content-05a7219ba9605649cb6daa281e26209eaa73adf0.zip
fix MacroWrongXRefError flaws for some domxref calls (#1018)
Diffstat (limited to 'files/zh-cn/web/api/document')
-rw-r--r--files/zh-cn/web/api/document/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/files/zh-cn/web/api/document/index.html b/files/zh-cn/web/api/document/index.html
index 838834ffb7..06c1fca2a3 100644
--- a/files/zh-cn/web/api/document/index.html
+++ b/files/zh-cn/web/api/document/index.html
@@ -149,17 +149,17 @@ translation_of: Web/API/Document
<dt>{{DOMxRef("Document.oncut")}} {{Non-standard_Inline}}</dt>
<dd>Represents the event handling code for the {{event("cut")}} event.</dd>
<dt>{{DOMxRef("Document.onfullscreenchange")}}</dt>
- <dd>Is an {{DOMxRef("EventHandler")}} representing the code to be called when the {{event("fullscreenchange")}} event is raised.</dd>
+ <dd>Is an {{event("Event_handlers", "event handler")}} representing the code to be called when the {{event("fullscreenchange")}} event is raised.</dd>
<dt>{{DOMxRef("Document.onfullscreenerror")}}</dt>
- <dd>Is an {{DOMxRef("EventHandler")}} representing the code to be called when the {{event("fullscreenerror")}} event is raised.</dd>
+ <dd>Is an {{event("Event_handlers", "event handler")}} representing the code to be called when the {{event("fullscreenerror")}} event is raised.</dd>
<dt>{{DOMxRef("Document.onpaste")}} {{Non-standard_Inline}}</dt>
<dd>Represents the event handling code for the {{event("paste")}} event.</dd>
<dt>{{DOMxRef("Document.onreadystatechange")}}</dt>
<dd>Represents the event handling code for the {{event("readystatechange")}} event.</dd>
<dt>{{DOMxRef("Document.onselectionchange")}} {{Experimental_Inline}}</dt>
- <dd>Is an {{DOMxRef("EventHandler")}} representing the code to be called when the {{event("selectionchange")}} event is raised.</dd>
+ <dd>Is an {{event("Event_handlers", "event handler")}} representing the code to be called when the {{event("selectionchange")}} event is raised.</dd>
<dt>{{DOMxRef("Document.onvisibilitychange")}}</dt>
- <dd>Is an {{DOMxRef("EventHandler")}} representing the code to be called when the {{event("visibilitychange")}} event is raised.</dd>
+ <dd>Is an {{event("Event_handlers", "event handler")}} representing the code to be called when the {{event("visibilitychange")}} event is raised.</dd>
</dl>
<p>The <code>Document</code> interface is extended with the {{DOMxRef("GlobalEventHandlers")}} interface:</p>