gecko-dev/testing/web-platform/tests/css/css-flexbox/position-relative-with-scrollable-with-abspos-crash.html
Miyoung Shin dacb5e15bc Bug 1628996 [wpt PR 22847] - [css-flexbox] Move relpos-with-scrollable-with-abspos-crash.html to WPT, a=testonly
Automatic update from web-platform-tests
[css-flexbox] Move relpos-with-scrollable-with-abspos-crash.html to WPT

This CL migrates this test out of
third_party/blink/web_tests/css3/flexbox and into the WPT-specific
directory, adding links to the relevant specs and a test assertion
describing its purpose, and renames it to
position-relative-with-scrollable-with-abspos-crash.html.

Bug: 1063749
Change-Id: I138ff2b27b90fbbdbf84c2292c469b757a9350cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2145416
Reviewed-by: David Grogan <dgrogan@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Commit-Queue: Miyoung Shin <myid.shin@igalia.com>
Cr-Commit-Position: refs/heads/master@{#758683}

--

wpt-commits: e4b96f9bac086348612b7725750871e7f543012c
wpt-pr: 22847
2020-04-21 14:31:31 +00:00

18 lines
839 B
HTML

<!DOCTYPE html>
<title>CSS Flexbox: Crash for flex box with relpos with scrollable with abspos</title>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@opera.com">
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#flex-container">
<link rel="help" href="https://drafts.csswg.org/css-overflow-3/#scrollable-overflow">
<link rel="issue" href="https://crbug.com/498969">
<meta name="assert" content="Check that crash doesn't happen in flex box with descendents that include relpos, overflow:auto scrollbars, and abspos.">
<div style="display:flex;">
<div>
<div style="position:relative; width:5em;">
<div style="overflow:auto;">
<div>xxxxxxxxxxxxxxxxxxxxxx</div>
<div style="position:absolute;"></div>
</div>
</div>
</div>
</div>