mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 15:26:07 +00:00
Bug 1475003, don't notify DOM of SMIL changes, r=peterv
This commit is contained in:
parent
a7ab4f7b12
commit
cb4f7fda48
21
layout/style/crashtests/1475003.html
Normal file
21
layout/style/crashtests/1475003.html
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<html class="reftest-wait">
|
||||||
|
<head>
|
||||||
|
<script>
|
||||||
|
function go() {
|
||||||
|
window.requestAnimationFrame(eh);
|
||||||
|
}
|
||||||
|
function eh() {
|
||||||
|
a.appendChild(b);
|
||||||
|
d.innerHTML = c.outerHTML;
|
||||||
|
document.documentElement.removeAttribute("class");
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body onload=go()>
|
||||||
|
<audio id="a" onerror="eh()" src="x"></audio>
|
||||||
|
<data id="b">
|
||||||
|
<li id="c">
|
||||||
|
<svg>
|
||||||
|
<set attributeName="overflow" to="hidden"/>
|
||||||
|
<li id="d">
|
||||||
|
</html>
|
@ -290,3 +290,4 @@ load 1457288.html
|
|||||||
load 1457985.html
|
load 1457985.html
|
||||||
pref(dom.webcomponents.shadowdom.enabled,true) load 1468640.html
|
pref(dom.webcomponents.shadowdom.enabled,true) load 1468640.html
|
||||||
load 1469076.html
|
load 1469076.html
|
||||||
|
load 1475003.html
|
||||||
|
@ -61,10 +61,12 @@ public:
|
|||||||
GetPropertyChangeClosure(DeclarationBlockMutationClosure* aClosure,
|
GetPropertyChangeClosure(DeclarationBlockMutationClosure* aClosure,
|
||||||
mozilla::MutationClosureData* aClosureData) final
|
mozilla::MutationClosureData* aClosureData) final
|
||||||
{
|
{
|
||||||
aClosure->function = MutationClosureFunction;
|
if (!mIsSMILOverride) {
|
||||||
aClosure->data = aClosureData;
|
aClosure->function = MutationClosureFunction;
|
||||||
aClosureData->mClosure = MutationClosureFunction;
|
aClosure->data = aClosureData;
|
||||||
aClosureData->mElement = mElement;
|
aClosureData->mClosure = MutationClosureFunction;
|
||||||
|
aClosureData->mElement = mElement;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user