# HG changeset patch # User Dirk Schulze # Date 1362878302 28800 # Node ID fd09b94a3a4dcf051b5ce1a049a23b9deab209cc # Parent 35f523801990685556dc43ef873c39986cd0126d Incorporate feedback from Björn Höhrmann diff -r 35f523801990 -r fd09b94a3a4d masking/ChangeLog --- a/masking/ChangeLog Sat Mar 09 06:51:24 2013 -0800 +++ b/masking/ChangeLog Sat Mar 09 17:18:22 2013 -0800 @@ -1,3 +1,7 @@ +2013-03-10 Dirk Schulze + Incorporate feedback from Björn Höhrmann. + http://lists.w3.org/Archives/Public/www-style/2013Mar/0190.html + 2013-03-08 Dirk Schulze Introduce unclipped masks for 'mask' element. diff -r 35f523801990 -r fd09b94a3a4d masking/Masking.src.html --- a/masking/Masking.src.html Sat Mar 09 06:51:24 2013 -0800 +++ b/masking/Masking.src.html Sat Mar 09 17:18:22 2013 -0800 @@ -194,8 +194,7 @@

This specification follows the CSS property definition - conventions from [[!CSS21]]. Value types not defined in this specification are defined in CSS Level 2 Revision 1 - [[!CSS21]]. + conventions from [[!CSS21]]. Value types not defined in this specification are defined in CSS Values and Units Module Level 3 [[!CSS3VAL]].

@@ -430,7 +429,7 @@ '<url>'

- A URL reference to a 'mask element' element (for example ''url(commonmasks.xml#mask)'') or an <image>. + A URL reference to a 'mask element' element (for example ''url(commonmasks.svg#mask)'') or an <image>.
''child''
@@ -523,7 +522,7 @@ as specified Animatable: - yes except keyword values + no

The 'mask-source-type' property indicates whether the <mask-reference> @@ -678,7 +677,7 @@ otherwise as a percentage. Animatable: - yes + as repeatable list of simple list of length, percentage, or calc

Where @@ -884,7 +883,8 @@ as specified, but with lengths made absolute Animatable: - yes except keyword values + as repeatable list of simple list of length, percentage, or calc + (This means keyword values are not animatable.)

Specifies the size of the mask images. Where @@ -979,7 +979,7 @@ as specified Animatable: - yes except keyword values + no

The 'mask-type' property defines whether the content of the @@ -1473,7 +1473,7 @@ Animatable: - yes + See 'shape-inside' and 'shape-outside' [[!CSS3-EXCLUSIONS]] @@ -1541,7 +1541,7 @@ Animatable: - yes + no @@ -1625,7 +1625,7 @@ Animatable: - yes + as rectangle @@ -1873,11 +1873,6 @@

The SVGMaskElement interface corresponds to the 'mask element' element.

interface SVGMaskElement : SVGElement {
-
-  // Mask Types
-  const unsigned short SVG_MASKTYPE_LUMINANCE = 0;
-  const unsigned short SVG_MASKTYPE_ALPHA = 1;
-
   readonly attribute SVGAnimatedEnumeration maskUnits;
   readonly attribute SVGAnimatedEnumeration maskContentUnits;
   readonly attribute SVGAnimatedLength x;
@@ -1889,28 +1884,6 @@
 SVGMaskElement implements SVGUnitTypes;
-
Constants in group “Mask Types”:
-
-
- -
SVG_MASKTYPE_LUMINANCE (unsigned short)
-
-
-Corresponds to value 'luminance'. - - -
-
- -
SVG_MASKTYPE_ALPHA (unsigned short)
-
-
-Corresponds to value 'alpha'. - - -
-
-
Attributes:
@@ -1983,7 +1956,7 @@
[SVG2]
- Cameron McCormack; Scalable + Cameron McCormack; et al. Scalable Vector Graphics (SVG) 2. 28 August 2012. W3C Working Draft. (Work in progress.) URL: http://www.w3.org/TR/2012/WD-SVG2-20120828/
diff -r 35f523801990 -r fd09b94a3a4d masking/index.html --- a/masking/index.html Sat Mar 09 06:51:24 2013 -0800 +++ b/masking/index.html Sat Mar 09 17:18:22 2013 -0800 @@ -11,7 +11,7 @@ rel=dcterms.rights> - + @@ -34,14 +34,14 @@

CSS Masking

-

Editor's Draft 8 March 2013

+

Editor's Draft 10 March 2013

This version:
http://dvcs.w3.org/hg/FXTF/raw-file/default/masking/index.html - +
Latest version: @@ -408,8 +408,8 @@ href="http://www.w3.org/TR/CSS21/about.html#property-defs">CSS property definition conventions from [CSS21]. Value types not defined in - this specification are defined in CSS Level 2 Revision 1 [CSS21]. + this specification are defined in CSS Values and Units Module Level 3 [CSS3VAL].

In addition to the property-specific values listed in their definitions, all properties defined in this specification also accept the @@ -711,7 +711,7 @@

A URL reference to a mask element - (for example ‘url(commonmasks.xml#mask)’) or + (for example ‘url(commonmasks.svg#mask)’) or an <image>.
child’ @@ -860,7 +860,7 @@ Animatable: - yes except keyword values + no

The ‘ Animatable: - yes + as repeatable + list of simple + list of length, + percentage, or calc

Where @@ -1410,7 +1416,14 @@ Animatable: - yes except keyword values + as repeatable + list of simple + list of length, + percentage, or calc (This means keyword values are + not animatable.)

Specifies the size of the mask images. Where @@ -1563,7 +1576,7 @@ Animatable: - yes except keyword values + no

The ‘mask-type’ @@ -2675,7 +2688,12 @@ Animatable: - yes + See shape-inside and shape-outside [CSS3-EXCLUSIONS]

<clip-source> = 
      Animatable:
 
-     yes
+     no
   
 
   
@@ -2880,7 +2898,8 @@ Animatable: - yes + as rectangle

With this specification the ‘interface SVGMaskElement : SVGElement { - - // Mask Types - const unsigned short SVG_MASKTYPE_LUMINANCE = 0; - const unsigned short SVG_MASKTYPE_ALPHA = 1; - readonly attribute SVGAnimatedEnumeration maskUnits; @@ -3532,27 +3544,6 @@ href="http://www.w3.org/TR/2011/REC-SVG11-20110816/types.html#InterfaceSVGUnitTypes">SVGUnitTypes;

-
Constants in group “Mask Types”: - -
-
-
SVG_MASKTYPE_LUMINANCE (unsigned short) - -
-
Corresponds to value luminance.
- -
SVG_MASKTYPE_ALPHA (unsigned short) - -
-
Corresponds to value alpha.
-
-
Attributes:
@@ -3689,6 +3680,16 @@
+
[CSS3VAL] + +
Håkon Wium Lie; Tab Atkins; Elika J. Etemad. CSS + Values and Units Module Level 3. 28 August 2012. W3C Candidate + Recommendation. (Work in progress.) URL: http://www.w3.org/TR/2012/CR-css3-values-20120828/ +
+ +
[DOM]
Anne van Kesteren; et al.
[SVG2] -
Cameron McCormack; Cameron McCormack; et al. Scalable Vector Graphics (SVG) 2. 28 August 2012. W3C Working Draft. (Work in progress.) URL: