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).
David Baron :dbaron: 🏴 ⌚UTC-8 (if account gets disabled due to email bounces, ask a bugzilla admin to reenable it)(Reporter)
12 years ago
You need to log in before you can comment on or make changes to this bug.