forked from mirrors/gecko-dev
Automatic update from web-platform-tests [layout] Switch radio/checkbox to have an intrinsic inline/block size. ... as opposed to setting an explicit width/height when we have an effective appearance, and the width/height is auto. This is effectively what the code in layout_theme_default was doing, but this is in a less broken way. This has the primary side effect of allowing radio/checkbox to respect stretching (in flex & grid). Most of the image differences come at non-integer zooms. E.g. Previously we'd round down(?) for things like: 13px * 1.5 = 19px now: 13px * 1.5 = 19.5px Bug: 768999 Change-Id: I222f07ada71ea56a3656af03b459d7a5007e924d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3614268 Reviewed-by: David Grogan <dgrogan@chromium.org> Reviewed-by: Mason Freed <masonf@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/main@{#998601} -- wpt-commits: d35aaf29e2be26031ae550ed2a763cf68518868a wpt-pr: 33884
6 lines
300 B
HTML
6 lines
300 B
HTML
<!DOCTYPE html>
|
|
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=768999">
|
|
<link rel="match" href="stretch-grid-item-radio-input-ref.html">
|
|
<div style="display: grid; width: 50px; height: 50px; grid-template: 50px / 50px;">
|
|
<input type="radio" style="margin: 0;">
|
|
</div>
|