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?

Description Said Abou-Hallawa 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.
Comment 1 Said Abou-Hallawa 2019-06-08 18:40:57 PDT
Created attachment 371692 [details]
Patch
Comment 2 EWS Watchlist 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.
Comment 3 Said Abou-Hallawa 2019-07-10 10:38:51 PDT
Created attachment 373847 [details]
Patch for review
Comment 5 Radar WebKit Bug Importer 2022-08-14 10:52:45 PDT
<rdar://problem/98641903>