Bug 227214

Summary: Web Inspector: Styles: Can't increment/decrement value with up/down arrow keys for shorthand notation
Product: WebKit Reporter: Razvan Caliman <rcaliman>
Component: Web InspectorAssignee: Razvan Caliman <rcaliman>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Video of bug none

Description Razvan Caliman 2021-06-21 08:00:22 PDT
Created attachment 431860 [details]
Video of bug

Steps to reproduce

- Add a CSS property with a shorthand notation that includes a keyword: 
`text-decoration: 1px 2px black`
- Move the typing cursor over the second value (2px)
- Hold the Arrow Up key to increment the value

Result:

The first value increments.

The issue doesn't occur when the entire shorthand value is made up of pairs of numbers and units.
For example: `margin: 1px 1px 1px 1px` forks fine, incrementing/decrementing the correct value at the cursor position.
Comment 1 Radar WebKit Bug Importer 2021-06-21 08:01:40 PDT
<rdar://problem/79561858>
Comment 2 Razvan Caliman 2023-10-25 13:35:13 PDT
Bug no longer reproduces.