mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Ignore border-image-source when overriding document colors.
Differential Revision: https://phabricator.services.mozilla.com/D10017
This commit is contained in:
parent
a3fcfb6435
commit
62aaf865aa
2 changed files with 4 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue