W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2016

Re: [csswg-drafts] [font-loading] FontFace Constructor should replace empty strings in the FontFaceDescriptors dictionary with their default values

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Fri, 27 May 2016 18:49:09 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-222225070-1464374949-sysbot+gh@w3.org>
I would have *strongly* appreciated you actually *reporting* the bug 
to us before "fixing" it to interoperate on something other than the 
spec.  The spec is extremely clear that failing to parse correctly is 
an error that should reject the promise; this is specified two 
sentences later by

> If any of them fail to parse correctly, reject font face’s 
[[FontStatusPromise]] with a DOMException named "SyntaxError", set 
font face’s corresponding attributes to the empty string, and set font
 face’s status attribute to "error". 

I'm going to instead try and get our implementation to change to match
 the spec; it should be possible because usage is low and this is an 
error case.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/151#issuecomment-222225070 
using your GitHub account
Received on Friday, 27 May 2016 18:49:11 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:40:58 UTC