-
Couldn't load subscription status.
- Fork 452
Enhance handleProperty function to dynamically handle additional properties #2098
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 9 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
3267a8f
Enhance handleProperty function to dynamically handle additional prop…
Bashamega 0377309
chore: new line
Bashamega 37efe71
-
Bashamega 3884300
format
Bashamega afd7b3e
-
Bashamega c63e69c
-
Bashamega 18881d4
-
Bashamega a2beb93
chore: spaces
Bashamega ea9284b
-
Bashamega 36e43e3
??
Bashamega 8e75e22
Merge branch 'microsoft:main' into optional-properties
Bashamega 501d38e
-
Bashamega d504495
Merge branch 'optional-properties' of https://github.com/Bashamega/Ty…
Bashamega 405e381
Revert "-"
Bashamega File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| // Manually moved from Document | ||
| // See https://github.com/w3c/csswg-drafts/issues/5886 and https://github.com/w3c/csswg-drafts/issues/556 | ||
| interface-mixin DocumentOrShadowRoot { | ||
| method elementFromPoint returns=Element nullable=#true { | ||
| param x type=long | ||
| param y type=long | ||
| } | ||
| method elementsFromPoint returns="Element" array { | ||
| param x type=long | ||
| param y type=long | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,98 +1,99 @@ | ||
| interface-mixin AbstractWorker { | ||
| event error type=ErrorEvent | ||
| event error type=ErrorEvent | ||
| } | ||
|
|
||
| interface-mixin DocumentAndElementEventHandlers { | ||
| event copy type=ClipboardEvent | ||
| event cut type=ClipboardEvent | ||
| event paste type=ClipboardEvent | ||
| event copy type=ClipboardEvent | ||
| event cut type=ClipboardEvent | ||
| event paste type=ClipboardEvent | ||
| } | ||
|
|
||
| interface-mixin GlobalEventHandlers { | ||
| event abort type=UIEvent | ||
| event auxclick type=PointerEvent | ||
| event beforeinput type=InputEvent | ||
| event beforetoggle type=ToggleEvent | ||
| event blur type=FocusEvent | ||
| event click type=PointerEvent | ||
| event compositionend type=CompositionEvent | ||
| event compositionstart type=CompositionEvent | ||
| event compositionupdate type=CompositionEvent | ||
| event contextmenu type=PointerEvent | ||
| event dblclick type=MouseEvent | ||
| event drag type=DragEvent | ||
| event dragend type=DragEvent | ||
| event dragenter type=DragEvent | ||
| event dragleave type=DragEvent | ||
| event dragover type=DragEvent | ||
| event dragstart type=DragEvent | ||
| event drop type=DragEvent | ||
| event error type=ErrorEvent | ||
| event focus type=FocusEvent | ||
| event focusin type=FocusEvent | ||
| event focusout type=FocusEvent | ||
| event formdata type=FormDataEvent | ||
| event keydown type=KeyboardEvent | ||
| event keypress type=KeyboardEvent | ||
| event keyup type=KeyboardEvent | ||
| event mousedown type=MouseEvent | ||
| event mouseenter type=MouseEvent | ||
| event mouseleave type=MouseEvent | ||
| event mousemove type=MouseEvent | ||
| event mouseout type=MouseEvent | ||
| event mouseover type=MouseEvent | ||
| event mouseup type=MouseEvent | ||
| event progress type=ProgressEvent | ||
| event resize type=UIEvent | ||
| event securitypolicyviolation type=SecurityPolicyViolationEvent | ||
| event submit type=SubmitEvent | ||
| event toggle type=ToggleEvent | ||
| event wheel type=WheelEvent | ||
| event animationcancel type=AnimationEvent | ||
| event animationend type=AnimationEvent | ||
| event animationiteration type=AnimationEvent | ||
| event animationstart type=AnimationEvent | ||
| event cut type=ClipboardEvent | ||
| event copy type=ClipboardEvent | ||
| event paste type=ClipboardEvent | ||
| event gotpointercapture type=PointerEvent | ||
| event lostpointercapture type=PointerEvent | ||
| event pointercancel type=PointerEvent | ||
| event pointerdown type=PointerEvent | ||
| event pointerenter type=PointerEvent | ||
| event pointerleave type=PointerEvent | ||
| event pointermove type=PointerEvent | ||
| event pointerout type=PointerEvent | ||
| event pointerover type=PointerEvent | ||
| event pointerup type=PointerEvent | ||
| event touchcancel type=TouchEvent | ||
| event touchend type=TouchEvent | ||
| event touchmove type=TouchEvent | ||
| event touchstart type=TouchEvent | ||
| event transitionrun type=TransitionEvent | ||
| event transitionstart type=TransitionEvent | ||
| event transitionend type=TransitionEvent | ||
| event transitioncancel type=TransitionEvent | ||
| event abort type=UIEvent | ||
| event auxclick type=PointerEvent | ||
| event beforeinput type=InputEvent | ||
| event beforetoggle type=ToggleEvent | ||
| event blur type=FocusEvent | ||
| event click type=PointerEvent | ||
| event compositionend type=CompositionEvent | ||
| event compositionstart type=CompositionEvent | ||
| event compositionupdate type=CompositionEvent | ||
| event contextmenu type=PointerEvent | ||
| event dblclick type=MouseEvent | ||
| event drag type=DragEvent | ||
| event dragend type=DragEvent | ||
| event dragenter type=DragEvent | ||
| event dragleave type=DragEvent | ||
| event dragover type=DragEvent | ||
| event dragstart type=DragEvent | ||
| event drop type=DragEvent | ||
| event error type=ErrorEvent | ||
| event focus type=FocusEvent | ||
| event focusin type=FocusEvent | ||
| event focusout type=FocusEvent | ||
| event formdata type=FormDataEvent | ||
| event keydown type=KeyboardEvent | ||
| event keypress type=KeyboardEvent | ||
| event keyup type=KeyboardEvent | ||
| event mousedown type=MouseEvent | ||
| event mouseenter type=MouseEvent | ||
| event mouseleave type=MouseEvent | ||
| event mousemove type=MouseEvent | ||
| event mouseout type=MouseEvent | ||
| event mouseover type=MouseEvent | ||
| event mouseup type=MouseEvent | ||
| event progress type=ProgressEvent | ||
| event resize type=UIEvent | ||
| event securitypolicyviolation type=SecurityPolicyViolationEvent | ||
| event submit type=SubmitEvent | ||
| event toggle type=ToggleEvent | ||
| event wheel type=WheelEvent | ||
| event animationcancel type=AnimationEvent | ||
| event animationend type=AnimationEvent | ||
| event animationiteration type=AnimationEvent | ||
| event animationstart type=AnimationEvent | ||
| event cut type=ClipboardEvent | ||
| event copy type=ClipboardEvent | ||
| event paste type=ClipboardEvent | ||
| event gotpointercapture type=PointerEvent | ||
| event lostpointercapture type=PointerEvent | ||
| event pointercancel type=PointerEvent | ||
| event pointerdown type=PointerEvent | ||
| event pointerenter type=PointerEvent | ||
| event pointerleave type=PointerEvent | ||
| event pointermove type=PointerEvent | ||
| event pointerout type=PointerEvent | ||
| event pointerover type=PointerEvent | ||
| event pointerup type=PointerEvent | ||
| event touchcancel type=TouchEvent | ||
| event touchend type=TouchEvent | ||
| event touchmove type=TouchEvent | ||
| event touchstart type=TouchEvent | ||
| event transitionrun type=TransitionEvent | ||
| event transitionstart type=TransitionEvent | ||
| event transitionend type=TransitionEvent | ||
| event transitioncancel type=TransitionEvent | ||
| property onerror overrideType=OnErrorEventHandler | ||
| } | ||
|
|
||
| interface-mixin MessageEventTarget { | ||
| event message type=MessageEvent | ||
| event messageerror type=MessageEvent | ||
| event message type=MessageEvent | ||
| event messageerror type=MessageEvent | ||
| } | ||
|
|
||
| interface-mixin WindowEventHandlers { | ||
| event beforeunload type=BeforeUnloadEvent | ||
| event gamepadconnected type=GamepadEvent | ||
| event gamepaddisconnected type=GamepadEvent | ||
| event hashchange type=HashChangeEvent | ||
| event message type=MessageEvent | ||
| event messageerror type=MessageEvent | ||
| event pagehide type=PageTransitionEvent | ||
| event pagereveal type=PageRevealEvent | ||
| event pageshow type=PageTransitionEvent | ||
| event pageswap type=PageSwapEvent | ||
| event popstate type=PopStateEvent | ||
| event rejectionhandled type=PromiseRejectionEvent | ||
| event storage type=StorageEvent | ||
| event unhandledrejection type=PromiseRejectionEvent | ||
| event beforeunload type=BeforeUnloadEvent | ||
| event gamepadconnected type=GamepadEvent | ||
| event gamepaddisconnected type=GamepadEvent | ||
| event hashchange type=HashChangeEvent | ||
| event message type=MessageEvent | ||
| event messageerror type=MessageEvent | ||
| event pagehide type=PageTransitionEvent | ||
| event pagereveal type=PageRevealEvent | ||
| event pageshow type=PageTransitionEvent | ||
| event pageswap type=PageSwapEvent | ||
| event popstate type=PopStateEvent | ||
| event rejectionhandled type=PromiseRejectionEvent | ||
| event storage type=StorageEvent | ||
| event unhandledrejection type=PromiseRejectionEvent | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| interface-mixin GlobalEventHandlers { | ||
| // Touch event handlers are intentionally hidden in non-mobile web browsers. | ||
| // See w3c.github.io/touch-events#dfn-expose-legacy-touch-event-apis. | ||
| property ontouchcancel optional=#true | ||
| property ontouchend optional=#true | ||
| property ontouchmove optional=#true | ||
| property ontouchstart optional=#true | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| interface-mixin WebGLRenderingContextBase { | ||
| property canvas exposed=Window | ||
| property canvas exposed=Window | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs more indentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, why are two PRs merged here? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be removed. Which I did