Closed Bug 1495875 Opened 6 years ago Closed 6 years ago

Fix wpt test multicol-span-none-001-ref.xht

Categories

(Core :: Layout: Columns, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

Details

Attachments

(1 file)

According to the spec [1], 

  Except for cases where this would cause a column break, content that extends outside column boxes visibly overflows and is not clipped to the column box.

Also, the multi-column container doesn't have any overflow property, so the long <h4> [2] should not be clipped at all. Yet the reference <img> [3] seems to assign the wrong width to test that <h4> should be clipped at column box.

[1] https://drafts.csswg.org/css-multicol-1/#overflow
[2] https://searchfox.org/mozilla-central/rev/6ddb5fb144993fb5de044e2e8d900d7643b98a4d/testing/web-platform/tests/css/css-multicol/multicol-span-none-001.xht#55
[3] https://searchfox.org/mozilla-central/rev/6ddb5fb144993fb5de044e2e8d900d7643b98a4d/testing/web-platform/tests/css/css-multicol/multicol-span-none-001-ref.xht#44
<h4>'s in the test file (multicol-span-none-001-ref.xht) should not be
clipped according to the spec [1]. Fix the width of the reference black
<img>.

260 = 20 (a chararcter's width) * 13

[1] https://drafts.csswg.org/css-multicol-1/#overflow
Attachment #9013831 - Attachment description: Bug 1495875 - Fix width of black <img> in multicol-span-none-001-ref.xht → Bug 1495875 - Fix width of black <img> in multicol-span-none-001-ref.xht.
Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/427b3c0f8add
Fix width of black <img> in multicol-span-none-001-ref.xht. r=dbaron
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/13326 for changes under testing/web-platform/tests
https://hg.mozilla.org/mozilla-central/rev/427b3c0f8add
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: