forked from DioxusLabs/taffy
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request DioxusLabs#372 from nicoburns/fix/border-floors-no…
…de-size Make padding/border size floor node size
- Loading branch information
Showing
36 changed files
with
1,140 additions
and
121 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
17 changes: 17 additions & 0 deletions
17
test_fixtures/absolute_padding_border_overrides_max_size.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,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"> | ||
<div style="position:absolute;max-width: 12px; max-height: 12px;padding:2px 4px 6px 8px;border-width: 1px 3px 5px 7px;border-style:solid;border-color:red"></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,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"> | ||
<div style="position:absolute;width: 12px; height: 12px;padding:2px 4px 6px 8px;border-width: 1px 3px 5px 7px;border-style:solid;border-color:red"></div> | ||
</div> | ||
|
||
</body> | ||
</html> |
17 changes: 17 additions & 0 deletions
17
test_fixtures/grid_padding_border_overrides_container_max_size.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,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="display: grid;max-width: 12px; max-height: 12px;padding:2px 4px 6px 8px;border-width: 1px 3px 5px 7px;border-style:solid;border-color:red"> | ||
<div></div> | ||
</div> | ||
|
||
</body> | ||
</html> |
17 changes: 17 additions & 0 deletions
17
test_fixtures/grid_padding_border_overrides_container_size.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,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="display: grid;width: 12px; height: 12px;padding:2px 4px 6px 8px;border-width: 1px 3px 5px 7px;border-style:solid;border-color:red solid red"> | ||
<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,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="display:grid"> | ||
<div style="max-width: 12px; max-height: 12px;padding:2px 4px 6px 8px;border-width: 1px 3px 5px 7px;border-style:solid;border-color:red"></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,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="display: grid"> | ||
<div style="min-width: 0px; min-height: 0px;padding:2px 4px 6px 8px;border-width: 1px 3px 5px 7px;border-style:solid;border-color:red"></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,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="display: grid"> | ||
<div style="width: 12px; height: 12px;padding:2px 4px 6px 8px;border-width: 1px 3px 5px 7px;border-style:solid;border-color:red"></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,15 @@ | ||
<!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="max-width: 12px; max-height: 12px;padding:2px 4px 6px 8px;border-width: 1px 3px 5px 7px;border-style:solid;border-color:red"></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,15 @@ | ||
<!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="min-width: 0px; min-height: 0px;padding:2px 4px 6px 8px;border-width: 1px 3px 5px 7px;border-style:solid;border-color:red"></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,15 @@ | ||
<!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: 12px; height: 12px;padding:2px 4px 6px 8px;border-width: 1px 3px 5px 7px;border-style:solid;border-color:red"></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,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"> | ||
<div style="max-width: 12px; max-height: 12px;padding:2px 4px 6px 8px;border-width: 1px 3px 5px 7px;border-style:solid;border-color:red"></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,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"> | ||
<div style="min-width: 0px; min-height: 0px;padding:2px 4px 6px 8px;border-width: 1px 3px 5px 7px;border-style:solid;border-color:red"></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,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"> | ||
<div style="width: 12px; height: 12px;padding:2px 4px 6px 8px;border-width: 1px 3px 5px 7px;border-style:solid;border-color:red"></div> | ||
</div> | ||
|
||
</body> | ||
</html> |
18 changes: 18 additions & 0 deletions
18
test_fixtures/padding_border_overrides_size_flex_basis_0.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"> | ||
<div style="flex-basis: 0;width: 12px; height: 12px;padding:2px 4px 6px 8px;border-width: 1px 3px 5px 7px;border-style:solid;border-color:red"></div> | ||
<div style="flex-basis: 0;width: 12px; height: 12px"></div> | ||
</div> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.