Skip to content

Commit

Permalink
Add absolute positioning margin test
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed Jan 8, 2023
1 parent e9568cf commit fad8919
Show file tree
Hide file tree
Showing 5 changed files with 107 additions and 0 deletions.
36 changes: 36 additions & 0 deletions benches/generated/absolute_margin_bottom_left.rs

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

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

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

17 changes: 17 additions & 0 deletions test_fixtures/absolute_margin_bottom_left.html
@@ -0,0 +1,17 @@
<!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="width: 100px; height: 100px; justify-content: flex-end; flex-direction: column;">
<div style="position: absolute;height: 10px; width: 10px;margin-bottom: 10px;margin-left: 10px"></div>
</div>

</body>
</html>
51 changes: 51 additions & 0 deletions tests/generated/absolute_margin_bottom_left.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/mod.rs

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

0 comments on commit fad8919

Please sign in to comment.