style: Ignore border-image-source when overriding document colors.

Differential Revision: https://phabricator.services.mozilla.com/D10017
This commit is contained in:
Sean Voisen 2018-10-29 10:38:50 +00:00 committed by Emilio Cobos Álvarez
parent a3fcfb6435
commit 62aaf865aa
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 4 additions and 2 deletions

View file

@ -1289,10 +1289,11 @@ impl StrongRuleNode {
}
// If author colors are not allowed, only claim to have author-specified
// rules if we're looking at a non-color property or if we're looking at
// the background color and it's set to transparent.
// rules if we're looking at a non-color property, a border image, or if
// we're looking at the background color and it's set to transparent.
const IGNORED_WHEN_COLORS_DISABLED: &'static [LonghandId] = &[
LonghandId::BackgroundImage,
LonghandId::BorderImageSource,
LonghandId::BorderTopColor,
LonghandId::BorderRightColor,
LonghandId::BorderBottomColor,