mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1126140 - Remove duplicated selector lists in StyleRule::List output. r=dbaron
This commit is contained in:
parent
b7db4eb02d
commit
46b3c7ae9c
@ -1480,14 +1480,15 @@ StyleRule::List(FILE* out, int32_t aIndent) const
|
||||
str.AppendLiteral(" ");
|
||||
}
|
||||
|
||||
nsAutoString buffer;
|
||||
if (mSelector) {
|
||||
nsAutoString buffer;
|
||||
mSelector->ToString(buffer, GetStyleSheet());
|
||||
AppendUTF16toUTF8(buffer, str);
|
||||
str.Append(' ');
|
||||
}
|
||||
|
||||
if (nullptr != mDeclaration) {
|
||||
nsAutoString buffer;
|
||||
str.AppendLiteral("{ ");
|
||||
mDeclaration->ToString(buffer);
|
||||
AppendUTF16toUTF8(buffer, str);
|
||||
|
Loading…
Reference in New Issue
Block a user