Bug 234643 - Web Inspector: allow editing positions in gradient editor
Summary: Web Inspector: allow editing positions in gradient editor
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-12-23 12:23 PST by Tim Nguyen (:ntim)
Modified: 2021-12-30 12:24 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Nguyen (:ntim) 2021-12-23 12:23:47 PST
The center point for radial and conic gradients should be editable.

Parsing is tricky is fairly complex (though not impossible), the syntax is analogous to `background-position:`.

* 1/2 length value
* keyword values (bottom, left, right, top, center)
* keyword values + length values (`bottom 10px` means 10px offset from bottom)
Comment 1 Radar WebKit Bug Importer 2021-12-30 12:24:14 PST
<rdar://problem/87017211>