Bug 198695

Summary: Make it possible to mark the value of an SVGProperty as 'Invalid'
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: SVGAssignee: Said Abou-Hallawa <sabouhallawa>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, ews-watchlist, mmaxfield, rniwa, simon.fraser, webkit-bug-importer, zalan, zimmermann
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for review sabouhallawa: review?

Said Abou-Hallawa
Reported 2019-06-08 18:37:12 PDT
SVGProperty can be initialized with the default value. Or it can be set to the default value as a fall back of parsing error. Marking the state to 'Invalid' will allow differentiating between these two cases.
Attachments
Patch (323.53 KB, patch)
2019-06-08 18:40 PDT, Said Abou-Hallawa
no flags
Patch for review (15.81 KB, patch)
2019-07-10 10:38 PDT, Said Abou-Hallawa
sabouhallawa: review?
Said Abou-Hallawa
Comment 1 2019-06-08 18:40:57 PDT
EWS Watchlist
Comment 2 2019-06-08 18:43:27 PDT
Attachment 371692 [details] did not pass style-queue: ERROR: Source/WebCore/svg/SVGFETurbulenceElement.h:36: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] ERROR: Source/WebCore/svg/SVGFETurbulenceElement.h:37: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] ERROR: Source/WebCore/svg/SVGFETurbulenceElement.h:38: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] Total errors found: 3 in 164 files If any of these errors are false positives, please file a bug against check-webkit-style.
Said Abou-Hallawa
Comment 3 2019-07-10 10:38:51 PDT
Created attachment 373847 [details] Patch for review
Radar WebKit Bug Importer
Comment 5 2022-08-14 10:52:45 PDT
Note You need to log in before you can comment on or make changes to this bug.