Re: [css-masking] 'mask: none' clear all masking operations

On 06/25/2013 04:20 PM, Dirk Schulze wrote:
> If fantasai is on the call tomorrow, I would like to discuss mask/mask-box-image
> shorthand and if/how it is possible to reset all masking operations with mask: none.

You make a shorthand tree like this:

   mask
    +-- mask-layers
    |    +--mask-layer-image
    |    +--mask-layer-position
    |    +--mask-layer-repeat
    |    etc.
    +-- mask-box
         +--mask-box-source
         +--mask-box-slice
         +--mask-box-repeat
         etc.

Rename as appropriate.

Note: This is similar to how 'border' works.

   border
     +--border-various-things-that-draw-borders
     |    +--border-left-style
     |    etc.
     +--border-image
          +--border-image-source
          etc.

~fantasai

Received on Tuesday, 25 June 2013 23:33:55 UTC