WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
165600
font-size computed is influenced by CSS zoom property when zoom < 1
https://bugs.webkit.org/show_bug.cgi?id=165600
Summary
font-size computed is influenced by CSS zoom property when zoom < 1
Antoine Quint
Reported
2016-12-08 07:25:57 PST
Created
attachment 296510
[details]
Testcase In the attached tests, I have two elements displaying text with "font-size" set to "14px" and "zoom" property set. The element that has "zoom" set to 4 reports a font-size of "14px" in its computed style, while the element that has "zoom" set to 0.25 reports a font-size of "36px". I would expect 14px to reported in both cases.
Attachments
Testcase
(430 bytes, text/html)
2016-12-08 07:25 PST
,
Antoine Quint
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-02-26 17:08:04 PST
<
rdar://problem/30725497
>
Dave Hyatt
Comment 2
2017-04-24 12:39:06 PDT
Issue is minimum font size increased the font back up to 9px, so when we try to reverse engineer the original font size by dividing by the zoom, we get the wrong answer.
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