Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stylo: Don't serialize default position on -moz- prefixed linear grad…
…ient Normally, we should not serialize if the line direction points downwards. Unprefixed and -webkit- prefixed syntaxes use only Keyword enum for line direction and we check them already. But -moz- prefixed linear gradients can store position too. Therefore it's stored inside `LineDirection::MozPosition` and we should check that for consistency between other gradients.
- Loading branch information
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters