[css-masking] High-level comments

Mask element can't be used in layers. Are they still affected by the
mask-position/mask-repeat/etc. properties? If so, why can't they be
layered? If not, they shouldn't be part of mask-image, but rather
something else, e.g. mask-element.


I'm having trouble understanding how the various properties/elements/
definitions relate, so I have a suggestion based on my somewhat
incomplete understanding of what's going on:

   1. Flatten the definition of <mask-image> so there's less
      cross-referencing between mask-box-image and mask-image.

   2. Change the title of "Mask" to "Layered Masks" and
      "Mask Box Image" to "Box-Image Masks" (for parallellism).

   3. Give mask elements and the ways of referencing them their
      own section, as this seems to be essentially a third feature.


On a possibly related topic, what's the difference between mask-type
and mask-source-type, and why are they two separate properties?


I'm pondering if 'mask: none' should reset all the mask-* properties.
I think this would be a good idea, if it can be worked out.


~fantasai

Received on Tuesday, 2 April 2013 02:17:44 UTC