From 220a7d23b0755acc06146c1262aa09ba22d6e3b1 Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Fri, 28 May 2021 12:05:52 -0700 Subject: Revert "replace some domxref macro calls with event macro calls (#1016)" (#1017) This reverts commit 2958ec7e85c9a1182cd81728e3705948a2c39d71. --- 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 c6c0716b83..838834ffb7 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 {{event("Event_handlers")}} representing the code to be called when the {{event("fullscreenchange")}} event is raised.
+
Is an {{DOMxRef("EventHandler")}} representing the code to be called when the {{event("fullscreenchange")}} event is raised.
{{DOMxRef("Document.onfullscreenerror")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("fullscreenerror")}} event is raised.
+
Is an {{DOMxRef("EventHandler")}} 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 {{event("Event_handlers")}} representing the code to be called when the {{event("selectionchange")}} event is raised.
+
Is an {{DOMxRef("EventHandler")}} representing the code to be called when the {{event("selectionchange")}} event is raised.
{{DOMxRef("Document.onvisibilitychange")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("visibilitychange")}} event is raised.
+
Is an {{DOMxRef("EventHandler")}} 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