Bug 50327 - CSS 2.1 failure: font-family-rule-011
Summary: CSS 2.1 failure: font-family-rule-011
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://test.csswg.org/suites/css21_de...
Keywords:
Depends on:
Blocks: 47141
  Show dependency treegraph
 
Reported: 2010-12-01 09:28 PST by Simon Fraser (smfr)
Modified: 2022-08-20 14:39 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2010-12-01 09:28:48 PST
The font-family-rule-011 test fails.

http://www.w3.org/TR/CSS21/fonts.html#font-family-prop
Note the words in the spec:
"The keywords 'initial' and 'default' are reserved for future use and must also be quoted when used as font names. UAs must not consider these keywords as matching the '<family-name>' type."
Comment 1 Ahmad Saleem 2022-08-20 11:59:27 PDT
https://wpt.fyi/results/css/CSS2/fonts?label=master&label=experimental&aligned&view=subtest&q=font-family-rule

It is not WPT. Do we follow WPT only test for CSS2 or we do follow CSS2 original test suite?

Test Link - http://test.csswg.org/suites/css21_dev/20110323/xhtml1/font-style-rule-001.xht
Comment 2 Alexey Proskuryakov 2022-08-20 14:39:47 PDT
WPT is certainly not the source of truth in any way, but this test is on wpt.live: http://wpt.live/css/CSS2/fonts/font-family-rule-011.xht (note that it's "011", not "001" as above).

That said, the test is fundamentally broken, because it relies on a "default" font being installed in the OS, which no one has, and Safari wouldn't use anyway (we only expose a fixed set of fonts, to reduce fingerprinting).

Simon, do you remember how you observed the failure? Is this still actionable?