W3C home > Mailing lists > Public > public-fx@w3.org > April to June 2013

[css-masking] Minor comments on Mask Rendering Model

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 01 Apr 2013 18:07:36 -0700
Message-ID: <515A2F58.5010106@inkedblade.net>
To: "public-fx@w3.org" <public-fx@w3.org>

   # The application of the ‘clip-path’, ‘mask’ or ‘mask-image’ properties
   # to an element formatted with the CSS box model establishes a stacking
   # context in the same way that CSS ‘opacity’ does

Append a reference to CSS3 Color here.

   # The ‘mask’ and ‘mask-image’ properties have no effect on the geometry
   # of any element's CSS boxes.

This seems to imply that 'clip-path' does have an effect on their geometry.
Is that true?

Also 'mask-box-image' isn't mentioned in this section. Should it be?

This section is a little messy thematically. I would group the sentence
about hit-testing with the one about geometry, and the one about
compositing with the one about stacking contexts.

5.1 Layering Multiple Mask Images

This should probably be part of 6, Mask, not up in this section, which seems
to be general to all the features in the spec.

# The first layer is the layer closest to the user, the next one is painted
# behind the first, and so on.

Does the ordering actually make a difference for masks? If not, maybe
this paragraph isn't needed.

5.2. Calculating mask values

The title is rather cryptic to me, who doesn't study graphics operations.
Maybe "Mask Interpretation"? It should mention the 'mask-source-type'
and 'mask-type' properties and how they affect this interpretation.

I would put a <dl> in here, and define "alpha mask" and "luminance mask"
or somesuch, partly to create a referenceable definition but mostly
because that will help make this section easier to grok.

Received on Tuesday, 2 April 2013 01:08:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:45 UTC