Bug 128954 - Web Inspector: shift-clicking #fff swatch results in bad rgb value
Summary: Web Inspector: shift-clicking #fff swatch results in bad rgb value
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-02-17 22:06 PST by Chris J. Shull
Modified: 2014-02-18 12:56 PST (History)
6 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (2.14 KB, patch)
2014-02-18 11:00 PST, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris J. Shull 2014-02-17 22:06:17 PST
Steps:
1) <div style="color:#fff">foo</div>
2) inspect
3) shift-click swatch until it is rgb

Observed:
rgb(65025, 65025, 65025)

Expected:
rgb(255,255,255)
Comment 1 Radar WebKit Bug Importer 2014-02-17 22:06:28 PST
<rdar://problem/16094504>
Comment 2 Joseph Pecoraro 2014-02-18 11:00:39 PST
Created attachment 224523 [details]
[PATCH] Proposed Fix
Comment 3 Daniel Bates 2014-02-18 12:23:51 PST
Comment on attachment 224523 [details]
[PATCH] Proposed Fix

This patch looks straightforward to me.
Comment 4 WebKit Commit Bot 2014-02-18 12:56:27 PST
Comment on attachment 224523 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 224523

Committed r164308: <http://trac.webkit.org/changeset/164308>
Comment 5 WebKit Commit Bot 2014-02-18 12:56:29 PST
All reviewed patches have been landed.  Closing bug.