Re: [csswg-drafts] [css-shadow-parts] fully specify the parser for the forwarding micro-syntax

13add368a8d60f7b1bc152e23e3695a43596fc11 adds a full specified parser. I'd appreciate people sanity checking it. A couple of points:

- I chose strict over lenient, e.g. "foo: bar buz" will be result in nothing at all. An alternative would be to make "foo:bar buz" give you the same result as "foo: bar" and just ignore the buz. I don't have a strong opinion on which it should be, my preference is strictness but browsers tend to be very lenient. The downside of being lenient is that if we decide to assign a meaning to "foo: bar buz" in the future, bad things may happen to pages that were working only because of lenience...
- I followed the parser specs in the HTML spec. There are certain things defined in there like "[collect a sequence of code points](https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points)" which aren't defined in this spec. I'm not sure what the correct approach is to fix this, just reference the HTML doc?

@tabatkins 

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

Received on Friday, 9 November 2018 07:27:59 UTC