[LayoutNG] max-width specified by % is ignored for shrink-to-fit box |
||||
Issue description1. Enable LayoutNG 2. Open https://github.com/w3c/csswg-drafts/issues/1815 3. See "Labels" on the right side bar.
,
Sep 6
Only when 'max-width' has a percent-value.
,
Sep 6
Turned out that 'text-overflow: ellipsis' is not needed to reproduce the problem. It looks like ComputeInlineSizeForFragment does not take max-width into account for kFitContent? Not sure why 'max-width: 200px' works but 'max-width: 100%' doesn't. Christian, do you have idea how to fix this? Attached is the repro that doesn't need 'text-overflow'.
,
Sep 24
|
||||
►
Sign in to add a comment |
||||
Comment 1 by kojii@chromium.org
, Sep 613.8 KB
13.8 KB View Download