W3C home > Mailing lists > Public > spec-prod@w3.org > January to March 2018

[Restyle] Auto hyphenation can make the spec ambiguous

From: Chris Lilley <chris@w3.org>
Date: Mon, 12 Feb 2018 22:16:53 -0500
To: spec-prod@w3.org
Message-ID: <d4d6e99e-6aa2-b064-99df-b7a11962fd4e@w3.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 13 February 2018 03:16:57 UTC