Bug 248128
Summary: | `font-variant: small-caps normal;` should be invalid syntax | ||
---|---|---|---|
Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ahmad.saleem792, m_dubet, webkit-bug-importer |
Priority: | P2 | Keywords: | GoodFirstBug, InRadar, WPTImpact |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://wpt.live/css/css-fonts/parsing/font-variant-invalid.html | ||
Bug Depends on: | |||
Bug Blocks: | 246579 |
Tim Nguyen (:ntim)
This still properly parses in Webkit, even though it really shouldn't according to the syntax.
font-variant: normal/none are valid, but these are invalid (replace * with any valid longhand value):
- `* normal`
- `normal *`
- `normal none`
- `none normal`
- `* none`
- `none *`
css/css-fonts/parsing/font-variant-invalid.html should be extended with such testcases.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/102679841>
Tim Nguyen (:ntim)
https://github.com/web-platform-tests/wpt/pull/40267
Ahmad Saleem
This is only failing test for InterOp 2022 (interop-2022-text) in CSS Fonts.
Nathan Solomon
Pull request: https://github.com/WebKit/WebKit/pull/32154
EWS
Committed 282368@main (2f740da85dda): <https://commits.webkit.org/282368@main>
Reviewed commits have been landed. Closing PR #32154 and removing active labels.