- From: Rick Byers <web-platform-tests-notifications@w3.org>
- Date: Wed, 04 Jan 2017 22:20:21 GMT
- To: public-web-platform-tests-notifications@w3.org
The load algorithm is defined [here](https://drafts.csswg.org/css-font-loading/#font-face-load). My reading is that yes, successfully loading a resource that is not a valid font should reject the promise. But it's not spelled out entirely explicitly (and the spec appears to have no tests of it's own 😢). I've filed https://github.com/w3c/csswg-drafts/issues/852 to try to get that clarified. /cc @tabatkins But whether it should fail or not is not being tested here. Even if it's not supposed to fail, what should this test do when it does fail? Isn't explicitly ignoring rejection better stylistically than implicitly letting the rejection go unhandled when the intention of the test is to not care about any failures here? View on GitHub: https://github.com/w3c/web-platform-tests/pull/4378#issuecomment-270503864
Received on Wednesday, 4 January 2017 22:20:37 UTC