Bug 135243 - Pseudo-elements should not display a resize handle when styled with the css3-ui `resize` property
Summary: Pseudo-elements should not display a resize handle when styled with the css3-...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.9
: P2 Normal
Assignee: Nobody
URL: http://result.dabblet.com/gist/ab432c...
Keywords: InRadar, WPTImpact
Depends on:
Blocks:
 
Reported: 2014-07-24 11:25 PDT by Lea Verou
Modified: 2023-11-06 17:33 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lea Verou 2014-07-24 11:25:32 PDT
Although a resize handle is shown, the pink pseudo-element in the testcase above cannot actually be resized.

css3-ui states that the resize property applies to “elements with ‘overflow’ other than visible”, which includes pseudo-elements.
Comment 1 Daniel Holbert 2016-07-15 15:39:12 PDT
(In reply to comment #0)
> css3-ui states that the resize property applies to “elements with ‘overflow’
> other than visible”, which includes pseudo-elements.

The css3-ui spec now also says "Implementations should not apply the resize property to generated content."  That includes the pseudo-element in the dabblet testcase here.
Spec link: http://dev.w3.org/csswg/css-ui/#resize

So, I think the (current) expected behavior here is that WebKit shouldn't be showing a resizer on that pseudo-element. (The resize property "should not apply", i.e. it shouldn't affect rendering at all.)

Incidentally, Firefox/Gecko recently changed to have that behavior (not showing a resizer) in https://bugzilla.mozilla.org/show_bug.cgi?id=1043537
Comment 2 Brent Fulgham 2022-07-13 17:25:04 PDT
Safari continues to show a resize handle, when it should not.
Comment 3 Radar WebKit Bug Importer 2022-07-13 17:25:19 PDT
<rdar://problem/96983000>