Skip to content

Commit

Permalink
Bug 1629626 [wpt PR 22905] - [css-grid] Migrate column-property-shoul…
Browse files Browse the repository at this point in the history
…d-not-apply-on-grid-container.html to WPT, a=testonly

Automatic update from web-platform-tests
[css-grid] Migrate column-property-should-not-apply-on-grid-container.html to WPT

This CL moves column-property-should-not-apply-on-grid-container.html
from fast/css-grid-layout/ to external/wpt/css/css-grid/grid-model/.
It also adds links and references to the related spec, and expected behavior.
Last, it removes the uses of -webkit-column-* and -moz-column-* in favor of
their respective column-* counterparts.

Relevant spec change: w3c/csswg-drafts#1364
([css-multicol-1][css-flexbox-1][css-grid-1] Clarify that column-*
properties only apply to block containers).

BUG=767015, 1063749
[email protected]

Change-Id: I1a5b27a863be4f7b10ffda4e65ed52050dbf0f39
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144720
Commit-Queue: Antonio Gomes <[email protected]>
Reviewed-by: Javier Fernandez <[email protected]>
Reviewed-by: Manuel Rego <[email protected]>
Cr-Commit-Position: refs/heads/master@{#758841}

--

wpt-commits: 79e877ce6627712af06265aaf0d1fd2c2d0ef7f1
wpt-pr: 22905
  • Loading branch information
tonikitoo authored and moz-wptsync-bot committed Apr 21, 2020
1 parent d29a102 commit 1f92409
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html>
<title>CSS Grid: column-* properties are ignored.</title>
<link rel="author" title="Sunil Ratnu" href="mailto:[email protected]">
<link rel="help" href="https://drafts.csswg.org/css-grid-1/#grid-model">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/1364">
<link rel="match" href="reference/column-property-should-not-apply-on-grid-container-001-ref.html">
<meta name="assert" content="This test ensures the column-* properties (in the Multicol module) have no effect on a grid container."/>
<link href="/css/support/grid.css" rel="stylesheet"/>
<style>
.grid, .inline-grid
{
width: 20em;
column-count: 2;
column-gap: 100px;
font-kerning: none;
}
</style>

<body>

<div class='grid'>
AAAAAAAAAA BBBBBBBBBB CCCCCCCCCC DDDDDDDDDD
</div>

<div class='inline-grid'>
AAAAAAAAAA BBBBBBBBBB CCCCCCCCCC DDDDDDDDDD
</div>

</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<link href="/css/support/grid.css" rel="stylesheet">
<style>
.grid, .inline-grid
{
width: 20em;
font-kerning: none;
}
</style>

<body>

<div class='grid'>
AAAAAAAAAA BBBBBBBBBB CCCCCCCCCC DDDDDDDDDD
</div>

<div class='inline-grid'>
AAAAAAAAAA BBBBBBBBBB CCCCCCCCCC DDDDDDDDDD
</div>

</body>
</html>

0 comments on commit 1f92409

Please sign in to comment.