Closed Bug 1758723 Opened 2 years ago Closed 2 years ago

[css-multicol] column-span:all should not become a spanner, when inside transform (or other elements which establish fixedpos containing block), per csswg resolution

Categories

(Core :: Layout: Columns, defect)

defect

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: mozilla-apprentice, Assigned: dshin)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

A resolution was made for csswg-drafts/#6805.

[css-multicol] Should column-span:all inside a transform really become a spanner?

  • RESOLVED: Accept proposal that elements which establish fixedpos containing block also block descendant spanners

Discussion.

Attached file testcase 1
Attachment #9267076 - Attachment description: non-refrerence-case for testcase 1 (should not match → non-refrerence-case for testcase 1 (should not match)

STR:
Compare attached testcase, non-reference case, and reference case.

ACTUAL RESULTS:
Testcase 1 matches the non-reference case.
Testcase 1 does not match the reference case.

EXPECTED RESULTS:
Testcase 1 should not match the non-reference case.
Testcase 1 should not the reference case.

Firefox Nightly v100 gives ACTUAL RESULTS.
Chrome dev-channel v100 gives EXPECTED RESULTS (i.e. it looks like they've already implemented this spec change, apparently in https://bugs.chromium.org/p/chromium/issues/detail?id=1267847 )

Note that there's an existing web-platform-test for this ( https://searchfox.org/mozilla-central/rev/eeeba8183d3268e0d563c2becf9f4adc21a37368/testing/web-platform/tests/css/css-multicol/multicol-span-all-017.tentative.html ) but it doesn't have a reference case specified, so it's inactive right now. I called the author/reviewer's attention to this in https://github.com/web-platform-tests/wpt/pull/31837#issuecomment-1063355494 and presumably that will be fixed soon.

(In reply to Daniel Holbert [:dholbert] from comment #6)

Note that there's an existing web-platform-test for this ( https://searchfox.org/mozilla-central/rev/eeeba8183d3268e0d563c2becf9f4adc21a37368/testing/web-platform/tests/css/css-multicol/multicol-span-all-017.tentative.html ) but it doesn't have a reference case specified, so it's inactive

update: this test was fixed (and .tentative dropped from its name).
It now lives here:
https://searchfox.org/mozilla-central/source/testing/web-platform/tests/css/css-multicol/multicol-span-all-017.html
https://wpt.fyi/results/css/css-multicol/multicol-span-all-017.html

Assignee: nobody → dshin
Status: NEW → ASSIGNED
Summary: [css-multicol] Should column-span:all inside a transform really become a spanner? → [css-multicol] column-span:all should not become a spanner, when inside transform (or other elements which establish fixedpos containing block), per csswg resolution
Pushed by dholbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e9c89f8c95dd
Suppress `column-span:all` for descendants of a containing block element for fixed-position descendants r=dholbert
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/33412 for changes under testing/web-platform/tests
Regressions: 1762093
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: