Bug 248350 - Use "nonnegative" rather than "non-negative" or "NonNegative" consistently
Summary: Use "nonnegative" rather than "non-negative" or "NonNegative" consistently
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: EasyFix, InRadar
Depends on:
Blocks:
 
Reported: 2022-11-25 10:22 PST by Sam Weinig
Modified: 2024-07-22 04:55 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>