- From: Simon Pieters via GitHub <sysbot+gh@w3.org>
- Date: Fri, 02 Jun 2017 09:18:18 +0000
- To: public-css-archive@w3.org
Nope, unfortunately. WebIDL requires dictionary arguments (unless they have required members) to be marked as `optional`. But legacy requires `scrollIntoView()` to be like `scrollIntoView(true)`. To achieve this the spec uses an overload and a union, and then converts the object to a dictionary in prose. There's no IDL syntax to achieve this weird-but-required-for-compat behavior. -- GitHub Notification of comment by zcorpan Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1367#issuecomment-305735223 using your GitHub account
Received on Friday, 2 June 2017 09:18:24 UTC