Commit a236d77b authored by Antonio Gomes's avatar Antonio Gomes Committed by Commit Bot

[css-grid] Migrate grid-gutters-and-tracks.html to WPT

BUG=767015, 1063749
R=rego@igalia.com

Change-Id: I407fbd42550a4e7b99676cbf509164a147cc4804
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153731Reviewed-by: default avatarManuel Rego <rego@igalia.com>
Commit-Queue: Antonio Gomes <tonikitoo@igalia.com>
Cr-Commit-Position: refs/heads/master@{#760173}
parent 5ab04295
<!DOCTYPE html> <!DOCTYPE html>
<link href="resources/grid.css" rel="stylesheet"> <title>CSS Grid: grid gutters and tracks.</title>
<link href="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel=stylesheet> <link rel="author" title="Sergio Villar" href="mailto:svillar@igalia.com"/>
<script src="../../resources/check-layout.js"></script> <link rel="help" href="https://drafts.csswg.org/css-grid-1/#gutters"/>
<script src="../../resources/js-test.js"></script> <meta name="assert" content="Check that gutters contribute to the size of the grid containers and spanning items, and do not alter grid items positioning, margin computation and track sizing."/>
<link rel="stylesheet" href="/css/support/grid.css"/>
<link rel="stylesheet" href="/css/support/width-keyword-classes.css"/>
<link rel="stylesheet" href="/fonts/ahem.css" type="text/css"/>
<style> <style>
body { margin: 0px; } body { margin: 0px; }
...@@ -42,7 +45,14 @@ div.grid > div { font: 10px/1 Ahem; } ...@@ -42,7 +45,14 @@ div.grid > div { font: 10px/1 Ahem; }
</style> </style>
<body onload="checkLayout('.grid')"> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script type="text/javascript">
setup({ explicit_done: true });
</script>
<body onload="document.fonts.ready.then(() => { checkLayout('.grid'); })">
<!-- Check that gutters contribute to the size of the grid containers. --> <!-- Check that gutters contribute to the size of the grid containers. -->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment