Skip to content

Commit

Permalink
[css-flexbox] Move negative-flex-rounding-assert.html to WPT
Browse files Browse the repository at this point in the history
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/+/2142877
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@{#758490}
  • Loading branch information
MyidShin authored and Commit Bot committed Apr 13, 2020
1 parent e9ca13d commit 9e22b2c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<!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>
.math {
display: inline-flex;
Expand All @@ -24,11 +29,6 @@
line-height: 12px;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<p>This test passes if it does not crash.</p>
<div class=math>
<div class=mfrac>
<div class=mfrac>
Expand All @@ -44,4 +44,3 @@
</div>
</div>
</div>
</html>

0 comments on commit 9e22b2c

Please sign in to comment.