The column-width spec https://drafts.csswg.org/css-multicol/#cw recently changed https://github.com/w3c/csswg-drafts/commit/af289cec3ca5be66d92f28c0b4b0a11228f3d1e5 in response to issue https://github.com/w3c/csswg-drafts/issues/1741 We should accept any non-negative length as a specified and computed value, including 0. When column-width is used, we should clamp to a minimum of 1px.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/3f388f1c518e5d3d1fac91a9a31203b165625c48 commit 3f388f1c518e5d3d1fac91a9a31203b165625c48 Author: Morten Stenshorne <mstensho@chromium.org> Date: Mon Apr 23 18:49:24 2018 Allow column-width:0. The spec recently changed from disallowing this to allowing it. Removed a test that expected it to be disallowed, and wrote new tests for the new expected behavior. Bug: 832085 Change-Id: Id6fa0a311fe3f50414c68658d807b99e92acc226 Reviewed-on: https://chromium-review.googlesource.com/1023409 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#552770} [add] https://crrev.com/3f388f1c518e5d3d1fac91a9a31203b165625c48/third_party/WebKit/LayoutTests/external/wpt/css/css-multicol/zero-column-width-computed-style.html [add] https://crrev.com/3f388f1c518e5d3d1fac91a9a31203b165625c48/third_party/WebKit/LayoutTests/external/wpt/css/css-multicol/zero-column-width-layout.html [delete] https://crrev.com/a5af34fb92573caea6a3d00d45069517711d81b9/third_party/WebKit/LayoutTests/fast/multicol/column-width-zero-expected.txt [delete] https://crrev.com/a5af34fb92573caea6a3d00d45069517711d81b9/third_party/WebKit/LayoutTests/fast/multicol/column-width-zero.html [modify] https://crrev.com/3f388f1c518e5d3d1fac91a9a31203b165625c48/third_party/blink/renderer/core/css/properties/css_parsing_utils.cc
Comment 1 by e...@chromium.org
, Apr 18 2018Status: Assigned (was: Untriaged)