[ShadowContainer] Cache issue on CornerRadius #782
Labels
control/shadows
kind/enhancement
New feature or request.
triage/untriaged
Indicates an issue requires triaging or verification.
What would you like to be added:
When running the tests for the ShadowsContainer.
We use the a
Border (Width="200", Height="200"),
Rectangle (Width="200", Height="200") and
Border (Width="200", Height="200", CornerRadius="0,200,0,200"),
When the test is performed with the corner radius parameters in the border. Shadows assumes the element's corner radius.
However, when we go back to the border element without the corner radius, it is being cut to the shape of the one with the corner radius.
This is causing the test that has the same parameters to fail during execution.
When using 9 and -9.
When using 10 and -10
The situation only happens when we run the tests at once. Individually tests pass.
Why is this needed:
It could be a problem when creating the test, but it could be a problem with the cornerRadius cache.
For which Platform:
Anything else we need to know?
The text was updated successfully, but these errors were encountered: