mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
canvas: pop many clips on restore (#38496)
When restoring context/state we need to pop all clips from current state, before we just poped one (even if there was none). Testing: Added new WPT tests --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
c055e8b456
commit
c0cc8484f8
9 changed files with 161 additions and 11 deletions
|
@ -483,7 +483,7 @@ pub enum Canvas2dMsg {
|
|||
),
|
||||
ClearRect(Rect<f32>, Transform2D<f32>),
|
||||
ClipPath(Path, FillRule, Transform2D<f32>),
|
||||
PopClip,
|
||||
PopClips(usize),
|
||||
FillPath(
|
||||
FillOrStrokeStyle,
|
||||
Path,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue