Commit 9e22b2c7 authored by Miyoung Shin's avatar Miyoung Shin Committed by Commit Bot

[css-flexbox] Move negative-flex-rounding-assert.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
negative-flex-rounding-crash.html.

Bug: 1063749
Change-Id: Ia5e1488b0f7681ffebf726300977e406cf58dcb3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2142877Reviewed-by: default avatarDavid Grogan <dgrogan@chromium.org>
Reviewed-by: default avatarRobert Ma <robertma@chromium.org>
Commit-Queue: Miyoung Shin <myid.shin@igalia.com>
Cr-Commit-Position: refs/heads/master@{#758490}
parent e9ca13de
<!DOCTYPE html> <!DOCTYPE html>
<html> <title>CSS Flexbox: Crash caused by rounding error in flex-shrink</title>
<link rel="author" title="Tony Chang" href="mailto:tony@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#resolve-flexible-lengths">
<link rel="issue" href="https://bugs.webkit.org/show_bug.cgi?id=97606">
<meta name="assert" content="Check that crash doesn't happen in flex-shrink due to floating point precision errors.">
<style> <style>
.math { .math {
display: inline-flex; display: inline-flex;
...@@ -24,11 +29,6 @@ ...@@ -24,11 +29,6 @@
line-height: 12px; line-height: 12px;
} }
</style> </style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<p>This test passes if it does not crash.</p>
<div class=math> <div class=math>
<div class=mfrac> <div class=mfrac>
<div class=mfrac> <div class=mfrac>
...@@ -44,4 +44,3 @@ if (window.testRunner) ...@@ -44,4 +44,3 @@ if (window.testRunner)
</div> </div>
</div> </div>
</div> </div>
</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