Bug 193446

Summary: Button with position: absolute and non-auto left/right do not shrink-to-fit
Product: WebKit Reporter: Simon Pieters (:zcorpan) <zcorpan>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Simon Pieters (:zcorpan)
Reported 2019-01-15 07:29:10 PST
Spec change defining button layout: https://github.com/whatwg/html/pull/4143 Tests: https://github.com/web-platform-tests/wpt/pull/14824 (see abspos.html) WebKit seems to apply the rules for non-replaced elements (by changing the width), but the spec and Chromium/Gecko follow the CSS rules for replaced elements when a button is absolutely positioned.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-07-01 16:03:54 PDT
Note You need to log in before you can comment on or make changes to this bug.