mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 04:27:41 +00:00
Bug 768351 - "ABORT: Passed bad frame" with mask pointing at data: URL. r=roc.
--HG-- extra : rebase_source : ec2c0dd2b216a818cbe4c9526e198afb18f08c13
This commit is contained in:
parent
d995281e36
commit
26dfd38f11
@ -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…
x
Reference in New Issue
Block a user