-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
LibWeb: Implement some missing IDL interface members #10967
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 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
908a4ba
LibWeb: Expose `Document.activeViewTransition`
tcl3 f8d5dc8
LibWeb: Add the CSS transition event handler attributes
tcl3 a35c5cc
LibWeb: Implement `SVGStyleElement.disabled`
tcl3 54e4f34
LibWeb: Implement `SVGSVGElement.createSVGNumber()`
tcl3 626d72f
LibWeb: Add `TransitionEvent.animation`
tcl3 dfa05be
LibWeb: Add `PopStateEvent.hasUAVisualTransition`
tcl3 52fd414
LibWeb: Add `InputEvent.dataTransfer`
tcl3 87bb628
LibWeb: Add `InputEventInit.targetRanges`
tcl3 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
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,14 +1,25 @@ | ||
| // https://drafts.csswg.org/css-transitions/#transitionevent | ||
| // https://drafts.csswg.org/css-transitions-2/#interface-transitionevent-idl | ||
| [Exposed=Window] | ||
| interface TransitionEvent : Event { | ||
| constructor([Utf16FlyString] Utf16CSSOMString type, optional TransitionEventInit transitionEventInitDict = {}); | ||
| readonly attribute Utf16CSSOMString propertyName; | ||
| readonly attribute double elapsedTime; | ||
| readonly attribute Utf16CSSOMString pseudoElement; | ||
| readonly attribute CSSTransition? animation; | ||
| }; | ||
|
|
||
| // https://drafts.csswg.org/css-transitions-2/#interface-transitionevent-idl | ||
| dictionary TransitionEventInit : EventInit { | ||
| Utf16CSSOMString propertyName = ""; | ||
| double elapsedTime = 0.0; | ||
| Utf16CSSOMString pseudoElement = ""; | ||
| CSSTransition? animation = null; | ||
| }; | ||
|
|
||
| // https://drafts.csswg.org/css-transitions/#interface-globaleventhandlers-idl | ||
| partial interface mixin GlobalEventHandlers { | ||
| attribute EventHandler ontransitionrun; | ||
| attribute EventHandler ontransitionstart; | ||
| attribute EventHandler ontransitionend; | ||
| attribute EventHandler ontransitioncancel; | ||
| }; |
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
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
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
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
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
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
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
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
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
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,4 @@ | ||
| is an SVGNumber: true | ||
| initial value: 0 | ||
| value after assignment: 12.5 | ||
| returns a new object each call: true |
6 changes: 6 additions & 0 deletions
6
Tests/LibWeb/Text/expected/SVG/svg-style-element-disabled.txt
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,6 @@ | ||
| disabled: false | ||
| fill: rgb(0, 128, 0) | ||
| disabled after disabling: true | ||
| fill after disabling: rgb(0, 0, 0) | ||
| disabled after enabling: false | ||
| fill after enabling: rgb(0, 128, 0) |
8 changes: 8 additions & 0 deletions
8
Tests/LibWeb/Text/expected/wpt-import/css/css-transitions/events-008.txt
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 @@ | ||
| Harness status: OK | ||
|
|
||
| Found 3 tests | ||
|
|
||
| 3 Pass | ||
| Pass transitionrun event has animation property and its value is the corresponding CSSTransition object | ||
| Pass transitionstart event has animation property and its value is the corresponding CSSTransition object | ||
| Pass transitionend event has animation property and its value is the corresponding CSSTransition object |
Oops, something went wrong.
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.