mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 00:50:40 +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
|
||||
pref(dom.webcomponents.shadowdom.enabled,true) load 1468640.html
|
||||
load 1469076.html
|
||||
load 1475003.html
|
||||
|
@ -61,10 +61,12 @@ public:
|
||||
GetPropertyChangeClosure(DeclarationBlockMutationClosure* aClosure,
|
||||
mozilla::MutationClosureData* aClosureData) final
|
||||
{
|
||||
aClosure->function = MutationClosureFunction;
|
||||
aClosure->data = aClosureData;
|
||||
aClosureData->mClosure = MutationClosureFunction;
|
||||
aClosureData->mElement = mElement;
|
||||
if (!mIsSMILOverride) {
|
||||
aClosure->function = MutationClosureFunction;
|
||||
aClosure->data = aClosureData;
|
||||
aClosureData->mClosure = MutationClosureFunction;
|
||||
aClosureData->mElement = mElement;
|
||||
}
|
||||
}
|
||||
|
||||
protected:
|
||||
|
Loading…
Reference in New Issue
Block a user