Skip to content

Commit

Permalink
Test cases for bevyengine/bevy#8017 and Taffy DioxusLabs#387
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed Mar 10, 2023
1 parent c2f99bf commit b09bfd9
Show file tree
Hide file tree
Showing 5 changed files with 261 additions and 0 deletions.
24 changes: 24 additions & 0 deletions test_fixtures/bevy_issue_8017.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!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>
Bevy #8017
</title>
</head>
<body>

<div id="test-root" style="display: flex; flex-direction: column; gap: 8px;width: 400px;height:400px;padding: 8px;">
<div style="display: flex; gap: 8px; width: 100%; height: 50%;">
<div style="width: 100%; height: 100%;"></div>
<div style="width: 100%; height: 100%;"></div>
</div>
<div style="display: flex; gap: 8px; width: 100%; height: 50%;">
<div style="width: 100%; height: 100%;"></div>
<div style="width: 100%; height: 100%;"></div>
</div>
</div>

</body>
</html>
22 changes: 22 additions & 0 deletions test_fixtures/bevy_issue_8017_reduced.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!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>
Bevy #8017
</title>
</head>
<body>

<div id="test-root" style="flex-direction: column;width: 200px;height:400px;gap: 8px;">
<div style="height: 50%;">
<div></div>
</div>
<div style="height: 50%;">
<div></div>
</div>
</div>

</body>
</html>
140 changes: 140 additions & 0 deletions tests/generated/bevy_issue_8017.rs

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

73 changes: 73 additions & 0 deletions tests/generated/bevy_issue_8017_reduced.rs

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

2 changes: 2 additions & 0 deletions tests/generated/mod.rs

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

0 comments on commit b09bfd9

Please sign in to comment.