From 05a7219ba9605649cb6daa281e26209eaa73adf0 Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Fri, 28 May 2021 12:36:36 -0700 Subject: fix MacroWrongXRefError flaws for some domxref calls (#1018) --- files/zh-cn/web/api/document/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'files/zh-cn/web/api/document') 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
{{DOMxRef("Document.oncut")}} {{Non-standard_Inline}}
Represents the event handling code for the {{event("cut")}} event.
{{DOMxRef("Document.onfullscreenchange")}}
-
Is an {{DOMxRef("EventHandler")}} representing the code to be called when the {{event("fullscreenchange")}} event is raised.
+
Is an {{event("Event_handlers", "event handler")}} representing the code to be called when the {{event("fullscreenchange")}} event is raised.
{{DOMxRef("Document.onfullscreenerror")}}
-
Is an {{DOMxRef("EventHandler")}} representing the code to be called when the {{event("fullscreenerror")}} event is raised.
+
Is an {{event("Event_handlers", "event handler")}} representing the code to be called when the {{event("fullscreenerror")}} event is raised.
{{DOMxRef("Document.onpaste")}} {{Non-standard_Inline}}
Represents the event handling code for the {{event("paste")}} event.
{{DOMxRef("Document.onreadystatechange")}}
Represents the event handling code for the {{event("readystatechange")}} event.
{{DOMxRef("Document.onselectionchange")}} {{Experimental_Inline}}
-
Is an {{DOMxRef("EventHandler")}} representing the code to be called when the {{event("selectionchange")}} event is raised.
+
Is an {{event("Event_handlers", "event handler")}} representing the code to be called when the {{event("selectionchange")}} event is raised.
{{DOMxRef("Document.onvisibilitychange")}}
-
Is an {{DOMxRef("EventHandler")}} representing the code to be called when the {{event("visibilitychange")}} event is raised.
+
Is an {{event("Event_handlers", "event handler")}} representing the code to be called when the {{event("visibilitychange")}} event is raised.

The Document interface is extended with the {{DOMxRef("GlobalEventHandlers")}} interface:

-- cgit v1.2.3-54-g00ecf