mirror of
https://github.com/servo/servo.git
synced 2025-08-14 18:05:36 +01:00
layout: support tiled gradients
Use background-size, background-position properties to render CSS gradients. Some cleanup in display_list_builder.rs related to gradient calculations. Adds two wpt tests for tiled gradients. Note: For now even gradients with background-repeat: no-repeat are repeated. Sometimes the gradient is not repeated everywhere. Enable vars-background-shorthand-001.html CSS test.
This commit is contained in:
parent
80341b291b
commit
9502e9f42a
9 changed files with 353 additions and 164 deletions
|
@ -112809,6 +112809,30 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-images/tiled-gradients.html": [
|
||||
[
|
||||
"/css/css-images/tiled-gradients.html",
|
||||
[
|
||||
[
|
||||
"/css/css-images/tiled-gradients-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-images/tiled-radial-gradients.html": [
|
||||
[
|
||||
"/css/css-images/tiled-radial-gradients.html",
|
||||
[
|
||||
[
|
||||
"/css/css-images/tiled-radial-gradients-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-logical/cascading-001.html": [
|
||||
[
|
||||
"/css/css-logical/cascading-001.html",
|
||||
|
@ -239776,6 +239800,16 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-images/tiled-gradients-ref.html": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-images/tiled-radial-gradients-ref.html": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-lists/OWNERS": [
|
||||
[
|
||||
{}
|
||||
|
@ -481858,6 +481892,22 @@
|
|||
"078e1dd6dd61d36cec239ed75d02051f61fe60a5",
|
||||
"support"
|
||||
],
|
||||
"css/css-images/tiled-gradients-ref.html": [
|
||||
"47f9512fa5139fd9cdd66f0d191e8f71ad04317a",
|
||||
"support"
|
||||
],
|
||||
"css/css-images/tiled-gradients.html": [
|
||||
"fcc12e47fba2a938fca012e90fcfc6aa1877185e",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-images/tiled-radial-gradients-ref.html": [
|
||||
"9033e28e4607cbcee67e37d97c2611a8ce5f19c4",
|
||||
"support"
|
||||
],
|
||||
"css/css-images/tiled-radial-gradients.html": [
|
||||
"4b4b4756c2f605ab4dca092775cc39b0705efda9",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-lists/OWNERS": [
|
||||
"d9c8054b356c9273a054a83abeb9be0626c23921",
|
||||
"support"
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[vars-background-shorthand-001.html]
|
||||
type: reftest
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue