Consider merging https://chromium.googlesource.com/chromium/blink/+/334d7594dadde64b65b18f2ed9947c1d433e783d Add simplification of calc expressions at parse time. Numbers and compatible units are merged and evaluated. "calc(4px + 1in + 10%)" gets simplified to "calc(100px + 10%)"
Created attachment 461176 [details] All browser slightly differ from each other I took the test case from Blink patch and changed it into following JSFiddle: Link - https://jsfiddle.net/4058z76y/show All browsers slightly differ from each other and I am not sure on web-spec and which browser is right so just wanted to share updated results and I pointed to some quick ones in Safari 15.6, where there are some obvious changes compared to Firefox Nightly 104. It is just updated testing results. Thanks!
We merged new CSS parser from Blink so this is moot.
But even still Safari differs from even Chrome as can been seen in the screenshot. Is it something, we update CSS Parser code time to time to get latest fixes and we haven't taken recent fixes yet?
Hm... okay. I guess we're missing some pieces then.
*** This bug has been marked as a duplicate of bug 111149 ***