diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2015-11-30 18:14:56 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2015-11-30 18:14:56 +0530 |
commit | 78a298bdba64829947d9ef106d65ccd2e9ce6ed5 (patch) | |
tree | 613a534cce47e348811e3e4d7056724aa52db8da /tests/wpt/css-tests/css-grid-1_dev/xhtml1/grid-minimum-size-grid-items-005.xht | |
parent | 0f7204936394fe104431f01c68ffa17829426cba (diff) | |
parent | 3bbee99cdb3bbcc322aedc5579c866deb8769188 (diff) | |
download | servo-78a298bdba64829947d9ef106d65ccd2e9ce6ed5.tar.gz servo-78a298bdba64829947d9ef106d65ccd2e9ce6ed5.zip |
Auto merge of #8748 - Ms2ger:update-tests, r=Ms2ger
Update tests.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8748)
<!-- Reviewable:end -->
Diffstat (limited to 'tests/wpt/css-tests/css-grid-1_dev/xhtml1/grid-minimum-size-grid-items-005.xht')
-rw-r--r-- | tests/wpt/css-tests/css-grid-1_dev/xhtml1/grid-minimum-size-grid-items-005.xht | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/wpt/css-tests/css-grid-1_dev/xhtml1/grid-minimum-size-grid-items-005.xht b/tests/wpt/css-tests/css-grid-1_dev/xhtml1/grid-minimum-size-grid-items-005.xht new file mode 100644 index 00000000000..c97286084e8 --- /dev/null +++ b/tests/wpt/css-tests/css-grid-1_dev/xhtml1/grid-minimum-size-grid-items-005.xht @@ -0,0 +1,34 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <title>CSS Grid Layout Test: Minimum size of grid items</title> + <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com" /> + <link rel="help" href="http://www.w3.org/TR/css-grid-1/#min-size-auto" title="4.4. Implied Minimum Size of Grid Items" /> + <link rel="match" href="reference/ref-filled-green-100px-square.xht" /> + <meta name="flags" content="image" /> + <meta name="assert" content="Checks that minimum size for grid items is the min-content size." /> + <style type="text/css"><![CDATA[ + #reference-overlapped-red { + position: absolute; + background-color: red; + width: 100px; + height: 100px; + z-index: -1; + } + + #constrained-grid { + display: grid; + grid: 10px / 10px; + } + ]]></style> + </head> + <body> + <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> + + <div id="reference-overlapped-red"></div> + <div id="constrained-grid"> + <img src="support/100x100-green.png" alt="Image download support must be enabled" /> + </div> + + </body> +</html>
\ No newline at end of file |