fixed text-decorations some more
git-svn-id: svn://10.0.0.236/trunk@14179 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1005,8 +1005,8 @@ void MapDeclarationInto(nsICSSDeclaration* aDeclaration,
|
||||
// text-decoration: none, enum (bit field), inherit
|
||||
if (eCSSUnit_Enumerated == ourText->mDecoration.GetUnit()) {
|
||||
PRInt32 td = ourText->mDecoration.GetIntValue();
|
||||
font->mFont.decorations |= td;
|
||||
font->mFixedFont.decorations |= td;
|
||||
font->mFont.decorations = (parentFont->mFont.decorations | td);
|
||||
font->mFixedFont.decorations = (parentFont->mFixedFont.decorations | td);
|
||||
text->mTextDecoration = td;
|
||||
}
|
||||
else if (eCSSUnit_None == ourText->mDecoration.GetUnit()) {
|
||||
|
||||
Reference in New Issue
Block a user