Bug 256888
| Summary: | [CSS] Color value should be rounded to +inf | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matthieu Dubet <m_dubet> |
| Component: | CSS | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/109454170>
Ahmad Saleem
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'.