Re: [csswg-drafts] UA stylesheets in CSS specs cause interop issues (#8959)

The CSS Working Group just discussed `UA stylesheets in CSS specs cause interop issues`, and agreed to the following:

* `RESOLVED: Go through specs that have UA sheets. Pull normative things to an appendix and clearly mark as normative. For those that pass CR criteria move to HTML spec leaving a reference to them`

<details><summary>The full IRC log of that discussion</summary>
&lt;emilio> TabAtkins: zcorpan pointed out that we have a bunch of UA sheet fragments scattered<br>
&lt;emilio> ... it's inconsistent, unclear if they should be normative<br>
&lt;emilio> ... and leads to interop issue<br>
&lt;emilio> ... some people's preference is the html spec should have the ua sheet<br>
&lt;fantasai> Tab's proposal: https://github.com/w3c/csswg-drafts/issues/8959#issuecomment-1591609223<br>
&lt;emilio> ... but we have different maturity levels<br>
&lt;fantasai> zcorpan's addition: https://github.com/w3c/csswg-drafts/issues/8959#issuecomment-1600346659<br>
&lt;vmpstr> q+<br>
&lt;emilio> ... so my proposal is that all normative sheets should be normative, and when the spec is mature we move them to html<br>
&lt;emilio> astearns: what level of maturity?<br>
&lt;chris> q+<br>
&lt;emilio> TabAtkins: we have some leeway there, so CR or earlier<br>
&lt;dbaron> +1 to TabAtkins's proposal, with the caveat we should perhaps check if all the existing ones were intended to be normative<br>
&lt;emilio> ... if we have 2 impls<br>
&lt;astearns> s/CR/CR exit/<br>
&lt;miriam> q?<br>
&lt;emilio> miriam: there's some MUST vs not discussion<br>
&lt;futhark> q+<br>
&lt;emilio> fantasai: this is only for the HTML stylesheet, not only for UA rules that apply to all elements<br>
&lt;andreubotella> s/MUST vs not/MUST vs OUGHT/<br>
&lt;andreubotella> me not sure<br>
&lt;oriol> q+<br>
&lt;TabAtkins> s/OUGHT/SHOULD/<br>
&lt;emilio> fantasai: if you have global ::something styles they should not live in html because they're not html-specific right?<br>
&lt;emilio> TabAtkins: they don't need to live in html but they should be marked as normative<br>
&lt;miriam> ack vmpstr<br>
&lt;emilio> vmpstr: So in view-transitions there's two different stylesheets, a static one and a dynamic one<br>
&lt;emilio> ... updated based on some algorithm<br>
&lt;emilio> ... there's no expectation that the dynamic one needs to go in the html spec<br>
&lt;emilio> TabAtkins: yeah I don't think it'd be useful to pull it out of v-t<br>
&lt;miriam> ack chris<br>
&lt;emilio> ... having a centralized place makes it easier for both authors and vendors<br>
&lt;andreubotella> q+<br>
&lt;emilio> chris: the problem we try to solve is having html and css wpts as different things and implementations disagreeing, and I don't think this solves it?<br>
&lt;emilio> q+<br>
&lt;emilio> TabAtkins: I don't consider that our problem<br>
&lt;emilio> ... the other suggestion of getting things marked as normative and centralized is the important<br>
&lt;fantasai> vmpstr, the VT stylesheets are not HTML-specific. That's why they don't belong in the HTML spec.<br>
&lt;emilio> chris: just wanted to be clear that we can still have css tests and normative ua sheet bits in specs<br>
&lt;vmpstr> we have a :root { view-transition-name: root }, but I guess that's not just html?<br>
&lt;fantasai> right, it'll apply to arbitrary XML for example<br>
&lt;emilio> ack futhark<br>
&lt;fantasai> Rendering DocBook, any other format<br>
&lt;vmpstr> so should those then live in css? (or v-t I guess?)<br>
&lt;vmpstr> makes sense I guess, but it seemed like having a centralized spot is good, but i don't know if there's anything that applies to all things<br>
&lt;emilio> futhark: Just want to point out that there's a UA sheet in css-color-adjust that applies only to svg and should probably be moved to the svg spec<br>
&lt;emilio> TabAtkins: maybe? no strong opinion on that<br>
&lt;miriam> ack oriol<br>
&lt;emilio> oriol: Wanted to highlight the last comment of the issue that would be great if the appendix mentioned if something in the rendering updates in html needs to do some magic with it (?)<br>
&lt;emilio> oriol: so if it's something that should replace some magic in the html spec it should indicate that<br>
&lt;emilio> TabAtkins: agreed<br>
&lt;emilio> andreubotella: even after the spec is mature it'd be useful to keep that appendix<br>
&lt;emilio> ... or a reference to the HTML spec<br>
&lt;fremy> q?<br>
&lt;miriam> ack andreubotella<br>
&lt;emilio> ... for an implementation that comes later it'd be useful to know what to put in the UA sheet<br>
&lt;emilio> ... for any potential new engines or what not<br>
&lt;emilio> ack emilio<br>
&lt;astearns> +1 to andreubotella but it should only be a reference. No maintaining normative text in two places<br>
&lt;andreubotella> indeed<br>
&lt;miriam> ack emilio<br>
&lt;miriam> ack fantasai<br>
&lt;Zakim> fantasai, you wanted to say we shouldn't remove anythig from our specs until they've been properly published in their target location<br>
&lt;emilio> fantasai: wanted to say that we should not remove anything from our spec until it lands in HTML / SVG<br>
&lt;astearns> +1 to fantasai. No maintaining normative text in zero places<br>
&lt;fantasai> s/lands/lands (and is properly published)/<br>
&lt;emilio> proposed resolution: Go through specs that have UA sheets. Pull normative things to an appendix and clearly mark as normative. For those that pass CR criteria move to HTML spec leaving a reference to them<br>
&lt;emilio> RESOLVED: Go through specs that have UA sheets. Pull normative things to an appendix and clearly mark as normative. For those that pass CR criteria move to HTML spec leaving a reference to them<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8959#issuecomment-1719008520 using your GitHub account


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

Received on Thursday, 14 September 2023 08:35:30 UTC