Skip to content

Commit 35620d1

Browse files
authored
[css-nav-1] Align with Web IDL specification (w3c#4798)
1 parent feb491e commit 35620d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-nav-1/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,8 @@ dictionary SpatialNavigationSearchOptions {
491491

492492
partial interface Element {
493493
Node getSpatialNavigationContainer();
494-
sequence<Node> focusableAreas(optional FocusableAreasOption option);
495-
Node? spatialNavigationSearch(SpatialNavigationDirection dir, optional SpatialNavigationSearchOptions options);
494+
sequence<Node> focusableAreas(optional FocusableAreasOption option = {});
495+
Node? spatialNavigationSearch(SpatialNavigationDirection dir, optional SpatialNavigationSearchOptions options = {});
496496
};
497497
</pre>
498498

@@ -594,7 +594,7 @@ passing an optional {{NavigationEventInit}} dictionary.
594594
[Exposed=Window]
595595
interface NavigationEvent : UIEvent {
596596
constructor(DOMString type,
597-
optional NavigationEventInit eventInitDict);
597+
optional NavigationEventInit eventInitDict = {});
598598
readonly attribute SpatialNavigationDirection dir;
599599
readonly attribute EventTarget? relatedTarget;
600600
};

0 commit comments

Comments
 (0)