mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 13:48:23 +02:00
Automatic update from web-platform-testsAllow 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} -- wpt-commits: 3a2abb9733a257061505ee7b410c393cea194ee2 wpt-pr: 10586
14 lines
626 B
HTML
14 lines
626 B
HTML
<!DOCTYPE html>
|
|
<title>column-width:0</title>
|
|
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
|
|
<link rel="help" href="https://drafts.csswg.org/css-multicol/#cw" title="3.1. column-width">
|
|
<div id="longhand" style="column-width:0;"></div>
|
|
<div id="shorthand" style="columns:0;"></div>
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script>
|
|
test(() => {
|
|
assert_equals(getComputedStyle(longhand).columnWidth, "0px");
|
|
assert_equals(getComputedStyle(shorthand).columnWidth, "0px");
|
|
}, "column-width:0 is a valid CSS declaration");
|
|
</script>
|