Skip to content
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

[cssom-view-1] Add dictionary default values #4233

Merged
merged 1 commit into from
Aug 22, 2019
Merged

Conversation

saschanaz
Copy link
Member

Required after whatwg/webidl#750. (Found from web-platform-tests/wpt#18382)

@saschanaz
Copy link
Member Author

Marked as non substantive for IPR from ash-nazg.

@@ -1072,12 +1072,12 @@ dictionary ScrollIntoViewOptions : ScrollOptions {
partial interface Element {
DOMRectList getClientRects();
[NewObject] DOMRect getBoundingClientRect();
void scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg);
void scroll(optional ScrollToOptions options);
void scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure this is the right thing given the (boolean or ScrollIntoViewOptions)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Previously the default value was implicitly an empty dictionary when the union includes non-required dictionary type, and now it must be explicit.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dbaron dbaron merged commit 97e52cc into w3c:master Aug 22, 2019
@saschanaz saschanaz deleted the patch-6 branch August 22, 2019 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants