Skip to content

Commit

Permalink
Add test for gap when the first child is position:absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed Sep 29, 2023
1 parent 91f8e0f commit b130d19
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 0 deletions.
20 changes: 20 additions & 0 deletions test_fixtures/flex/gap_column_gap_start_index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!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="flex-direction: row; flex-wrap: wrap; width: 80px; column-gap: 10px; row-gap: 20px;">
<div style="width: 20px; height: 20px; position: absolute;"></div>
<div style="width: 20px; height: 20px;"></div>
<div style="width: 20px; height: 20px;"></div>
<div style="width: 20px; height: 20px;"></div>
</div>

</body>
</html>
86 changes: 86 additions & 0 deletions tests/generated/flex/gap_column_gap_start_index.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tests/generated/flex/mod.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b130d19

Please sign in to comment.