Commit d53acfce authored by Mario Sanchez Prada's avatar Mario Sanchez Prada Committed by Commit Bot

[css-grid] Migrate positioned-grid-items-crash.html to WPT

Migrate this test out of 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: 767015, 1063749
Change-Id: Ibb7d0fd6d18ee498e878033b433684548a85ef17
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2146534
Commit-Queue: Mario Sanchez Prada <mario@igalia.com>
Reviewed-by: default avatarManuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#758507}
parent 8f1ed203
<!DOCTYPE html>
<html>
<title>CSS Grid Layout Test: Positioned grid items</title>
<link rel="author" title="Manuel Rego" href="mailto:rego@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-grid/#abspos" title="9. Absolute Positioning">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=402504">
<meta name="assert" content="Checks that positioned grid items (absolute or fixed) do not cause a crash."/>
<link rel="stylesheet" href="/css/support/grid.css">
<body>
<div class="grid">
<div style="position: absolute;"></div>
<div style="position: fixed;"></div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<link href="resources/grid.css" rel="stylesheet">
<head>
<script type="text/javascript">
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
<p>This test checks that positioned grid items (absolute or fixed) do not crash on debug.</p>
<div class="grid">
<div style="position: absolute;"></div>
<div style="position: fixed;"></div>
</div>
</body>
</html>
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