-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix intrinsic size of scroll containers that have a small explicit fl…
…ex-basis (#728) * Add tests to for issue 696 * Flexbox: prevent content size from affecting intrinsic main size if an item is a scroll container * Format fixtures * Fix clippy lints
- Loading branch information
Showing
12 changed files
with
967 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
<div id="test-root" style="display: flex; flex-direction: column; width: 200px;"> | ||
<div style="display: flex; flex-direction: column; overflow: hidden; min-height: 100px; padding: 20px; flex-basis: 0px;"> | ||
<div style="display: flex; height: 200px; flex-shrink: 0;"></div> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
<div id="test-root" style="display: flex; flex-direction: column; width: 200px;"> | ||
<div style="display: flex; flex-direction: column; overflow: hidden; min-height: 100px; padding: 20px; flex-basis: 20px;"> | ||
<div style="display: flex; height: 200px; flex-shrink: 0;"></div> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
<div id="test-root" style="display: flex; flex-direction: column; width: 200px;"> | ||
<div style="display: flex; flex-direction: column; min-height: 100px; padding: 20px; flex-basis: 0px;"> | ||
<div style="display: flex; height: 200px; flex-shrink: 0;"></div> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
<div id="test-root" style="display: flex; flex-direction: column; width: 200px;"> | ||
<div style="display: flex; flex-direction: column; overflow: hidden; min-height: 100px; padding: 20px;"> | ||
<div style="display: flex; height: 200px; flex-shrink: 0;"></div> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script src="../../scripts/gentest/test_helper.js"></script> | ||
<link rel="stylesheet" type="text/css" href="../../scripts/gentest/test_base_style.css"> | ||
<title> | ||
Test description | ||
</title> | ||
</head> | ||
<body> | ||
<div id="test-root" style="display: flex; flex-direction: column; width: 200px;"> | ||
<div style="display: flex; flex-direction: column; overflow: hidden; padding: 20px; flex-basis: 0px;"> | ||
<div style="display: flex; height: 200px; flex-shrink: 0;"></div> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.