Open Bug 376073 Opened 17 years ago Updated 2 years ago

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

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

People

(Reporter: dbaron, Unassigned)

References

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?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.