зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1560275 - Flush before trying to read style in SVGGeometryElement::IsPointInStroke r=dholbert,emilio
Differential Revision: https://phabricator.services.mozilla.com/D78721
This commit is contained in:
Родитель
ed90a04ad1
Коммит
abfdb3c37c
|
@ -193,6 +193,9 @@ bool SVGGeometryElement::IsPointInStroke(const DOMPointInit& aPoint) {
|
|||
if (!path) {
|
||||
return false;
|
||||
}
|
||||
if (nsCOMPtr<Document> doc = GetComposedDoc()) {
|
||||
doc->FlushPendingNotifications(FlushType::Style);
|
||||
}
|
||||
|
||||
bool res = false;
|
||||
SVGGeometryProperty::DoForComputedStyle(this, [&](const ComputedStyle* s) {
|
||||
|
|
|
@ -1,10 +1,4 @@
|
|||
[SVGGeometryElement.isPointInStroke-01.svg]
|
||||
disabled:
|
||||
if (os == "android") or (os == "win" and not debug): https://bugzilla.mozilla.org/show_bug.cgi?id=1560275
|
||||
[SVGGeometryElement.prototype.isPointInStroke, non-finite argument.]
|
||||
expected: FAIL
|
||||
|
||||
[SVGGeometryElement.prototype.isPointInStroke, 'vector-effect'.]
|
||||
expected:
|
||||
if webrender and not fission and (os == "win") and not debug: ["PASS", "FAIL"]
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче