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

NEW
Unassigned

Status

()

Core
CSS Parsing and Computation
11 years ago
11 years ago

People

(Reporter: dbaron, Unassigned)

Tracking

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

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 years ago
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?
(Reporter)

Updated

11 years ago
Blocks: 373878
You need to log in before you can comment on or make changes to this bug.