зеркало из https://github.com/mozilla/pjs.git
Bug 488249 build bustage fix.
This commit is contained in:
Родитель
ac5c73f4b2
Коммит
3a33685ef7
|
@ -3672,7 +3672,7 @@ nsCSSFrameConstructor::FindHTMLData(nsIContent* aContent,
|
|||
aParentFrame->GetStyleContext()->GetPseudoType() !=
|
||||
nsCSSAnonBoxes::fieldsetContent) ||
|
||||
!aContent->GetParent() ||
|
||||
!aContent->GetParent()->IsNodeOfType(nsINode::eHTML) ||
|
||||
!aContent->GetParent()->IsHTML() ||
|
||||
aContent->GetParent()->Tag() != nsGkAtoms::fieldset ||
|
||||
aStyleContext->GetStyleDisplay()->IsFloating() ||
|
||||
aStyleContext->GetStyleDisplay()->IsAbsolutelyPositioned())) {
|
||||
|
|
|
@ -169,7 +169,7 @@ void nsMenuBarX::ConstructNativeMenus()
|
|||
nsIContent *menuContent = mContent->GetChildAt(i);
|
||||
if (menuContent &&
|
||||
menuContent->Tag() == nsWidgetAtoms::menu &&
|
||||
menuContent->IsNodeOfType(nsINode::eXUL)) {
|
||||
menuContent->IsXUL()) {
|
||||
nsMenuX* newMenu = new nsMenuX();
|
||||
if (newMenu) {
|
||||
nsresult rv = newMenu->Create(this, this, menuContent);
|
||||
|
|
|
@ -1692,8 +1692,7 @@ nsNativeThemeCocoa::DrawWidgetBackground(nsIRenderingContext* aContext, nsIFrame
|
|||
// XUL textboxes set the native appearance on the containing box, while
|
||||
// concrete focus is set on the html:input element within it. We can
|
||||
// though, check the focused attribute of xul textboxes in this case.
|
||||
if (aFrame->GetContent()->IsNodeOfType(nsINode::eXUL) &&
|
||||
IsFocused(aFrame)) {
|
||||
if (aFrame->GetContent()->IsXUL() && IsFocused(aFrame)) {
|
||||
eventState |= NS_EVENT_STATE_FOCUS;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче