Repository navigation
[WASM & Skia] Fixed clipping issues - #3968
Conversation
dc0670c to
3611731
Compare
|
The build 19244 found UI Test snapshots differences: Details
|
|
The build 19244 found UI Test snapshots differences: Details
|
|
The build 19244 found UI Test snapshots differences: Details
|
|
The build 19244 found UI Test snapshots differences: Details
|
|
The build 19244 found UI Test snapshots differences: Details
|
| } | ||
|
|
||
| return Clip?.Rect; | ||
| return clip.Rect; |
There was a problem hiding this comment.
This is no longer returning the intersection with clippedFrame when Clip != null, is that intentional?
There was a problem hiding this comment.
Yep it's part of the fix.
…nst null-ref exceptions
…ngly typed ScreenshotInfo instead of a FileInfo.
3611731 to
b01882a
Compare
|
The build 19385 found UI Test snapshots differences: Details
|
|
The build 19388 found UI Test snapshots differences: Details
|
|
The build 19388 found UI Test snapshots differences: Details
|
|
The build 19388 found UI Test snapshots differences: Details
|
|
The build 19388 found UI Test snapshots differences: Details
|
|
The build 19388 found UI Test snapshots differences: Details
|
|
The build 19388 found UI Test snapshots differences: Details
|
|
|
||
| return sb.ToString(); | ||
|
|
||
| StringBuilder AppendView(UIElement innerView) |
There was a problem hiding this comment.
Codacy found an issue: Change return type to 'void'; not a single caller uses the returned value.
| DumpTree(); | ||
| } | ||
|
|
||
| private async void DumpTree() |
|
The build 19402 found UI Test snapshots differences: Details
|
|
The build 19402 found UI Test snapshots differences: Details
|
Fixes #652
Bugfix
Clipping were wrongly applied on both Skia & Wasm. On Wasm, the CSS
overflow: hiddenwere not only useless but were also creating problems. The native "clipping" feature is now uses in all cases.PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.