Bug 227514 - [GLIB] regression(r278304): fast/css/parsing-relative-color-syntax.html fails on GTK and WPE
Summary: [GLIB] regression(r278304): fast/css/parsing-relative-color-syntax.html fails...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-29 16:18 PDT by Arcady Goldmints-Orlov
Modified: 2021-06-29 16:55 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arcady Goldmints-Orlov 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?)
Comment 1 Sam Weinig 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.