зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1757396 - Prevent SVG geometry with markers from being active. r=gfx-reviewers,lsalzman
We don't currently check whether the geometry has markers, nor do we try to render them properly with WebRender display items. This is caught by the reftest paint-order-001.svg when active SVG images and rects are enabled. Differential Revision: https://phabricator.services.mozilla.com/D140808
This commit is contained in:
Родитель
c8e4dbde8c
Коммит
fe3175568a
|
@ -819,6 +819,13 @@ bool SVGGeometryFrame::CreateWebRenderCommands(
|
|||
return false;
|
||||
}
|
||||
|
||||
SVGMarkerFrame* markerFrames[SVGMark::eTypeCount];
|
||||
if (element->IsMarkable() &&
|
||||
SVGObserverUtils::GetAndObserveMarkers(this, &markerFrames)) {
|
||||
// Markers aren't suppported yet.
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!aDryRun) {
|
||||
auto rect = simplePath.AsRect();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче