Re: [csswg-drafts] [cssom] Figure out what to do with non-standard CSSStyleSheet methods in WebKit / Blink (#3814)

The CSS WG just discussed this:

RESOLVED: Spec these methods, mark them deprecated, add ADVISEMENT to authors to not teach or use

```
09:48:32 <fantasai> Topic: non-standard CSSStyleSheet methods
09:48:32 <@dbaron> Topic: webkit/blink methods on CSSStyleSheet
09:48:48 <florian> emilio: I got a compat issue report on this
09:48:57 <florian> emilio: I'm planning to implement and spec
09:49:09 <florian> emilio: it is sad that we need them, but it is also easy, so I'll just do it
09:49:37 <florian> emilio: anyone has a strong concern about adding this
09:49:39 <florian> ?
09:50:04 <florian> plinss: I have been advocating for pushing such things to a side spec / compat spec
09:50:21 mode: @fantasai (opped) and @florian (opped)  
09:50:28 <@florian> TabAtkins: no, I want the compat spec to go away, it should be in the main spec
09:50:40 <@florian> plinss: that encourage new content to use it
09:51:02 <@florian> fantasai: we can mark them as deprecated, presented as a footnote, make warnings, etc
09:51:11 <@florian> fantasai: but still put them in the main spec
09:51:21 <chris> I agree that deprecation is sufficient guidance for new content
09:51:40 <@fantasai> florian: The compat spec tends to have a lot less rigor than the mainstream specs have
09:51:48 <@fantasai> florian: It just documents existence of thing, not how it works
09:52:06 <@fantasai> florian: For things that aren't needed, let's not spect them. But things that are necessary for web-compat, then we need to spec them.
09:52:16 <@fantasai> florian: It's a disservice to implementers to not spec them.
09:52:32 <@fantasai> florian: If it wasn't necessary to implement, we wouldn't be speccing at all
09:52:54 <@fantasai> emilio: Regarding fantasai's point, PR just says "legacy features". Open to better suggestions.
09:53:11 <@fantasai> plinss: I'm OK as long as clearly marked as deprecated, as fantasai described
09:53:18 <@fantasai> plinss: Other thoughts?
09:53:47 <@fantasai> RESOLVED: Spec these methods, mark them deprecated, add ADVISEMENT to authors to not teach or use
09:54:14 <@fantasai> florian: When you do this, you can put them at the bottom of the spec, so only ppl who read the whole section notice them
09:54:22 <emilio> ack
09:54:24 <@fantasai> emilio, https://www.w3.org/StyleSheets/TR/2016/readme.html#advisement
09:54:30 <@fantasai> github-bot, end topic
```

-- 
GitHub Notification of comment by dbaron
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3814#issuecomment-490566018 using your GitHub account

Received on Wednesday, 8 May 2019 16:56:10 UTC