Bug 170783 - Safari does not update font-size: calc values that contain vw units and anything but percentages
Summary: Safari does not update font-size: calc values that contain vw units and anyth...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 10
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-04-12 12:23 PDT by tech4him
Modified: 2017-04-17 01:48 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tech4him 2017-04-12 12:23:42 PDT
Here is an example: http://codepen.io/tech4him1/pen/mmdMVX

If I set font-size to "calc(1.25em + 0.25vw)", it will calculate properly on page load, but after that it will not update if the page is resized. If I instead set font-size to "calc(125% + 0.25vw)", it works fine.
Comment 1 Radar WebKit Bug Importer 2017-04-12 22:44:05 PDT
<rdar://problem/31599335>
Comment 2 tech4him 2017-04-15 12:36:38 PDT
Bug 87846 fixed this for regular values, but not for all combinations in "calc()".