nsCSSDeclaration::ToString sometimes generates 'background' shorthand when it shouldn't

NEW
Unassigned

Status

()

12 years ago
12 years ago

People

(Reporter: dbaron, Unassigned)

Tracking

Trunk
Points:
---
Bug Flags:
in-testsuite ?

Firefox Tracking Flags

(Not tracked)

Details

nsCSSDeclaration::ToString will generate the 'background' shorthand when all the CSS2 properties set by the background shorthand are set; however, this isn't equivalent to what the background shorthand means for us, because it also sets -moz-background-clip, -moz-background-origin, and -moz-background-inline-policy.  TryBackgroundShorthand should check that those properties are initial (and, if so, prevent them from being output as well).
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.