[csswg-drafts] Pull Request: [resize-observer-1] Align with Web IDL specification

autokagami has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [resize-observer-1] Align with Web IDL specification ==
This is an automated pull request to align the spec with the latest Web IDL specification.

Currently the autofix might introduce some awkward code formatting, so please feel free to modify the formatting.

Please file an issue on https://github.com/saschanaz/webidl-updater/issues/new if you think this PR is invalid or should be enhanced.

The following is the validation messages from webidl2.js, which may help understanding this PR:

```
Validation error at line 4 in resize-observer-1,2:
    void observe(Element target
    ^ `void` is now replaced by `undefined`. Refer to the [relevant GitHub issue](https://github.com/heycam/webidl/issues/60) for more information.

Validation error at line 4 in resize-observer-1,2, inside `interface ResizeObserver -> operation observe -> argument options`:
Element target, optional ResizeObserverOptions options);
                                               ^ Optional dictionary arguments must have a default value of `{}`.

Validation error at line 5 in resize-observer-1,2:
    void unobserve(Element target
    ^ `void` is now replaced by `undefined`. Refer to the [relevant GitHub issue](https://github.com/heycam/webidl/issues/60) for more information.

Validation error at line 6 in resize-observer-1,2:
    void disconnect();
    ^ `void` is now replaced by `undefined`. Refer to the [relevant GitHub issue](https://github.com/heycam/webidl/issues/60) for more information.

Validation error at line 1 in resize-observer-1,3:
callback ResizeObserverCallback = void (sequence<ResizeObserverEntry
                                  ^ `void` is now replaced by `undefined`. Refer to the [relevant GitHub issue](https://github.com/heycam/webidl/issues/60) for more information.

Validation error at line 1 in resize-observer-1,5, inside `interface ResizeObserverSize`:
interface ResizeObserverSize {
          ^ Interfaces must have `[Exposed]` extended attribute. To fix, add, for example, `[Exposed=Window]`. Please also consider carefully if your interface should also be exposed in a Worker scope. Refer to the [WebIDL spec section on Exposed](https://heycam.github.io/webidl/#Exposed) for more information.
```

See https://github.com/w3c/csswg-drafts/pull/5450


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 18 August 2020 19:27:27 UTC