Bug 170783

Summary: Safari does not update font-size: calc values that contain vw units and anything but percentages
Product: WebKit Reporter: tech4him <inchristalway-webkitbugs>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: hyatt, jonlee, mmaxfield, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari 10   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=87846

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
Comment 2 tech4him 2017-04-15 12:36:38 PDT
Bug 87846 fixed this for regular values, but not for all combinations in "calc()".