Bug 195298

Summary: Web Inspector: Canvas: color swatches aren't shown for valid inputs with leading/trailing whitespace
Product: WebKit Reporter: Devin Rousso <drousso>
Component: Web InspectorAssignee: Devin Rousso <drousso>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, drousso, ews-watchlist, inspector-bugzilla-changes, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 175485    
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ews126 for ios-simulator-wk2 none

Description Devin Rousso 2019-03-04 15:50:44 PST
`context.fillStyle = "  red  ";` won't show a color swatch, whereas `context.fillStyle = "red";` does.
Comment 1 Devin Rousso 2019-03-04 15:57:53 PST
Created attachment 363562 [details]
Patch
Comment 2 EWS Watchlist 2019-03-04 18:23:51 PST Comment hidden (obsolete)
Comment 3 EWS Watchlist 2019-03-04 18:23:53 PST Comment hidden (obsolete)
Comment 4 WebKit Commit Bot 2019-03-06 11:08:34 PST
Comment on attachment 363562 [details]
Patch

Clearing flags on attachment: 363562

Committed r242553: <https://trac.webkit.org/changeset/242553>
Comment 5 WebKit Commit Bot 2019-03-06 11:08:35 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2019-03-06 11:21:21 PST
<rdar://problem/48645215>