mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
afbbfcc910
This assertion was added by review comment of bug 1487945. Since mutation event handler of this test case hides resizer, this case hits this assertion. Although 4th parameter of SetAttr can control mutation event, if this event isn't fired, another test case (layout/base/tests/test_bug558663.html) becomes failure. So we should move the assertion before setting resizer attribute. Differential Revision: https://phabricator.services.mozilla.com/D1854 --HG-- extra : moz-landing-system : lando
17 lines
375 B
HTML
17 lines
375 B
HTML
<style>
|
|
* { position: absolute; }
|
|
</style>
|
|
<script>
|
|
function jsfuzzer() {
|
|
del1.addEventListener("DOMSubtreeModified", () => {
|
|
document.execCommand("italic", false);
|
|
document.execCommand("selectAll", false);
|
|
});
|
|
a1.replaceChild(iframe1, a1.childNodes[0]);
|
|
}
|
|
</script>
|
|
<body onload=jsfuzzer()>
|
|
<a contenteditable="" id="a1">
|
|
<del id="del1">
|
|
<iframe id="iframe1">
|