Bug 267516 - Sync 'textarea' to have 'resize:both' aligned with CSS-UI UA Stylesheet Specification
Summary: Sync 'textarea' to have 'resize:both' aligned with CSS-UI UA Stylesheet Speci...
Status: RESOLVED DUPLICATE of bug 266614
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-14 16:46 PST by Ahmad Saleem
Modified: 2024-01-14 16:59 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 Ahmad Saleem 2024-01-14 16:46:18 PST
Hi Team,

This is spin-off from bug 266614 to at least start moving away from the usage of non-standard 'auto' value and sync our UA Stylesheet.

https://github.com/WebKit/WebKit/blob/55e44f92c5bb72f9ed33bbb571c531b738c38634/Source/WebCore/css/html.css#L811

We have:

resize: auto;

While web-spec: https://www.w3.org/TR/css-ui-3/#default-style-sheet (and also Firefox) suggests that it should be:

resize: both;

___

It was changed from 'both' to 'auto' in this commit: https://commits.webkit.org/13053@main

It was done in radar '4611287' (might be to highlight them in 'iOS' because iOS has fragile 'resize' event support on touch etc. (read an article - couldn't find now).

So I think it would be good to track it and revisit the topic now or even if we can enable it behind 'platform' flag [which we already use for 'textarea' anyway].

___

Just wanted to raise to get input and will CC - Karl & Tim and if they look into 'radar' and give some more perspective.

Thanks!
Comment 1 Tim Nguyen (:ntim) 2024-01-14 16:59:42 PST
This is essentially a duplicate of bug 266614.

*** This bug has been marked as a duplicate of bug 266614 ***