Re: [csswg-drafts] [css-fonts] Confirmation/clarification re parsing the @font-face src: descriptor (#8183)

Thanks, Myles.

So this means that some of the existing WPT tests, such as https://github.com/web-platform-tests/wpt/blob/4990362322013386a4586e46dc62d72745be6d71/css/css-fonts/parsing/font-face-src-format.html#L49-L54, are incorrect as currently written. They assert that a component with a parse error (like `format(xyzz 200px)`) invalidates the entire `src` descriptor; but those tests also include a valid component in the list, and so the descriptor as a whole is still valid. Only the bad component should be dropped.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 4 December 2022 10:25:10 UTC