https://github.com/web-platform-tests/wpt
Revision f4388a3ab1931b8f270378e3b0598c5d8538f3cb authored by Morten Stenshorne on 26 March 2018, 14:00:45 UTC, committed by Blink WPT Bot on 26 March 2018, 14:10:13 UTC
Edge and Firefox seem to let table flex items use the sizing algorithm
of the table extensively, and are therefore generally broken when it
comes to flexing tables. We, on the other hand, let the flex sizing
algorithm be in charge of sizing tables, so that flexing actually works.
However, this causes tables with a specified main size of less than the
minimum intrinsic logical width of the table to shrink below their
minimum intrinsic logical width, a situation that's generally unwanted
for tables.

Amend by ignoring the specified main size when resolving min-width:auto
on table items. Also ignore max-width/max-height. Just use the
preferred minimum logical width.

Bug: 821832
Change-Id: I78ca0c8e0041ea69bb606ff72d340bb3f5f9bb96
Reviewed-on: https://chromium-review.googlesource.com/964203
Reviewed-by: David Grogan <dgrogan@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#545777}
1 parent ff4fae1
History
Tip revision: f4388a3ab1931b8f270378e3b0598c5d8538f3cb authored by Morten Stenshorne on 26 March 2018, 14:00:45 UTC
[css-flexbox] Resolve min-width:auto on table item to min preferred size.
Tip revision: f4388a3
File Mode Size
OWNERS -rw-r--r-- 43 bytes
PrefixedLocalStorage.js -rw-r--r-- 4.2 KB
PrefixedLocalStorage.js.headers -rw-r--r-- 45 bytes
PrefixedPostMessage.js -rw-r--r-- 3.8 KB
PrefixedPostMessage.js.headers -rw-r--r-- 45 bytes
arrays.js -rw-r--r-- 405 bytes
blank.html -rw-r--r-- 0 bytes
canvas-frame.css -rw-r--r-- 222 bytes
canvas-frame.css.headers -rw-r--r-- 38 bytes
canvas-index.css -rw-r--r-- 334 bytes
canvas-index.css.headers -rw-r--r-- 38 bytes
canvas-spec.css -rw-r--r-- 682 bytes
canvas-spec.css.headers -rw-r--r-- 38 bytes
canvas-tests.css -rw-r--r-- 1.8 KB
canvas-tests.css.headers -rw-r--r-- 38 bytes
canvas-tests.js -rw-r--r-- 3.3 KB
canvas-tests.js.headers -rw-r--r-- 45 bytes
css-paint-tests.js.headers -rw-r--r-- 45 bytes
css-red.txt -rw-r--r-- 21 bytes
domain-setter.sub.html -rw-r--r-- 184 bytes
dummy.xhtml -rw-r--r-- 86 bytes
dummy.xml -rw-r--r-- 30 bytes
entities.json -rw-r--r-- 142.5 KB
form-submission.py -rw-r--r-- 414 bytes
get-host-info.sub.js -rw-r--r-- 1.5 KB
get-host-info.sub.js.headers -rw-r--r-- 45 bytes
large.py -rw-r--r-- 1.3 KB
media.js -rw-r--r-- 974 bytes
media.js.headers -rw-r--r-- 45 bytes
namespaces.js -rw-r--r-- 104 bytes
object-association.js -rw-r--r-- 2.3 KB
object-association.js.headers -rw-r--r-- 45 bytes
performance-timeline-utils.js -rw-r--r-- 1.7 KB
performance-timeline-utils.js.headers -rw-r--r-- 45 bytes
redirect-opt-in.py -rw-r--r-- 595 bytes
redirect.py -rw-r--r-- 542 bytes
reftest-wait.js -rw-r--r-- 209 bytes
reftest-wait.js.headers -rw-r--r-- 45 bytes
stringifiers.js -rw-r--r-- 1.4 KB
stringifiers.js.headers -rw-r--r-- 45 bytes
test-setting-immutable-prototype.js -rw-r--r-- 2.3 KB
test-setting-immutable-prototype.js.headers -rw-r--r-- 45 bytes
text-plain.txt -rw-r--r-- 70 bytes
utils.js -rw-r--r-- 1.9 KB
utils.js.headers -rw-r--r-- 45 bytes
worklet-reftest.js -rw-r--r-- 760 bytes

back to top