gecko-dev/testing/web-platform/tests/css/css-grid/grid-items/whitespace-in-grid-item-001-ref.html
Abhijeet Kandalkar c61ea42094 Bug 1629550 [wpt PR 22892] - [css-grid] Migrate whitespace-in-grid-item.html test to WPT, a=testonly
Automatic update from web-platform-tests
[css-grid] Migrate whitespace-in-grid-item.html test to WPT

Migrate this test out of t_p/blink/web_tests/fast/css-grid-layout and
into the WPT-specific directory, adding links to the relevant specs
and a test assertion describing its purpose.

Bug: 1063749, 767015
Change-Id: I45374678b3f35b7f41d99e94445a372d5e90d232
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2145529
Commit-Queue: Abhijeet Kandalkar <abhijeet@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#759272}

--

wpt-commits: a4eda5a1679ecb81fbce38bef242220f8e37fbb3
wpt-pr: 22892
2020-04-21 14:32:02 +00:00

17 lines
451 B
HTML

<!DOCTYPE html>
<html>
<link href="/css/support/grid.css" rel="stylesheet">
<style>
.item {
height: 100%;
width: 30px;
background: salmon;
}
</style>
<body>
<p>This test passes if it has the same output than the reference. As spec states that child text runs containing only white space should not rendered (just as if its text nodes were display:none).</p>
<div class="grid">
<div class="item"></div>
</div>
</body>
</html>