зеркало из https://github.com/mozilla/gecko-dev.git
<button> should be a containing block. Bug 180301, r=jkeiser, sr=dbaron
This commit is contained in:
Родитель
9b34083660
Коммит
c6541482b9
|
@ -621,6 +621,14 @@ nsHTMLButtonControlFrame::Reflow(nsIPresContext* aPresContext,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLButtonControlFrame::IsPercentageBase(PRBool& aBase) const
|
||||
{
|
||||
aBase = PR_TRUE;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
PRIntn
|
||||
nsHTMLButtonControlFrame::GetSkipSides() const
|
||||
{
|
||||
|
|
|
@ -87,6 +87,8 @@ public:
|
|||
const nsHTMLReflowState& aReflowState,
|
||||
nsReflowStatus& aStatus);
|
||||
|
||||
NS_IMETHOD IsPercentageBase(PRBool& aBase) const;
|
||||
|
||||
NS_IMETHOD HandleEvent(nsIPresContext* aPresContext,
|
||||
nsGUIEvent* aEvent,
|
||||
nsEventStatus* aEventStatus);
|
||||
|
|
|
@ -621,6 +621,14 @@ nsHTMLButtonControlFrame::Reflow(nsIPresContext* aPresContext,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLButtonControlFrame::IsPercentageBase(PRBool& aBase) const
|
||||
{
|
||||
aBase = PR_TRUE;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
PRIntn
|
||||
nsHTMLButtonControlFrame::GetSkipSides() const
|
||||
{
|
||||
|
|
|
@ -87,6 +87,8 @@ public:
|
|||
const nsHTMLReflowState& aReflowState,
|
||||
nsReflowStatus& aStatus);
|
||||
|
||||
NS_IMETHOD IsPercentageBase(PRBool& aBase) const;
|
||||
|
||||
NS_IMETHOD HandleEvent(nsIPresContext* aPresContext,
|
||||
nsGUIEvent* aEvent,
|
||||
nsEventStatus* aEventStatus);
|
||||
|
|
Загрузка…
Ссылка в новой задаче