mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
fix case of props. r/sr=blake,ben
This commit is contained in:
parent
e1ef94ff29
commit
5e00a61992
@ -4460,14 +4460,14 @@ nsXULElement::SetFlex(const nsAReadableString& aAttr)
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::GetFlexgroup(nsAWritableString& aAttr)
|
||||
nsXULElement::GetFlexGroup(nsAWritableString& aAttr)
|
||||
{
|
||||
GetAttribute(NS_LITERAL_STRING("flexgroup"), aAttr);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::SetFlexgroup(const nsAReadableString& aAttr)
|
||||
nsXULElement::SetFlexGroup(const nsAReadableString& aAttr)
|
||||
{
|
||||
SetAttribute(NS_LITERAL_STRING("flexgroup"), aAttr);
|
||||
return NS_OK;
|
||||
@ -4558,7 +4558,7 @@ nsXULElement::SetCollapsed(PRBool aAttr)
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::GetAllowevents(PRBool* aResult)
|
||||
nsXULElement::GetAllowEvents(PRBool* aResult)
|
||||
{
|
||||
*aResult = PR_FALSE;
|
||||
nsAutoString val;
|
||||
@ -4569,7 +4569,7 @@ nsXULElement::GetAllowevents(PRBool* aResult)
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::SetAllowevents(PRBool aAttr)
|
||||
nsXULElement::SetAllowEvents(PRBool aAttr)
|
||||
{
|
||||
if (aAttr)
|
||||
SetAttribute(NS_LITERAL_STRING("allowevents"), NS_LITERAL_STRING("true"));
|
||||
@ -4607,14 +4607,14 @@ nsXULElement::SetMenu(const nsAReadableString& aAttr)
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::GetContextmenu(nsAWritableString& aAttr)
|
||||
nsXULElement::GetContextMenu(nsAWritableString& aAttr)
|
||||
{
|
||||
GetAttribute(NS_LITERAL_STRING("contextmenu"), aAttr);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::SetContextmenu(const nsAReadableString& aAttr)
|
||||
nsXULElement::SetContextMenu(const nsAReadableString& aAttr)
|
||||
{
|
||||
SetAttribute(NS_LITERAL_STRING("contextmenu"), aAttr);
|
||||
return NS_OK;
|
||||
@ -4663,96 +4663,89 @@ nsXULElement::SetHeight(const nsAReadableString& aAttr)
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::GetMinwidth(nsAWritableString& aAttr)
|
||||
nsXULElement::GetMinWidth(nsAWritableString& aAttr)
|
||||
{
|
||||
GetAttribute(NS_LITERAL_STRING("minwidth"), aAttr);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::SetMinwidth(const nsAReadableString& aAttr)
|
||||
nsXULElement::SetMinWidth(const nsAReadableString& aAttr)
|
||||
{
|
||||
SetAttribute(NS_LITERAL_STRING("minwidth"), aAttr);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::GetMinheight(nsAWritableString& aAttr)
|
||||
nsXULElement::GetMinHeight(nsAWritableString& aAttr)
|
||||
{
|
||||
GetAttribute(NS_LITERAL_STRING("minheight"), aAttr);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::SetMinheight(const nsAReadableString& aAttr)
|
||||
nsXULElement::SetMinHeight(const nsAReadableString& aAttr)
|
||||
{
|
||||
SetAttribute(NS_LITERAL_STRING("minheight"), aAttr);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::GetMaxwidth(nsAWritableString& aAttr)
|
||||
nsXULElement::GetMaxWidth(nsAWritableString& aAttr)
|
||||
{
|
||||
GetAttribute(NS_LITERAL_STRING("maxwidth"), aAttr);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::SetMaxwidth(const nsAReadableString& aAttr)
|
||||
nsXULElement::SetMaxWidth(const nsAReadableString& aAttr)
|
||||
{
|
||||
SetAttribute(NS_LITERAL_STRING("maxwidth"), aAttr);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::GetMaxheight(nsAWritableString& aAttr)
|
||||
nsXULElement::GetMaxHeight(nsAWritableString& aAttr)
|
||||
{
|
||||
GetAttribute(NS_LITERAL_STRING("maxheight"), aAttr);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::SetMaxheight(const nsAReadableString& aAttr)
|
||||
nsXULElement::SetMaxHeight(const nsAReadableString& aAttr)
|
||||
{
|
||||
SetAttribute(NS_LITERAL_STRING("maxheight"), aAttr);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::GetTooltiptext(nsAWritableString& aAttr)
|
||||
nsXULElement::GetTooltipText(nsAWritableString& aAttr)
|
||||
{
|
||||
GetAttribute(NS_LITERAL_STRING("tooltiptext"), aAttr);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::SetTooltiptext(const nsAReadableString& aAttr)
|
||||
nsXULElement::SetTooltipText(const nsAReadableString& aAttr)
|
||||
{
|
||||
SetAttribute(NS_LITERAL_STRING("tooltiptext"), aAttr);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::GetStatustext(nsAWritableString& aAttr)
|
||||
nsXULElement::GetStatusText(nsAWritableString& aAttr)
|
||||
{
|
||||
GetAttribute(NS_LITERAL_STRING("statustext"), aAttr);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXULElement::SetStatustext(const nsAReadableString& aAttr)
|
||||
nsXULElement::SetStatusText(const nsAReadableString& aAttr)
|
||||
{
|
||||
SetAttribute(NS_LITERAL_STRING("statustext"), aAttr);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
nsresult
|
||||
nsXULElement::GetStyle(nsIDOMCSSStyleDeclaration** aStyle)
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ interface nsIDOMXULElement : nsIDOMElement
|
||||
attribute DOMString align;
|
||||
attribute DOMString dir;
|
||||
attribute DOMString flex;
|
||||
attribute DOMString flexgroup;
|
||||
attribute DOMString flexGroup;
|
||||
attribute DOMString ordinal;
|
||||
attribute DOMString orient;
|
||||
attribute DOMString pack;
|
||||
@ -55,22 +55,22 @@ interface nsIDOMXULElement : nsIDOMElement
|
||||
|
||||
// Properties for hooking up to popups
|
||||
attribute DOMString menu;
|
||||
attribute DOMString contextmenu;
|
||||
attribute DOMString contextMenu;
|
||||
attribute DOMString tooltip;
|
||||
|
||||
// Width/height properties
|
||||
attribute DOMString width;
|
||||
attribute DOMString height;
|
||||
attribute DOMString minwidth;
|
||||
attribute DOMString minheight;
|
||||
attribute DOMString maxwidth;
|
||||
attribute DOMString maxheight;
|
||||
attribute DOMString minWidth;
|
||||
attribute DOMString minHeight;
|
||||
attribute DOMString maxWidth;
|
||||
attribute DOMString maxHeight;
|
||||
|
||||
// Tooltip and status info
|
||||
attribute DOMString tooltiptext;
|
||||
attribute DOMString statustext;
|
||||
attribute DOMString tooltipText;
|
||||
attribute DOMString statusText;
|
||||
|
||||
attribute boolean allowevents;
|
||||
attribute boolean allowEvents;
|
||||
|
||||
// XXX: This doesn't belong here, nsIDOMLinkStyle has this...
|
||||
readonly attribute nsIDOMCSSStyleDeclaration style;
|
||||
|
Loading…
Reference in New Issue
Block a user