Skip to content

Commit

Permalink
Don't allow column spanners inside transforms.
Browse files Browse the repository at this point in the history
A transform establishes a containing block for "everything", including
fixed-positioned descendants. Letting spanners escape this seems
strange, and it causes trouble for accessibility in our implementation.

See w3c/csswg-drafts#6805

Bug: 1267847, 1225860
Change-Id: Ibcf9af327824a4683d4b33935c3bc28abe61f998
  • Loading branch information
mstensho authored and chromium-wpt-export-bot committed Dec 2, 2021
1 parent 97baeb1 commit 1731efb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 46 deletions.
18 changes: 0 additions & 18 deletions css/css-multicol/multicol-span-all-017-ref.html

This file was deleted.

28 changes: 0 additions & 28 deletions css/css-multicol/multicol-span-all-017.html

This file was deleted.

10 changes: 10 additions & 0 deletions css/css-multicol/multicol-span-all-017.tentative.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/6805">
<meta name="assert" content="Test that column-span all inside a transform doesn't create a spanner">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="columns:2; column-fill:auto; column-gap:0; width:100px; height:100px; background:red;">
<div style="transform:scale(1);">
<div style="column-span:all; width:50px; height:200px; background:green;"></div>
</div>
</div>

0 comments on commit 1731efb

Please sign in to comment.
  NODES
3d 1
Community 1
Note 1
OOP 2
os 6
text 1
Users 1
web 3