зеркало из https://github.com/mozilla/gecko-dev.git
Bug 397596 and bug 492978. Add tests.
--HG-- extra : rebase_source : 64fbe0958089e676690eb89e5f68e903972043f2
This commit is contained in:
Родитель
027c341525
Коммит
2237f423ac
|
@ -0,0 +1,29 @@
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<title>Testcase bug - 100% cpu usage with binding setting position: fixed in constructor</title>
|
||||||
|
|
||||||
|
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||||
|
<binding id="b" inheritstyle="false">
|
||||||
|
<content>
|
||||||
|
<div xmlns="http://www.w3.org/1999/xhtml" style=" -moz-binding: url(#a);"/>
|
||||||
|
<children/>
|
||||||
|
</content>
|
||||||
|
</binding>
|
||||||
|
|
||||||
|
<binding id="a">
|
||||||
|
<implementation>
|
||||||
|
<constructor>
|
||||||
|
this.style.position='fixed';
|
||||||
|
</constructor>
|
||||||
|
</implementation>
|
||||||
|
<content>
|
||||||
|
<children xmlns="http://www.mozilla.org/xbl"/>
|
||||||
|
</content>
|
||||||
|
</binding>
|
||||||
|
</bindings>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<span style="-moz-binding:url();"></span>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,15 @@
|
||||||
|
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
|
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||||
|
<binding id="a" inheritstyle="false">
|
||||||
|
<content>
|
||||||
|
<style xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
window::after, box::after, bindings::after { content:"m"; float:right;}
|
||||||
|
</style>
|
||||||
|
</content>
|
||||||
|
</binding>
|
||||||
|
</bindings>
|
||||||
|
|
||||||
|
<box style="-moz-binding:url(crash1.xul);overflow: scroll;"/>
|
||||||
|
|
||||||
|
</window>
|
|
@ -13,6 +13,7 @@ load 368641-1.xhtml
|
||||||
load 378521-1.xhtml
|
load 378521-1.xhtml
|
||||||
load 382376-1.xhtml
|
load 382376-1.xhtml
|
||||||
load 382376-2.xhtml
|
load 382376-2.xhtml
|
||||||
|
load 397596-1.xhtml
|
||||||
load 404125-1.xhtml
|
load 404125-1.xhtml
|
||||||
load 406900-1.xul
|
load 406900-1.xul
|
||||||
load 406904-1.xhtml
|
load 406904-1.xhtml
|
||||||
|
@ -25,3 +26,4 @@ load 432813-1.xhtml
|
||||||
load 460665-1.xhtml
|
load 460665-1.xhtml
|
||||||
load 464863-1.xhtml
|
load 464863-1.xhtml
|
||||||
load 472260-1.xhtml
|
load 472260-1.xhtml
|
||||||
|
load 492978-1.xul
|
||||||
|
|
Загрузка…
Ссылка в новой задаче