WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
197003
Setting font-weight for @media print prevents font from rendering in print if the according font file has not been loaded before.
https://bugs.webkit.org/show_bug.cgi?id=197003
Summary
Setting font-weight for @media print prevents font from rendering in print if...
Andreas Zwettler
Reported
2019-04-17 04:37:00 PDT
.component { font-weight: bold; } @media only print { .component { font-weight: normal; } } If the font loaded is a network resource, the text of .component will not be rendered when opening the print dialog for the first time. Closing the dialog and re-opening it then shows the text. My Assumption is, that the normal variant of the font is issued to load when opening the print dialog, but it does not wait until the font is loaded to render the file. When the dialog is opened the second time, the font file has loaded and the full text is rendered.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-04-18 09:55:07 PDT
<
rdar://problem/50018913
>
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