WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
251066
[macOS] Use AppKit interfaces to avoid hardcoding NSCell sizes and outsets
https://bugs.webkit.org/show_bug.cgi?id=251066
Summary
[macOS] Use AppKit interfaces to avoid hardcoding NSCell sizes and outsets
Aditya Keerthi
Reported
2023-01-23 21:22:57 PST
WebKit currently hardcodes cell sizes and outsets in order to paint controls on macOS. These values should be programmatically determined using AppKit. `-[NSCell cellSize]` can be used to obtain cell sizes. Obtaining outsets is a little trickier since there is no interface on `NSCell` that exposes these values – `-[NSView alignmentRectInsets]` is one option, but WebKit currently does not create `NSControl`s.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-01-30 21:23:19 PST
<
rdar://problem/104851604
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug