| Summary: | Fix WebContent crash with null String in font-feature-values | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matthieu Dubet <m_dubet> |
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ntim, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://github.com/web-platform-tests/wpt/pull/39573 | ||
Pull request: https://github.com/WebKit/WebKit/pull/12652 Committed 262880@main (3ac8b5512c4d): <https://commits.webkit.org/262880@main> Reviewed commits have been landed. Closing PR #12652 and removing active labels. |
Fix WebContent crash with null String in font-feature-values Example: @font-feature-values "Plex Serif" { @styleset { alt-a: 1; alt-g: 2; } @stylistic { alternates: 1; } } @font-feature-values "Dancing Script" { @stylistic { alternates: 1; } } .container1 * { font-variant-alternates: styleset(alt-a); } .container1 .script { font-variant-alternates: stylistic(alternates); } .inactive .container1 * { font-variant-alternates: normal; } https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/OpenType_fonts_guide