mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #11748 - emilio:stylo-background-xxx, r=mbrubeck
stylo: Support the rest of the background-xxx P1 properties. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Either: --> - [x] These changes do not require tests because geckolib-only changes <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> We do the same that with background-{image, repeat}, we just use the first element until servo can parse and use a list efficiently. cc/r? @mbrubeck @bholley @heycam <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11748) <!-- Reviewable:end -->
This commit is contained in:
commit
6d4b9e65e6
2 changed files with 71 additions and 14 deletions
|
@ -184,7 +184,7 @@ ${helpers.predefined_type(
|
|||
|
||||
${helpers.single_keyword("background-repeat", "repeat repeat-x repeat-y no-repeat")}
|
||||
|
||||
${helpers.single_keyword("background-attachment", "scroll fixed")}
|
||||
${helpers.single_keyword("background-attachment", "scroll fixed" + (" local" if product == "gecko" else ""))}
|
||||
|
||||
${helpers.single_keyword("background-clip", "border-box padding-box content-box")}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue