Bug 208417

Summary: Simplify gradient parsing
Product: WebKit Reporter: Darin Adler <darin>
Component: CSSAssignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, cdumez, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, macpherson, menard, mifenton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Patch none

Description Darin Adler 2020-02-29 14:15:39 PST
Simplify gradient parsing code
Comment 1 Darin Adler 2020-02-29 15:03:16 PST
Created attachment 392073 [details]
Patch
Comment 2 Anders Carlsson 2020-02-29 15:12:49 PST
Comment on attachment 392073 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=392073&action=review

> Source/WebCore/ChangeLog:8
> +        - Use Optional<> and invalid Color to reprsent unspecified positions and colors.

Typo "reprsent".
Comment 3 Darin Adler 2020-03-01 16:38:37 PST
Created attachment 392108 [details]
Patch
Comment 4 Darin Adler 2020-03-01 16:39:24 PST
I’ll land this after EWS confirms I fixed the "use after move" mistake in my earlier patch that was screwing up parsing some gradients.
Comment 5 Darin Adler 2020-03-01 18:56:24 PST
Created attachment 392115 [details]
Patch
Comment 6 Darin Adler 2020-03-03 09:12:22 PST
Created attachment 392283 [details]
Patch
Comment 7 Darin Adler 2020-03-04 21:00:30 PST
Created attachment 392533 [details]
Patch
Comment 8 Darin Adler 2020-03-05 20:11:45 PST
Committed r257966: <https://trac.webkit.org/changeset/257966>
Comment 9 Radar WebKit Bug Importer 2020-03-05 20:12:16 PST
<rdar://problem/60118479>