- From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
- Date: Thu, 13 Sep 2018 21:49:49 +0000
- To: public-css-archive@w3.org
@frivoal > That's not possible, as you cannot express the UA stylesheet using only the values listed as necessary for webcompat. You're making a false assumption. Gecko is already doing exactly [that](https://searchfox.org/mozilla-central/rev/dd965445ec47fbf3cee566eff93b301666bda0e1/servo/components/style/values/specified/box.rs#1019-1021). FYI, it's fairly easy to implement in the CSS parser actually, we basically do: ``` if ("currently parsing an UA sheet") parse_full_set_of_values(); else parse_web_exposed_set_of_values(); ``` FYI, this is the mechanism we'll use to prune our implementation of `-webkit-appearance` to the minimal set needed for web-compat, while still retaining some values for internal use. -- GitHub Notification of comment by MatsPalmgren Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3024#issuecomment-421164533 using your GitHub account
Received on Thursday, 13 September 2018 21:52:03 UTC