Commit f577a4e4 authored by Antonio Gomes's avatar Antonio Gomes Committed by Commit Bot

[css-flexbox] Migrate content-height-with-scrollbars.html to WPT

Original patch: https://bugs.webkit.org/show_bug.cgi?id=92667

BUG=1063749
R=dgrogan@chromium.org, robertma@chromium.org

Change-Id: Ie6d3152184e6c944e0657df1b9ed5fd2364cfa2a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2120853
Commit-Queue: Antonio Gomes <tonikitoo@igalia.com>
Reviewed-by: default avatarDavid Grogan <dgrogan@chromium.org>
Reviewed-by: default avatarRobert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#753356}
parent 426641a8
<!DOCTYPE html>
<html>
<head>
<link href="resources/flexbox.css" rel="stylesheet">
<title>Ensure flexbox content-size excludes scrollbar.</title>
<link href="support/flexbox.css" rel="stylesheet">
<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/">
<link rel="help" href="https://www.w3.org/TR/css-overflow-4/#classic-scrollbars">
<link rel="match" href="reference/content-height-with-scrollbars-ref.html">
<meta name="assert" content="This test ensures that content-size of a flexbox with scrollbars looks correct."/>
<style>
.flexbox {
height: 100px;
......@@ -9,7 +13,6 @@
}
.flexbox > div {
flex: none;
flex: none;
}
.flexbox > :nth-child(1) {
background-color: lightgreen;
......@@ -18,7 +21,6 @@
background-color: lightblue;
}
</style>
</head>
<body>
<p>This tests that when setting the height of a flex item to a percentage
height, we use the content height with scrollbars. The content should not be
......
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