Modify box-shadow definition to allow a single argument version.
This way we can do `:box-shadow` none to reset shadow, defined in previos stylesheets.
This commit is contained in:
parent
0fcd24963f
commit
a7a4452f6a
|
@ -271,7 +271,7 @@ is used as a fallback."
|
|||
(:default (property)
|
||||
(make-property property (format NIL "~{~a~^ ~}" (mapcar #'resolve args)))))
|
||||
|
||||
(define-browser-property box-shadow (inset x y &optional blur spread color)
|
||||
(define-browser-property box-shadow (color &optional x y blur spread inset)
|
||||
(:default (property)
|
||||
(make-property property (format NIL "~a ~a ~a~@[ ~a~]~@[ ~a~]~@[ ~a~]"
|
||||
(resolve inset) (resolve x) (resolve y) (resolve blur) (resolve spread) (resolve color)))))
|
||||
(make-property property (format NIL "~a~@[ ~a~]~@[ ~a~]~@[ ~a~]~@[ ~a~]~@[ ~a~]"
|
||||
(resolve color) (resolve x) (resolve y) (resolve blur) (resolve spread) (resolve inset)))))
|
||||
|
|
Loading…
Reference in New Issue