We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome is up to date Version 102.0.5005.63 (Official Build) (64-bit)
A test that shows these kinds of inconsistencies is the min_height test.
assert_eq!(sprawl.layout(node).unwrap().size.width, 100f32); assert_eq!(sprawl.layout(node).unwrap().size.height, 100f32); assert_eq!(sprawl.layout(node).unwrap().location.x, 0f32); assert_eq!(sprawl.layout(node).unwrap().location.y, 0f32);
Clearly the root is 100x100 and at 0x0, this checks out.
assert_eq!(sprawl.layout(node0).unwrap().size.width, 100f32); assert_eq!(sprawl.layout(node0).unwrap().size.height, 80f32); assert_eq!(sprawl.layout(node0).unwrap().location.x, 0f32); assert_eq!(sprawl.layout(node0).unwrap().location.y, 0f32);
This is.. odd? Sprawl is giving the wrong value here, since the test passes, when compared to what Chrome returns.
Originally posted by @NickAcPT in DioxusLabs/taffy#46 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Software used
A test that shows these kinds of inconsistencies is the min_height test.
Comparison of results in min_height
Root element
Clearly the root is 100x100 and at 0x0, this checks out.
Root's first child (node 0)
This is.. odd? Sprawl is giving the wrong value here, since the test passes, when compared to what Chrome returns.
Please someone help, I've spent 3 hours yesterday trying to debug this issue.
Originally posted by @NickAcPT in DioxusLabs/taffy#46 (comment)
The text was updated successfully, but these errors were encountered: