Auto merge of #29755 - stshine:automatic-min-size, r=Loirooriol

layout_2020: Implement automatic minimum size of flex items

Implement the algorithm described in
https://drafts.csswg.org/css-flexbox/#min-size-auto.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [x] There are tests for these changes OR

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
bors-servo 2023-06-03 10:43:48 +02:00 committed by GitHub
commit 0f8824da6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 78 additions and 63 deletions

View file

@ -22,6 +22,3 @@
[.flexbox 12]
expected: FAIL
[.flexbox 19]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flex-minimum-height-flex-items-024.html]
expected: FAIL

View file

@ -1,15 +1,6 @@
[flex-minimum-size-001.html]
[.flexbox, .inline-flexbox 1]
expected: FAIL
[.flexbox, .inline-flexbox 6]
expected: FAIL
[.flexbox, .inline-flexbox 5]
expected: FAIL
[.flexbox, .inline-flexbox 4]
expected: FAIL
[.flexbox, .inline-flexbox 2]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flex-minimum-width-flex-items-001.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flex-minimum-width-flex-items-002.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flex-minimum-width-flex-items-003.xht]
expected: FAIL

View file

@ -0,0 +1,2 @@
[flex-wrap-003.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[flex-wrap-004.html]
expected: FAIL

View file

@ -1,2 +1,2 @@
[flexbox-align-self-stretch-vert-001.html]
expected: FAIL
expected: TIMEOUT

View file

@ -1,2 +0,0 @@
[flexbox-min-width-auto-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flexbox-min-width-auto-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flexbox-min-width-auto-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flexbox_flex-0-0-0-unitless.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flexbox_flex-0-0-0.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flexbox_flex-0-0.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flexbox_flex-0-1-0-unitless.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flexbox_flex-0-1-0.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flexbox_flex-0-1.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flexbox_flex-0-N-0-unitless.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flexbox_flex-0-N-0.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[flexbox_flex-0-N.html]
expected: FAIL

View file

@ -1,4 +0,0 @@
[radiobutton-min-size.html]
[two radio button widths are identical]
expected: FAIL

View file

@ -1,3 +0,0 @@
[relayout-image-load.html]
[#test 1]
expected: FAIL

View file

@ -1,2 +0,0 @@
[table-as-item-stretch-cross-size-4.html]
expected: FAIL