зеркало из https://github.com/mozilla/gecko-dev.git
Bug 460665. Whack another XBL sink mole. r+sr=sicking
This commit is contained in:
Родитель
41c5ae0633
Коммит
1259dea14a
|
@ -0,0 +1,28 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
|
||||
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||
<binding id="a">
|
||||
<content></content>
|
||||
<implementation>
|
||||
<field>t</field>
|
||||
<field/>
|
||||
<property/>
|
||||
<property>
|
||||
<getter>x</getter>
|
||||
<setter>y</setter>
|
||||
</property>
|
||||
<method/>
|
||||
<method>
|
||||
<body/>
|
||||
</method>
|
||||
<method>
|
||||
<body>a</body>
|
||||
</method>
|
||||
</implementation>
|
||||
</binding>
|
||||
</bindings>
|
||||
</head>
|
||||
|
||||
<body><span id="s" style="-moz-binding: url('#a');"></span></body>
|
||||
</html>
|
|
@ -14,3 +14,4 @@ load 418133-1.xhtml
|
|||
load 415192-1.xul
|
||||
load 421997-1.xhtml
|
||||
load 432813-1.xhtml
|
||||
load 460665-1.xhtml
|
||||
|
|
|
@ -159,7 +159,8 @@ nsXBLContentSink::FlushText(PRBool aReleaseTextNode)
|
|||
}
|
||||
else if (mSecondaryState == eXBL_InField) {
|
||||
// Get the text and add it to the method
|
||||
mField->AppendFieldText(text);
|
||||
if (mField)
|
||||
mField->AppendFieldText(text);
|
||||
}
|
||||
mTextLength = 0;
|
||||
return NS_OK;
|
||||
|
|
Загрузка…
Ссылка в новой задаче