Bug 227514

Summary: [GLIB] regression(r278304): fast/css/parsing-relative-color-syntax.html fails on GTK and WPE
Product: WebKit Reporter: Arcady Goldmints-Orlov <crzwdjk>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bfulgham, darin, sam, simon.fraser, zalan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Linux   

Arcady Goldmints-Orlov
Reported 2021-06-29 16:18:01 PDT
This test has started failing since r278304, in particular one assertion in the test (added in the aforementioned change) fails as follows: FAIL computedStyle("background-color", "lch(from peru calc(l * 0.8) c h)") should be lch(49.80138% 54.003296 63.680317). Was lch(49.80138% 54.003284 63.68035). Which seems like a precision issue somewhere (perhaps the test demanding too much precision here?)
Attachments
Sam Weinig
Comment 1 2021-06-29 16:55:38 PDT
Interesting. I wonder where things could be differing from glib to the cocoa platforms here, as I would kind of expect double / float arithmetic to be the same. Perhaps compiler flags or something. But yeah, making these tests a little more lenient somehow makes sense to me.
Note You need to log in before you can comment on or make changes to this bug.