Bug 181633 - Web Inspector: Styles: pressing Down key should select first item from completion list when focusing on empty value
Summary: Web Inspector: Styles: pressing Down key should select first item from comple...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nikita Vasilyev
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-01-13 20:00 PST by Nikita Vasilyev
Modified: 2018-01-16 12:54 PST (History)
4 users (show)

See Also:


Attachments
[Animated GIF] Bug (65.47 KB, image/gif)
2018-01-13 20:00 PST, Nikita Vasilyev
no flags Details
Patch (1.61 KB, patch)
2018-01-13 20:05 PST, Nikita Vasilyev
no flags Details | Formatted Diff | Diff
[Animated GIF] With patch applied (94.07 KB, image/gif)
2018-01-13 20:08 PST, Nikita Vasilyev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Vasilyev 2018-01-13 20:00:57 PST
Created attachment 331302 [details]
[Animated GIF] Bug

Steps:
1. Add "font-family" property.
2. Press Tab to focus on the property value field.
3. Press Key Down.

Expected:
"apple-system" suggestion hint is applied, which is the 1st item in the list.

Actual:
"apple-system-body" is applied, which is the 2nd item in the list.
To apply the first one, I have to press Key Down followed by Key Up.
Comment 1 Radar WebKit Bug Importer 2018-01-13 20:01:11 PST
<rdar://problem/36501797>
Comment 2 Nikita Vasilyev 2018-01-13 20:05:16 PST
Created attachment 331303 [details]
Patch
Comment 3 Nikita Vasilyev 2018-01-13 20:08:20 PST
Created attachment 331304 [details]
[Animated GIF] With patch applied
Comment 4 Joseph Pecoraro 2018-01-16 12:29:08 PST
Comment on attachment 331303 [details]
Patch

r=me, nice
Comment 5 WebKit Commit Bot 2018-01-16 12:54:09 PST
Comment on attachment 331303 [details]
Patch

Clearing flags on attachment: 331303

Committed r226996: <https://trac.webkit.org/changeset/226996>
Comment 6 WebKit Commit Bot 2018-01-16 12:54:10 PST
All reviewed patches have been landed.  Closing bug.