зеркало из https://github.com/mozilla/pjs.git
set default attribute style hint to content
This commit is contained in:
Родитель
562c9d5756
Коммит
4783a22e3c
|
@ -2589,7 +2589,7 @@ RDFElementImpl::GetInlineStyleRule(nsIStyleRule*& aResult)
|
|||
NS_IMETHODIMP
|
||||
RDFElementImpl::GetStyleHintForAttributeChange(const nsIAtom* aAttribute, PRInt32 *aHint) const
|
||||
{
|
||||
*aHint = NS_STYLE_HINT_UNKNOWN;
|
||||
*aHint = NS_STYLE_HINT_CONTENT;
|
||||
if (mNameSpaceID == kNameSpaceID_XUL)
|
||||
{
|
||||
// We are a XUL tag and need to specify a style hint.
|
||||
|
|
|
@ -2589,7 +2589,7 @@ RDFElementImpl::GetInlineStyleRule(nsIStyleRule*& aResult)
|
|||
NS_IMETHODIMP
|
||||
RDFElementImpl::GetStyleHintForAttributeChange(const nsIAtom* aAttribute, PRInt32 *aHint) const
|
||||
{
|
||||
*aHint = NS_STYLE_HINT_UNKNOWN;
|
||||
*aHint = NS_STYLE_HINT_CONTENT;
|
||||
if (mNameSpaceID == kNameSpaceID_XUL)
|
||||
{
|
||||
// We are a XUL tag and need to specify a style hint.
|
||||
|
|
|
@ -2589,7 +2589,7 @@ RDFElementImpl::GetInlineStyleRule(nsIStyleRule*& aResult)
|
|||
NS_IMETHODIMP
|
||||
RDFElementImpl::GetStyleHintForAttributeChange(const nsIAtom* aAttribute, PRInt32 *aHint) const
|
||||
{
|
||||
*aHint = NS_STYLE_HINT_UNKNOWN;
|
||||
*aHint = NS_STYLE_HINT_CONTENT;
|
||||
if (mNameSpaceID == kNameSpaceID_XUL)
|
||||
{
|
||||
// We are a XUL tag and need to specify a style hint.
|
||||
|
|
Загрузка…
Ссылка в новой задаче