Skip to content

Commit da5d50d

Browse files
committed
Fix w3 links
1 parent 4e5fee2 commit da5d50d

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

docs/user-interface-tools/defining-behavior-with-event-callbacks-and-listeners.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,8 @@ onActivate focus
179179
onDeactivate blur
180180
=================== =====================
181181

182-
.. todo::
183-
Fix broken w3 links.
184-
185182
In addition, ScriptUI implements all types of W3C events according to the `W3C DOM level 3 functional
186-
specification <http://www.w3.org/TR/DOM-Level-3-Events/events.html>`_, with these modifications and
183+
specification <https://www.w3.org/TR/uievents/>`_, with these modifications and
187184
exceptions:
188185

189186
- ScriptUI does not implement the ``hasFeature()`` method of the ``DOMImplementation`` interface; there
@@ -195,15 +192,15 @@ exceptions:
195192
``initMouseEventNS``).
196193

197194
The ScriptUI implementation of W3C mouse events follows the `W3C DOM level 3 functional specification
198-
<http://www.w3.org/TR/DOM-Level-3-Events/events.html#Events-eventgroupings-mouseevents>`_, with
195+
<https://www.w3.org/TR/uievents/#mouseevent>`_, with
199196
these differences:
200197

201198
- To create a ``MouseEvent`` instance, call ``ScriptUI.events.createEvent( "MouseEvent" )``, rather than
202199
``DocumentEvent.createEvent( "MouseEvent" )``.
203200
- The ``getModifierState`` method of the ``MouseEvent`` interface is not supported.
204201

205202
The ScriptUI implementation of W3C keyboard events follows the `W3C DOM level 3 functional
206-
specification <http://www.w3.org/TR/DOM-Level-3-Events/events.html#Events-KeyboardEvent>`_.
203+
specification <https://www.w3.org/TR/uievents/#keyboardevent>`_.
207204

208205
--------------------------------------------------------------------------------
209206

docs/user-interface-tools/event-handling.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,7 @@ keyIdentifier
233233
Type: ``String``
234234

235235
The key whose keypress generated the event, as a W3C identifier
236-
contained in a string; for example, ``"U+0044"``. See
237-
http://www.w3.org/TR/DOM-Level-3-Events/keyset.html#KeySet-Set.
238-
239-
.. todo:: fix link
236+
contained in a string; for example, ``"U+0044"``. See :ref:`W3 Keyset Article <https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/keyset.html>`.
240237

241238
--------------------------------------------------------------------------------
242239

0 commit comments

Comments
 (0)