Bug 256888

Summary: [CSS] Color value should be rounded to +inf
Product: WebKit Reporter: Matthieu Dubet <m_dubet>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Matthieu Dubet
Reported 2023-05-17 05:04:35 PDT
Currently, taking 0.5 of a RBG value in the range [0,255] gives 127. We should round it to 128. https://github.com/web-platform-tests/wpt/pull/36668#issuecomment-1534794021
Attachments
Radar WebKit Bug Importer
Comment 1 2023-05-17 05:05:12 PDT
Ahmad Saleem
Comment 2 2023-09-08 15:36:24 PDT
https://jsfiddle.net/6yfqnLhs/ ^ Test case for reference (took from GitHub) Adding 'BrowserCompat' since only Safari / WebKit is different while Chrome Canary 118 and Firefox Nightly 118 are same and show '128'.
Note You need to log in before you can comment on or make changes to this bug.