Files
firefox/testing/web-platform/tests/css/css-pseudo/file-selector-button-float.html
Ethan Jimenez e1b826b6c3 Bug 1835452 [wpt PR 40265] - [GridNG] Don't consider a subgridded axis size in ExpandFlexibleTracks, a=testonly
Automatic update from web-platform-tests
[GridNG] Don't consider a subgridded axis size in ExpandFlexibleTracks

1. Fixing a bug where `ExpandFlexibleTracks` considered the contribution
   size of a subgrid in its subgridded axis, triggering a DCHECK when
   its `NGGridLayoutTrackCollection` is not able perform the sizing
   algorithm since it's inherited by the subgrid's parent grid.

   From https://drafts.csswg.org/css-grid-2/#subgrid-size-contribution,
   in this scenario we should treat the subgrid contribution size as
   empty and not consider it when resolving the size of an `fr`.

2. Adding test coverage to the WPT suite for this issue.

Bug: 1447363
Change-Id: I0a31399a3cb29ffcfa696bc5cdf583150280a1d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4571270
Commit-Queue: Ethan Jimenez <[email protected]>
Reviewed-by: Ian Kilpatrick <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1150050}

--

wpt-commits: 8772ecae5b9d7afa517a4fb08d24bee6213c4175
wpt-pr: 40265
2023-06-13 07:14:45 +00:00

18 lines
559 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>float shouldn't make file control button disappear</title>
<link rel="help" href="https://drafts.csswg.org/css-pseudo/#file-selector-button-pseudo">
<link rel="help" href="https://bugzil.la/1827304">
<link rel="mismatch" href="/css/reference/blank.html">
<link rel="author" href="mailto:[email protected]" title="Emilio Cobos Álvarez">
<link rel="author" href="https://mozilla.org" title="Mozilla">
<style>
input {
color: transparent;
}
input::file-selector-button {
float: left;
}
</style>
<input type=file>