mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
Bug 1456235 [wpt PR 10586] - Allow column-width:0., a=testonly
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
This commit is contained in:
parent
ed26040abc
commit
50fdb2c2f7
@ -121871,6 +121871,18 @@
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-multicol/zero-column-width-layout.html": [
|
||||
[
|
||||
"/css/css-multicol/zero-column-width-layout.html",
|
||||
[
|
||||
[
|
||||
"/css/reference/ref-filled-green-100px-square-only.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-namespaces/prefix-001.xml": [
|
||||
[
|
||||
"/css/css-namespaces/prefix-001.xml",
|
||||
@ -316016,6 +316028,12 @@
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-multicol/zero-column-width-computed-style.html": [
|
||||
[
|
||||
"/css/css-multicol/zero-column-width-computed-style.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-overflow/logical-overflow-001.html": [
|
||||
[
|
||||
"/css/css-overflow/logical-overflow-001.html",
|
||||
@ -508673,6 +508691,14 @@
|
||||
"078e1dd6dd61d36cec239ed75d02051f61fe60a5",
|
||||
"support"
|
||||
],
|
||||
"css/css-multicol/zero-column-width-computed-style.html": [
|
||||
"4128e1f5451a0e68d9a51eb23a7e8c3f409cbd80",
|
||||
"testharness"
|
||||
],
|
||||
"css/css-multicol/zero-column-width-layout.html": [
|
||||
"15842618bf084ccc9aa5025ffd28ec978017f140",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-namespaces/OWNERS": [
|
||||
"2800c1b3fc3e3cc24ed318c374dd3ad0c312234a",
|
||||
"support"
|
||||
|
@ -0,0 +1,14 @@
|
||||
<!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>
|
@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<title>column-width:0</title>
|
||||
<meta name="assert" content="column-width:0 is valid as specified and computed value, but its used value may never be less than 1px">
|
||||
<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">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
|
||||
<p>Test passes if there is a filled green square.</p>
|
||||
<div style="float:left; width:50px; height:100px; column-width:0; column-gap:0;">
|
||||
<div style="height:5000px; background:green;"></div>
|
||||
</div>
|
||||
<div style="float:left; width:50px; height:100px; columns:0; column-gap:0;">
|
||||
<div style="height:5000px; background:green;"></div>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user