Bug 200692

Summary: vertical-align calc computes as empty string
Product: WebKit Reporter: Eric Willigers <ericwilligers>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: FromImplementor, InRadar
Version: Safari 12   
Hardware: Unspecified   
OS: Unspecified   

Eric Willigers
Reported 2019-08-13 15:33:25 PDT
If vertical-align is set to "calc(20% + 10px)", getComputedStyle() reports an empty string. https://jsfiddle.net/ericwilligers/o2fsrvjy/ Proposed WPT https://github.com/web-platform-tests/wpt/pull/18361
Attachments
Radar WebKit Bug Importer
Comment 1 2019-08-14 17:11:49 PDT
Ahmad Saleem
Comment 2 2022-08-06 19:12:10 PDT
I am unable to reproduce this bug and since Webkit moved to CSS Parser from Blink, this might have fixed that time. The attached test case show proper output: 'vertical-align' 'calc(20% + 10px)' 'calc(20% + 10px)' 'calc(20% + 10px)' I am going to mark this as "RESOLVED CONFIGURATION CHANGED". Thanks!
Note You need to log in before you can comment on or make changes to this bug.