Bug 1693685 [wpt PR 27690] - [css] Make frameset include border/padding in its intrinsic width, a=testonly

Automatic update from web-platform-tests
[css] Make frameset include border/padding in its intrinsic width

It tripped a DCHECK in flex.

Fixed: 1173843
Change-Id: I489cd30e54333e4b2c381e240324fd7145bcd406
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2705814
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#855824}

--

wpt-commits: 206391ea7af599d112b15a3d8c2dbb4c593f291f
wpt-pr: 27690
This commit is contained in:
David Grogan 2021-02-22 21:55:57 +00:00 коммит произвёл moz-wptsync-bot
Родитель 49386cd2d7
Коммит b28146fd9c
1 изменённых файлов: 17 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,17 @@
<!DOCTYPE html>
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
<link rel="help" href="https://crbug.com/1173843">
<meta name="assert" content="No crash when a flexbox lays out a frameset with a border in the main axis direction.">
<style>
frameset {
border-right: 50px solid red;
}
</style>
<div id='flex' style="display: flex"></div>
<script>
// I couldn't get the parser to accept a framset inside a div, so this uses
// JS instead.
flex.appendChild(document.createElement('frameset'));
</script>