mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 768351 - "ABORT: Passed bad frame" with mask pointing at data: URL. r=roc.
This commit is contained in:
parent
ea82649c0d
commit
b6ea746ee7
@ -305,7 +305,7 @@ nsSVGPaintingProperty::DoUpdate()
|
||||
if (!mFrame)
|
||||
return;
|
||||
|
||||
if (mFrame->IsFrameOfType(nsIFrame::eSVG)) {
|
||||
if ((mFrame->GetStateBits() & NS_FRAME_SVG_LAYOUT)) {
|
||||
nsSVGUtils::InvalidateBounds(mFrame);
|
||||
} else {
|
||||
InvalidateAllContinuations(mFrame);
|
||||
|
2
layout/svg/crashtests/768351.svg
Normal file
2
layout/svg/crashtests/768351.svg
Normal file
@ -0,0 +1,2 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="mask: url('data:text/plain,1#f');" />
|
||||
|
After Width: | Height: | Size: 86 B |
@ -130,3 +130,5 @@ load 740627-1.svg
|
||||
load 740627-2.svg
|
||||
load 757704-1.svg
|
||||
load 757718-1.svg
|
||||
load 768351.svg
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user