mirror of
https://github.com/servo/servo.git
synced 2025-08-25 23:28:21 +01:00
Implement 'background-clip' property in CSS3 Background
This property determines the background painting area, which determines the area within which the background is painted. Spec: http://dev.w3.org/csswg/css-backgrounds-3/#background-clip Fixes #6066.
This commit is contained in:
parent
09f5648153
commit
a51d5de860
7 changed files with 116 additions and 5 deletions
|
@ -116,6 +116,7 @@ fn test_parse_stylesheet() {
|
|||
],
|
||||
declarations: PropertyDeclarationBlock {
|
||||
normal: Arc::new(vec![
|
||||
PropertyDeclaration::BackgroundClip(DeclaredValue::Initial),
|
||||
PropertyDeclaration::BackgroundOrigin(DeclaredValue::Initial),
|
||||
PropertyDeclaration::BackgroundSize(DeclaredValue::Initial),
|
||||
PropertyDeclaration::BackgroundImage(DeclaredValue::Initial),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue