Bug 250048

Summary: Remove zoom special casing of SVG when computing border-widths
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: SVGAssignee: Ahmad Saleem <ahmad.saleem792>
Status: RESOLVED FIXED    
Severity: Normal CC: karlcow, sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: BrowserCompat, GoodFirstBug, InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2023-01-03 15:04:54 PST
Hi Team,

While going through Blink's commit, I came across another special case failing in Safari 16.2 & STP160:

Test case - https://jsfiddle.net/j9u1r2sb/

^ Both should match in border-width but it does not in Safari but it does in Chrome Canary 111 and Firefox Nightly 110.

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/972c6ca7b5ffa48a099b53cfc720a0aef3bf850e%5E%21/#F2

WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/css/CSSToStyleMap.cpp#61 etc.

I haven't look whether it can be done 1-1 but still want to raise this.

Thanks!
Comment 1 Radar WebKit Bug Importer 2023-01-04 16:48:35 PST
<rdar://problem/103893679>
Comment 2 Tim Nguyen (:ntim) 2023-01-04 20:58:42 PST
We should try to do this for browser compat.
Comment 3 Ahmad Saleem 2023-01-21 06:36:45 PST
PR - https://github.com/WebKit/WebKit/pull/8898
Comment 4 EWS 2023-01-21 08:59:29 PST
Committed 259170@main (e7f78cb4cd81): <https://commits.webkit.org/259170@main>

Reviewed commits have been landed. Closing PR #8898 and removing active labels.