WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
175381
Implement the font-display attribute in SVG's <font-face>
https://bugs.webkit.org/show_bug.cgi?id=175381
Summary
Implement the font-display attribute in SVG's <font-face>
Myles C. Maxfield
Reported
2017-08-09 08:17:22 PDT
1) Figure out (from the relevant standardization body) if it should be present 2) If so, implement it
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-08-09 15:34:35 PDT
<
rdar://problem/33813232
>
Myles C. Maxfield
Comment 2
2017-08-10 10:00:35 PDT
The spec doesn't have this attribute.
https://www.w3.org/TR/SVG11/fonts.html#FontFaceElement
Myles C. Maxfield
Comment 3
2017-08-10 12:17:34 PDT
We are the only browser to support SVG fonts in the first place.
Myles C. Maxfield
Comment 4
2017-08-10 12:26:51 PDT
This should just need to modify Source/WebCore/svg/svgattrs.in and createAttributeNameToCSSPropertyIDMap()
Myles C. Maxfield
Comment 5
2017-08-10 12:27:53 PDT
Once
https://bugs.webkit.org/show_bug.cgi?id=175383
is solved, this can be tested quite easily.
Myles C. Maxfield
Comment 6
2017-10-05 16:32:20 PDT
Currently, SVGFontFaceElement::parseAttribute() parses according to CSS property grammar, not @font-face descriptor grammar, which means font-display won't work. I don't think this is worth doing. Supporting <font-face> is only necessary for supporting legacy content, and legacy content doesn't use this new descriptor.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug