[Restyle] Auto hyphenation can make the spec ambiguous

A bug was raised against a CSS specification, because it seemed as if a 
hyphen was allowed in a keyword ("open-type" as well as "opentype").

https://github.com/w3c/csswg-drafts/issues/2307

It turned out not to be a bug in the grammar but to be introduced by the 
styling. Furthermore, that bug is in base.css and thus affects all W3C 
specs, not just CSS WG ones.

The rule in question is

body { hyphens: auto}

Hyphenation is fine in general, but not when it alters the technical 
content of a specification.

-- 
Chris Lilley
@svgeesus
Technical Director @ W3C
W3C Strategy Team, Core Web Design
W3C Architecture & Technology Team, Core Web & Media

Received on Tuesday, 13 February 2018 03:16:57 UTC