Bug 50327

Summary: CSS 2.1 failure: font-family-rule-011
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, rniwa, simon.fraser, tabatkins, zalan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://test.csswg.org/suites/css21_dev/20110323/xhtml1/font-style-rule-001.xht
Bug Depends on:    
Bug Blocks: 47141    

Simon Fraser (smfr)
Reported 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."
Attachments
Ahmad Saleem
Comment 1 2022-08-20 11:59:27 PDT
Alexey Proskuryakov
Comment 2 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?
Note You need to log in before you can comment on or make changes to this bug.