about summary refs log tree commit diff stats
path: root/test/layout/non-growing-flex-item-indefinite-intrinsic-size.html
Commit message (Collapse)AuthorAgeFilesLines
* layout: fix initial flex item width calculationbptato2024-11-081-0/+11
Before, the initial layout of a flex item would have inherited the parent's sizing constraint. This almost worked, except when a descendant of a flex item with an unspecified width would resolve its percentage against this incorrectly inherited width - per standard, this must resolve to auto. Also, the shrink case was wrong, because it did not scale the unit to the respective widths; the standard mandates this as well. Hopefully I got it right this time. Finally, this fixes positioned inline container blocks not being set as the absolute container.