Bug 222015 - [iOS][FCR] Enable the new appearance by default
Summary: [iOS][FCR] Enable the new appearance by default
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Aditya Keerthi
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-02-16 17:58 PST by Aditya Keerthi
Modified: 2021-02-19 11:44 PST (History)
13 users (show)

See Also:


Attachments
WIP (1.28 KB, patch)
2021-02-16 18:02 PST, Aditya Keerthi
no flags Details | Formatted Diff | Diff
Patch (61.60 KB, patch)
2021-02-17 10:45 PST, Aditya Keerthi
no flags Details | Formatted Diff | Diff
Patch (205.07 KB, patch)
2021-02-17 14:53 PST, Aditya Keerthi
no flags Details | Formatted Diff | Diff
Tests found using script (1.22 MB, patch)
2021-02-17 16:32 PST, Aditya Keerthi
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (1.33 MB, patch)
2021-02-17 21:37 PST, Aditya Keerthi
no flags Details | Formatted Diff | Diff
Patch (1.34 MB, patch)
2021-02-18 13:12 PST, Aditya Keerthi
no flags Details | Formatted Diff | Diff
Patch (1.34 MB, patch)
2021-02-18 22:11 PST, Aditya Keerthi
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aditya Keerthi 2021-02-16 17:58:45 PST
...
Comment 1 Aditya Keerthi 2021-02-16 17:58:58 PST
<rdar://problem/74415537>
Comment 2 Aditya Keerthi 2021-02-16 18:02:56 PST
Created attachment 420574 [details]
WIP
Comment 3 Aditya Keerthi 2021-02-17 10:45:20 PST
Created attachment 420669 [details]
Patch
Comment 4 Aditya Keerthi 2021-02-17 14:53:31 PST
Created attachment 420725 [details]
Patch
Comment 5 Aditya Keerthi 2021-02-17 16:32:24 PST
Created attachment 420758 [details]
Tests found using script
Comment 6 Aditya Keerthi 2021-02-17 21:37:25 PST
Created attachment 420795 [details]
Patch
Comment 7 Aditya Keerthi 2021-02-18 13:12:49 PST
Created attachment 420865 [details]
Patch
Comment 8 Aditya Keerthi 2021-02-18 22:11:06 PST
Created attachment 420922 [details]
Patch
Comment 9 Wenson Hsieh 2021-02-19 11:07:23 PST
Comment on attachment 420922 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=420922&action=review

> LayoutTests/fast/forms/ios/select-picker-change-and-focus-another-select.html:1
> +<!DOCTYPE html> <!-- webkit-test-runner [ useFlexibleViewport=true IOSFormControlRefreshEnabled=false ] -->

While some of these tests are no longer relevant, we should file followup bugs to make some of these tests work using the new (refreshed) UI. This seems like one that might potentially still be applicable? (Maybe only with a hardware keyboard attached though)

> LayoutTests/platform/ipad/fast/forms/choose-select-option.html:1
> +<!DOCTYPE html> <!-- webkit-test-runner [ useFlexibleViewport=true IOSFormControlRefreshEnabled=false ] -->

This seems like another test that could (feasibly) be adapted to the refreshed select UI.
Comment 10 Aditya Keerthi 2021-02-19 11:25:09 PST
(In reply to Wenson Hsieh from comment #9)
> Comment on attachment 420922 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=420922&action=review
> 
> > LayoutTests/fast/forms/ios/select-picker-change-and-focus-another-select.html:1
> > +<!DOCTYPE html> <!-- webkit-test-runner [ useFlexibleViewport=true IOSFormControlRefreshEnabled=false ] -->
> 
> While some of these tests are no longer relevant, we should file followup
> bugs to make some of these tests work using the new (refreshed) UI. This
> seems like one that might potentially still be applicable? (Maybe only with
> a hardware keyboard attached though)

This one was actually only relevant on iPhones, where it was possible to tap a select element while the picker was displayed for another element. It was never relevant on iPads since the tap would just dismiss the presented popover and an additional tap would be required to focus the other element.

However, now that we present a modal view / context menu to choose options, it's no longer possible to immediately tap a select element while choosing options for another, since the first tap would dismiss the modal view / context menu.

But I will take a look and see if there are other tests that can be adapted.
 
> > LayoutTests/platform/ipad/fast/forms/choose-select-option.html:1
> > +<!DOCTYPE html> <!-- webkit-test-runner [ useFlexibleViewport=true IOSFormControlRefreshEnabled=false ] -->
> 
> This seems like another test that could (feasibly) be adapted to the
> refreshed select UI.

This test has already been adapted to the new UI – see LayoutTests/fast/forms/ios/form-control-refresh/select/choose-select-option.html.
Comment 11 EWS 2021-02-19 11:44:10 PST
Committed r273154: <https://commits.webkit.org/r273154>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 420922 [details].