[css-houdini-drafts] [css-typed-om-1] Exposed value for partial interface Element makes no sense.

bzbarsky has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [css-typed-om-1] Exposed value for partial interface Element makes no sense. ==
https://drafts.css-houdini.org/css-typed-om-1/#computed-stylepropertymapreadonly-objects says:

    [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
    partial interface Element

This is nonsensical (because Element is only exposed in Window), and it's invalid Web IDL, because it's nonsensical.  Specifically, https://heycam.github.io/webidl/#Exposed says:

> If [Exposed] appears on a partial interface or partial namespace, then the partial’s own exposure set must be a subset of the exposure set of the partial’s original interface or namespace.

Does Blink's IDL parser not even pretend to implement this stuff?  :(

Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/658 using your GitHub account

Received on Thursday, 15 February 2018 19:02:52 UTC