Re: [csswg-drafts] [CSS2] Syntax section readded despite WG resolution

The Working Group just discussed `Should we add scientific notation to CSS 2.1?`, and agreed to the following resolutions:

* `RESOLVED: take 4.1, 4.2 and 4.4, change them to informative notes, and add notes to those sections + appendix G showing where the newer work is being done. Links to newer works are informative notes.`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: Should we add scientific notation to CSS 2.1?<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/2542<br>
&lt;dael> gsnedders: We accidently agreed to add scentific notification to CSS L2. Do we want to do that for real?<br>
&lt;dael> florian: When did we agree?<br>
&lt;dael> gsnedders: Agreed before the reset but after the rec. WE said we'd normatively reference CSS 3 syntax which added a new feature.<br>
&lt;dael> florian: Is the CSS 3 syntax reference separate?<br>
&lt;dael> gsnedders: Yes, next.<br>
&lt;dael> gsnedders: Do we want to add a new feature to CSS 2?<br>
&lt;ChrisL> I'm not sure it is a new feature, given it is not independently testable<br>
&lt;dael> astearns: I think no. Anyone disagree?<br>
&lt;dael> ChrisL: Disagree. THis is not a new feature, it's a new way of expressing something. You can't test the syntax without testing an app or a value. It's an internal spec matter.<br>
&lt;dael> florian: Defining the syntax is, but pinting to the spec that does new things isn't new?<br>
&lt;dael> ChrisL: We point to the syntax but the features are in the thing sin 2.1 We don't take advantage of the extra features. REasonable?<br>
&lt;dael> florian: I think we need to overflow into the other agenda topic to answer.<br>
&lt;dael> gsnedders: Relevent thing is the definition of number, right?<br>
&lt;dael> fantasai: There was an issue around URLs tto, right?<br>
&lt;dael> gsnedders: We have errata for that.<br>
&lt;dael> florian: gsnedders your question is not jsut do we want to introduce a new feature but also do we want to introduce a new feature independantly of if we reference the new syntax.<br>
&lt;dael> florian: I think the only reason is if we see value and cannot reference syntax 3 without adding it.<br>
&lt;dael> ChrisL: Is this change [missed] or is it an actual change where you support both?<br>
&lt;dael> gsnedders: You can support both it's new syntax for the additiona number<br>
&lt;tantek> q?<br>
&lt;dael> ChrisL: So jsut the subset in 2.1<br>
&lt;dael> TabAtkins: We could subset css 3 syntax but that's a bag of worms where to do correctly is substanital effort with no benefit. No one is impl css2.1. What is wrong with jsut normatively undefining css syntax for 2.1<br>
&lt;tantek> q+<br>
&lt;dael> florian: gsnedders wants to discuss possible scientific notation before discussing the link to syntax.<br>
&lt;tantek> q?<br>
&lt;dael> TabAtkins: We either undefine it or we link to Syntax. Those are only 2 options besides doing a lot of work to carve out a subset of what matches in css 2.1.<br>
&lt;astearns> ack tantek<br>
&lt;dael> tantek: I think there's a number of difficult options. I'm not convinced of any one and trying to understand trade offs. For CSS 2 work we have the mos timportant thing gsnedders and I are trying to do is keep the edits rolling in and go through CR/REC alternating process. In my opinion that's the primary driver of where we try and nudge decisions.<br>
&lt;florian> q+<br>
&lt;dael> tantek: Ideally we'd like to not introduce any new features. Even if it's inconvenient I'd like to see us do the worth rather then comprimise on that since we promised to ourselves and the community no new features. THat's my preference.<br>
&lt;dael> astearns: I suggest we table scentific notation and go straight to the first topic.<br>
&lt;dael> tantek: I'm concerned we're ducking the hard question of not adding new features. That's a design principle where as what reference we make is different<br>
&lt;dael> florian: I agree with tantek we should stick to the process, but I don't htink that means we have to subset syntax 3. For this section I think I'm with TabAtkins and we should gut out the section that defines syntax and replace it with a note that says previous versions tried to do syntax, was proved incorrect, and we informatively reference the known better work in Syntax. Recognize we had a definition, it wasn't good, and here's what we have that's better.<br>
&lt;astearns> ack florian<br>
&lt;dael> TabAtkins: florian's suggested wording sounds perfect.<br>
&lt;ChrisL> s/Is this change [missed] or is it an actual change where you support both?/Is this a true superset or an incompatible change? Is it possible to support both?/<br>
&lt;dael> fantasai: My concern is it makes the spec mostly non-sensical.<br>
&lt;dbaron> I think one could also add to the wording a note that the new module has a new feature:  support for scientific notation.<br>
&lt;tantek> so we can't actually do that without going back to WD, because technically it's normative feature *removal*<br>
&lt;dael> fantasai: I'm not saying we need to keep grammar the way it is, but things like this is how you parse css in generla makes the rest of the spec make sense.<br>
&lt;tantek> q+<br>
&lt;dael> florian: We still point to syntax non-narmative to there's sense.<br>
&lt;dael> TabAtkins: No one is adhereing to CSS2, we can jsut point non-normatively to where the definitions are.<br>
&lt;dael> florian: Alternatively we keep the old section, put a note saying this is incorrect and put the rest as suggested. So if you're trying to make internal sense of the spec you don't need ot go to another. I don't think that's more useful the just the note.<br>
&lt;gsnedders> q+<br>
&lt;dael> fantasai: We'll have notes in all sections pointing to new sections. Reason we're stuck is an inconsistancy between L2 and L3 that means L3 impl is non-conformat to L2.<br>
&lt;dael> TabAtkins: Yep, but we don't care about L2 impl. No on impl 2.1 at L2.<br>
&lt;astearns> ack tantek<br>
&lt;ChrisL> agree with Tab<br>
&lt;dael> tantek: THe first suggestion to remove the syntax section for CSS 2 and replace with an informative reference to CSS 3 is untenitable because that's a normative feature remove and we can't do that because we're not going back to WD as per the plan we agreed to.<br>
&lt;ChrisL> q+ to say we can totally remove features<br>
&lt;florian> it is not a feature removal, we're not saying that CSS2 should not have a syntax, just saying that that syntax is undefined.<br>
&lt;dael> tantek: I understand and accept the issue that CSS 2 syntax is not something we want people to impl. I don't think there's debate on that guidance. We're debating how to provide the guidance so that's it's clear to webdev and let sus iteratie on 3.<br>
&lt;dael> astearns: I think your process point...is that because syntax is not marked as at risk?<br>
&lt;dael> tantek: Syntax section, nothing in css 2 is marked at risk.<br>
&lt;ChrisL> q?<br>
&lt;dael> astearns: We remove nromative features, it's just usually that they're at risk.<br>
&lt;dael> florian: I disgree this is feature remval. We're normatively undermining it<br>
&lt;dael> tantek: Same thing.<br>
&lt;dael> florian: It's not.<br>
&lt;tantek> q+<br>
&lt;astearns> ack gsnedders<br>
&lt;fantasai> q+<br>
&lt;tantek> removing something normatively removes it from IP as well<br>
&lt;dael> gsnedders: My understanding os changes in syntax 3 are that mostly they relate to error handling. If we simply undefine the error handling wuld that work?<br>
&lt;fantasai> gsnedders++<br>
&lt;tantek> from a process perspective, removing or undefining it normatively is a removal of an *essential feature*<br>
&lt;dael> TabAtkins: Let's see. Only positive feature is sci notation. Rest is error handling...yeah...normatively no longer have U range token.  Yes, it's technically right. But you cannot impl error handling correctly as desc in 2.1<br>
&lt;dael> fantasai: Error handling is a separate process and go look at this doc, then.<br>
&lt;dael> TabAtkins: YOu can't impl with anything remotely like what looks in spec.<br>
&lt;dael> florian: If you take it as a list of things that are correct the grammar is fine. You can use it for a validator<br>
&lt;astearns> ack ChrisL<br>
&lt;Zakim> ChrisL, you wanted to say we can totally remove features<br>
&lt;dael> TabAtkins: How to validate? Nothing is defined in terms of it.<br>
&lt;fantasai> TabAtkins, CSS2.1 stuff is defined in terms of it.<br>
&lt;dael> ChrisL: Normally when pub updated REC it's edited rec and you don't go to WD. I think we can change things and mark things at risk and later remove. I also remain unconvinced that this is a feature, it's just how the syntax is expressed.<br>
&lt;dael> TabAtkins: Agree.<br>
&lt;gsnedders> q?<br>
&lt;dbaron> I'd note that you can't go directly from REC->WD, but you can go REC->CR->WD.  I think it's a bug in the process, though.  (And I filed it.)<br>
&lt;tantek> q-<br>
&lt;tantek> q+<br>
&lt;dael> astearns: As you spoke I was thinking this is something we'll have to deal with in the future for CSS 2. Coming up with a proper way to remove something from CSS 2 to point at a more accurate version is something we'll have to deal with generally<br>
&lt;dael> gsnedders: I don't think other cases will be as bad as this. Things like properties we can just say L2 accepts these properties, see L3 for definition.<br>
&lt;tantek> dbaron huh? pretty sure you have to go REC->WD per current process with new features (and I think for removed features too - checking now)<br>
&lt;dael> florian: We can defer to L3 as REC.<br>
&lt;astearns> ack fantasai<br>
&lt;gsnedders> tantek: Process doesn't say, just for "new features"<br>
&lt;dbaron> tantek, the process for revising a REC doesn't allow transitions other than REC->REC, REC->PR, or REC->CR, IIRC<br>
&lt;dael> fantasai: My preference would be not to removet he section because it's a gaping hole. WE can remove error handling and we can add a reference to CSS 3 and we can add a statement at the top saying you can be conformat by impl here or L3. But ripping out the whole section I'm not comfortable. Internally CSS2 is defined in terms with its own grammar.<br>
&lt;gsnedders> dbaron: https://www.w3.org/2018/Process-20180201/#rec-modify<br>
&lt;gsnedders> dbaron: it's REC->REC, REC->CR, or REC->FPWD<br>
&lt;tantek> dbaron, gsnedders is right - see flow chart<br>
&lt;dael> fantasai: In that error handling we can say this is not correct, there is error handling and it means these things and the details are in L3, but it leaves us some overall syntax. THen we also have a reference for if you want to impl a parser go look overthere.<br>
&lt;tantek> REC -> substantive changes? -> yes -> new features? -> yes -> FPWD<br>
&lt;dael> florian: You don't want to break internal links?<br>
&lt;dael> TabAtkins: Semantic links.<br>
&lt;dael> florian: Sure.<br>
&lt;tantek> looks like we can technically skip WD for *removing* features<br>
&lt;dael> TabAtkins: My challange to that is what's better? A spec that points to a broken incorrect issue or a spec that is hand wavy. No one prefers to pointin to a broken thing.<br>
&lt;dbaron> tantek, gsnedders: on the other hand, see the "next steps" in https://w3c.github.io/w3process/#rec-publication<br>
&lt;dael> florian: Entry point of Syntax and SS 2 grammar are they the same?<br>
&lt;dael> TabAtkins: THat concept isn't in CSS 2.<br>
&lt;tantek> so now I'm ok with first Florian proposal, turning current section informative (thus normatively undefining), and adding informative reference to CSS3 Syntax<br>
&lt;dael> florian: Terms CSS 2 uses other than gramamr still need to make sense. Nneed to understand what talking about.<br>
&lt;gsnedders> dbaron: yes, I think REC->FPWD is expected to be a new REC-track document<br>
&lt;dael> TabAtkins: IN terms of property we use the same terms. CSS2 uses a token sceme, but it's the same terminals.<br>
&lt;dbaron> gsnedders, yes, that's what the last sentence of https://w3c.github.io/w3process/#revised-rec says<br>
&lt;tantek> dbaron, looks like those "next steps" are not comprehensive, good catch. please cc me on the issue you filed on the process per that section<br>
&lt;dael> fantasai: I'm suggesting the hand wavy thing isn't a giant gaping hole. We take that section, the error handling is where the problems and that small section can be turned into something more hand wavy and let's say it's less tight but have the rest of the section in tackt.<br>
&lt;dael> TabAtkins: You have to go read other things. You can't read that grammar and impl CSS.<br>
&lt;dael> fantasai: I'm not necessarily a impl!<br>
&lt;astearns> ack tantek<br>
&lt;tantek> q?<br>
&lt;dael> TabAtkins: If you're not impl you're not looking at tokenization<br>
&lt;dbaron> tantek, my issue was https://github.com/w3c/w3process/issues/103<br>
&lt;ChrisL> q+ yes, because removal has no patent implcations<br>
&lt;fantasai> TabAtkins, afaict you're not asking to remove tokenization, you're asking to remove all of Chapter 4<br>
&lt;dael> tantek: I double checked the process. It looks like if we add features we have to go to WD, but not for removing features. Removing a new CR was sufficient. It lets us mark the whole CSS2 section as informative and then add informative reference to CSS 3 to give impl guidance. So welcome to syntax and if you're impl you have to go here. Remaining text is informative because it's out of date.<br>
&lt;ChrisL> that would work for me!<br>
&lt;gsnedders> fantasai, tantek: and presumably Appendix G<br>
&lt;gsnedders> * TabAtkins<br>
&lt;dbaron> tantek, And the "go to FPWD" option isn't, I believe, part of the Edited/Amended Recommendation process -- it seems to be for a new recommendation<br>
&lt;dael> tantek: I think we can do that and continue with our work mode. Assuming florian and TabAtkins are good with that, fantasai does that sound good to you?<br>
&lt;dael> florian: My initial proposal was gut the section, but I updated to do exactly what you said.<br>
&lt;dael> TabAtkins: I'm okay if it's there if it's in some big colored box to show it's wrong.<br>
&lt;dael> fantasai: Section?<br>
&lt;dael> TabAtkins: Appendix G grammar. And a chapter that defined tokenization.<br>
&lt;dael> gsnedders: Chapter 4.1 and 4.2<br>
&lt;dael> gsnedders: Values section I think we still want.<br>
&lt;dael> tantek: I think not.<br>
&lt;dael> gsnedders: 4.3 values is replaced by values &amp; units. So it's just 4.1, 4.2 and 4.4<br>
&lt;dael> florian: And appendix G<br>
&lt;dael> gsnedders: Yes.<br>
&lt;dael> florian: Turn all of that into notes and add an intro note that it's for reference but known as not fully correct.<br>
&lt;dael> fantasai: Why appendix G? I udnerstand the 4.x<br>
&lt;dael> TabAtkins: It's a big set of grammar defined in terms of tokenization.<br>
&lt;dael> fantasai: It's not error handling It's a valid CSS2 doc conforms to this.<br>
&lt;dael> TabAtkins: There are some that don't because changes to CSS2 that's not backwards compat.<br>
&lt;dael> fantasai: Example?<br>
&lt;tantek> q?<br>
&lt;dael> TabAtkins: URL syntax changed. You can conform to CSS grammar...<br>
&lt;dael> fantasai: Exmpale of URL that's valid now and wasn't before.<br>
&lt;tantek> "This appendix is non-normative. "<br>
&lt;dael> florian: Appendix G states it's non-normative but section 4 refers to appendix G as normative.<br>
&lt;dael> gsnedders: Yes, 4.1<br>
&lt;dael> florian: [reads]<br>
&lt;dael> tantek: Assuming we make 4.1 informative that becomes informative and it's fixed. We don't have to touch G.<br>
&lt;dael> florian: Just adding a note on top is nice to do.<br>
&lt;dael> TabAtkins: Yes, I'd recommend a note.<br>
&lt;fantasai> +1 to note<br>
&lt;dael> gsnedders: If we believe G is capricisious we shoudl remove<br>
&lt;dael> astearns: Prop is take 4.1, 4.2 and 4.4, change them to informative notes, and add notes to those sections + appendix G showing where the newer work is being done. Those are informative notes.<br>
&lt;dael> florian: Agree.<br>
&lt;dael> TabAtkins: Fine with that<br>
&lt;dael> astearns: Objections?<br>
&lt;ChrisL> fine by me<br>
&lt;dael> tantek: Clarify that references to CSS 3 syntax are informative and I"m good.<br>
&lt;dael> astearns: Yes, that's the last clause. "Those" being link to newer work.<br>
&lt;dael> fantasai: WE might want to tweak intro text in chapter 4.<br>
&lt;dael> tantek: That's editoral.<br>
&lt;dael> fantasai: I still want an example<br>
&lt;dael> TabAtkins: DOn't have one off the top of my head.<br>
&lt;dael> astearns: Given you wanted the example as to why we want to change G and we're not do you need it?<br>
&lt;gsnedders> fantasai: http://w3c-test.org/css/CSS2/syntax/uri-013.xht<br>
&lt;dael> fantasai: Not to resolve. Want the example.<br>
&lt;fantasai> s/Want/Still/<br>
&lt;dael> astearns: Obj?<br>
&lt;fantasai> s/example/example though/<br>
&lt;gsnedders> fantasai: that passes per 2.1 and fails per Syntax, AFAIK<br>
&lt;fantasai> gsnedders, that's error-handling<br>
&lt;gsnedders> fantasai: I haven't looked at that test in a long while :)<br>
&lt;fantasai> gsnedders, it's not supposed to be a valid document.<br>
&lt;TabAtkins> Example that fails 2.1 and passes Syntax: url("foo.txt" more-tokens-here)<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/2224<br>
&lt;dael> RESOLVED: take 4.1, 4.2 and 4.4, change them to informative notes, and add notes to those sections + appendix G showing where the newer work is being done. Links to newer works are informative notes.<br>
&lt;tantek> 🎉<br>
&lt;fantasai> TabAtkins, that's invalid in CSS2 regardless<br>
&lt;fantasai> TabAtkins, it's another error-handlign example<br>
</details>


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

Received on Wednesday, 25 April 2018 16:41:12 UTC