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: | CSS | Assignee: | 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)
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/96319509>
Ahmad Saleem
https://wpt.fyi/results/html/rendering/widgets/button-layout?label=master&label=experimental&aligned=&q=button-layout%2F