Bug 227214 - Web Inspector: Styles: Can't increment/decrement value with up/down arrow keys for shorthand notation
Summary: Web Inspector: Styles: Can't increment/decrement value with up/down arrow key...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Razvan Caliman
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-06-21 08:00 PDT by Razvan Caliman
Modified: 2023-10-25 13:35 PDT (History)
2 users (show)

See Also:


Attachments
Video of bug (1.34 MB, video/quicktime)
2021-06-21 08:00 PDT, Razvan Caliman
no flags Details

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