-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not span column-span:all element across all columns if it's under …
…different block formatting context. multicol-span-all-004-ref.html is the same as multicol-span-all-004.html except for the "column-span" value in h3. Differential Revision: https://phabricator.services.mozilla.com/D12192 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1506163 gecko-commit: a5e00e5b4635a19e9fb4ed3566565504338384c6 gecko-integration-branch: mozilla-inbound gecko-reviewers: bz
- Loading branch information
1 parent
f02babe
commit 7af7f7f
Showing
2 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<meta charset="utf-8"> | ||
<title>CSS Multi-column Layout Test Reference: column-span:all should act like column-span:none in different block formatting context</title> | ||
<link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com"> | ||
<link rel="author" title="Mozilla" href="http://www.mozilla.org/"> | ||
|
||
<style> | ||
#column { | ||
column-count: 3; | ||
column-rule: 6px solid; | ||
width: 600px; | ||
outline: 1px solid black; | ||
} | ||
h3 { | ||
column-span: none; | ||
outline: 1px solid blue; | ||
} | ||
</style> | ||
|
||
<body onload="runTest();"> | ||
<article id="column"> | ||
<div>block1</div> | ||
<div style="display: inline-block;"> | ||
<h3>non-spanner</h3> | ||
</div> | ||
<div style="overflow: hidden;"> | ||
<h3>non-spanner</h3> | ||
</div> | ||
<div style="column-span: all; outline: 1px solid green;"> | ||
Spanner | ||
<h3>non-spanner in a spanner</h3> | ||
</div> | ||
<div>block2</div> | ||
</article> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<meta charset="utf-8"> | ||
<title>CSS Multi-column Layout Test: column-span:all should act like column-span:none in different block formatting context</title> | ||
<link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com"> | ||
<link rel="author" title="Mozilla" href="http://www.mozilla.org/"> | ||
<link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span"> | ||
<link rel="match" href="multicol-span-all-004-ref.html"> | ||
<meta name="assert" content="This test checks a column-span:all element should act like column-span: none if it's under different block formatting context."> | ||
|
||
<style> | ||
#column { | ||
column-count: 3; | ||
column-rule: 6px solid; | ||
width: 600px; | ||
outline: 1px solid black; | ||
} | ||
h3 { | ||
column-span: all; | ||
outline: 1px solid blue; | ||
} | ||
</style> | ||
|
||
<body onload="runTest();"> | ||
<article id="column"> | ||
<div>block1</div> | ||
<div style="display: inline-block;"> | ||
<h3>non-spanner</h3> | ||
</div> | ||
<div style="overflow: hidden;"> | ||
<h3>non-spanner</h3> | ||
</div> | ||
<div style="column-span: all; outline: 1px solid green;"> | ||
Spanner | ||
<h3>non-spanner in a spanner</h3> | ||
</div> | ||
<div>block2</div> | ||
</article> | ||
</body> | ||
</html> |