Commit 2a639e51 authored by David Grogan's avatar David Grogan Committed by Commit Bot

[css-grid] Test for % max-height of image grid items

This is a test only, no behavior change.

Fixed: 750631
Change-Id: Ia51278bd0a1420d9821b52716b2ace238c6ad7f6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2434744Reviewed-by: default avatarManuel Rego <rego@igalia.com>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#812291}
parent d393792a
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Grid Layout Test: % max height of grid items</title>
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-grid/#grid-item-sizing">
<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="% max-height of replaced grid items is respected">
<p>Test passes if there is a filled green square.</p>
<div style="display: grid; grid-template-rows: 200px;">
<img src="support/200x200-green.png" style="max-height: 50%;">
</div>
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