Bug 248350

Summary: Use "nonnegative" rather than "non-negative" or "NonNegative" consistently
Product: WebKit Reporter: Sam Weinig <sam>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, darin, frances_c, webkit-bug-importer
Priority: P2 Keywords: EasyFix, GoodFirstBug, InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Sam Weinig
Reported 2022-11-25 10:22:08 PST
Feedback from https://github.com/WebKit/WebKit/pull/6765. Use "nonnegative" rather than "non-negative" or "NonNegative" consistently. Let's do this all at once.
Attachments
Sam Weinig
Comment 1 2022-11-25 18:53:54 PST
One mark against doing this is that the HTML spec uses "non-negative" and some of our code is referencing that: https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#rules-for-parsing-non-negative-integers
Darin Adler
Comment 2 2022-11-26 20:44:15 PST
We can take our lead from that if you like; I am OK with that. I had looked in a dictionary instead. Multiple dictionaries seem to agree that it’s a word and needs no hyphen.
Radar WebKit Bug Importer
Comment 3 2022-12-02 10:23:18 PST
Note You need to log in before you can comment on or make changes to this bug.