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, InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Description Sam Weinig 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.
Comment 1 Sam Weinig 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
Comment 2 Darin Adler 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.
Comment 3 Radar WebKit Bug Importer 2022-12-02 10:23:18 PST
<rdar://problem/102909940>