W3C home > Mailing lists > Public > www-style@w3.org > June 2013

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 25 Jun 2013 16:33:24 -0700
Message-ID: <51CA28C4.5070409@inkedblade.net>
To: www-style@w3.org, w3c-css-wg <w3c-css-wg@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:12 UTC