Skip to content

Commit a23e0e0

Browse files
committed
[css-shapes] Clarify that shape from image may produce more than one path
1 parent b7a97ed commit a23e0e0

2 files changed

Lines changed: 41 additions & 26 deletions

File tree

css-shapes/Overview.html

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
</p>
6464
<h1 class="p-name no-ref" id=title>CSS Shapes Module Level 1</h1>
6565
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
66-
<span class=dt-updated><span class=value-title title=20131127>27 November 2013</span></span></span></h2>
66+
<span class=dt-updated><span class=value-title title=20140102>2 January 2014</span></span></span></h2>
6767
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-shapes/>http://dev.w3.org/csswg/css-shapes/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css-shapes/>http://www.w3.org/TR/css-shapes/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css-shapes/>http://dev.w3.org/csswg/css-shapes/</a>
6868
<dt>Feedback:</dt>
6969
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-shapes%5D%20feedback">www-style@w3.org</a>
@@ -129,7 +129,8 @@ <h2 class="no-num no-toc no-ref heading settled heading" id=contents><span class
129129
The <span class=property data-link-type=propdesc title=shape-image-threshold>shape-image-threshold</span> Property</a><li><a href=#shape-margin-property><span class=secno>6.3</span>
130130
The <span class=property data-link-type=propdesc title=shape-margin>shape-margin</span> property</a></ul><li><a href=#acknowledgments><span class=secno></span>
131131
Acknowledgments</a><li><a href=#change-log><span class=secno></span>
132-
Change Log</a><ul class=toc><li><a href=#20130620><span class=secno></span>
132+
Change Log</a><ul class=toc><li><a href=#20131203><span class=secno></span>
133+
Since <span>December 3rd 2013</span></a><li><a href=#20130620><span class=secno></span>
133134
Since <span>June 20th 2013</span></a><li><a href=#20120503><span class=secno></span>
134135
Since <span>May 3rd 2012</span></a><li><a href=#20111213><span class=secno></span>
135136
Since <span>December 13th 2011</span></a></ul><li><a href=#conformance><span class=secno></span>
@@ -620,20 +621,20 @@ <h3 class="heading settled heading" data-level=3.2 id=basic-shape-interpolation>
620621
<h2 class="heading settled heading" data-level=4 id=shapes-from-image><span class=secno>4 </span><span class=content>
621622
Shapes from Image</span><a class=self-link href=#shapes-from-image></a></h2>
622623

623-
<p> Another way of defining shapes
624-
is by specifying a source <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-images-3/#image-type title="<image>">&lt;image&gt;</a>
625-
whose alpha channel is used
626-
to compute the shape.
627-
The shape is computed to be the path
628-
that encloses the area
629-
where the opacity of the specified image
630-
is greater than the <a class=property data-link-type=propdesc href=#propdef-shape-image-threshold title=shape-image-threshold>shape-image-threshold</a> value.
631-
If the <a class=property data-link-type=propdesc href=#propdef-shape-image-threshold title=shape-image-threshold>shape-image-threshold</a> is not specified,
624+
<p> Another way of defining shapes
625+
is by specifying a source <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-images-3/#image-type title="<image>">&lt;image&gt;</a>
626+
whose alpha channel is used
627+
to compute the shape.
628+
The shape is computed to be the path or paths
629+
that enclose the area(s)
630+
where the opacity of the specified image
631+
is greater than the <a class=property data-link-type=propdesc href=#propdef-shape-image-threshold title=shape-image-threshold>shape-image-threshold</a> value.
632+
If the <a class=property data-link-type=propdesc href=#propdef-shape-image-threshold title=shape-image-threshold>shape-image-threshold</a> is not specified,
632633
the initial value to be considered is 0.0.
633634

634-
<p> The image is sized and positioned
635-
as if it were a replaced element
636-
with a specified width and height
635+
<p> The image is sized and positioned
636+
as if it were a replaced element
637+
with a specified width and height
637638
of the element’s used content-box size.
638639

639640
<p> For animated raster image formats (such as
@@ -935,6 +936,7 @@ <h2 class="no-num heading settled heading" id=acknowledgments><span class=conten
935936
Alexandru Chiculita,
936937
Elika Etemad,
937938
Arron Eicholz,
939+
Sylvain Galineau,
938940
Daniel Glazman,
939941
Arno Gourdol,
940942
Zoltan Horvath,
@@ -955,6 +957,12 @@ <h2 class="no-num heading settled heading" id=acknowledgments><span class=conten
955957
<h2 class="no-num heading settled heading" id=change-log><span class=content>
956958
Change Log</span><a class=self-link href=#change-log></a></h2>
957959

960+
<h3 class="no-num heading settled heading" id=20131203><span class=content>
961+
Since <a href=http://www.w3.org/TR/2013/WD-css-shapes-1-20131203/>December 3rd 2013</a></span><a class=self-link href=#20131203></a></h3>
962+
<ul>
963+
<li>Clarify that shape from image may produce more than one path</li>
964+
</ul>
965+
958966
<h3 class="no-num heading settled heading" id=20130620><span class=content>
959967
Since <a href=http://www.w3.org/TR/2013/WD-css-shapes-1-20130620/>June 20th 2013</a></span><a class=self-link href=#20130620></a></h3>
960968
<ul>

css-shapes/Overview.src.html

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -502,20 +502,20 @@ <h3 id='basic-shape-interpolation'>
502502
<h2 id="shapes-from-image">
503503
Shapes from Image</h2>
504504

505-
Another way of defining shapes
506-
is by specifying a source <<image>>
507-
whose alpha channel is used
508-
to compute the shape.
509-
The shape is computed to be the path
510-
that encloses the area
511-
where the opacity of the specified image
512-
is greater than the 'shape-image-threshold' value.
513-
If the 'shape-image-threshold' is not specified,
505+
Another way of defining shapes
506+
is by specifying a source <<image>>
507+
whose alpha channel is used
508+
to compute the shape.
509+
The shape is computed to be the path or paths
510+
that enclose the area(s)
511+
where the opacity of the specified image
512+
is greater than the 'shape-image-threshold' value.
513+
If the 'shape-image-threshold' is not specified,
514514
the initial value to be considered is 0.0.
515515

516-
The image is sized and positioned
517-
as if it were a replaced element
518-
with a specified width and height
516+
The image is sized and positioned
517+
as if it were a replaced element
518+
with a specified width and height
519519
of the element's used content-box size.
520520

521521
For animated raster image formats (such as
@@ -856,6 +856,7 @@ <h2 class="no-num" id="acknowledgments">
856856
Alexandru Chiculita,
857857
Elika Etemad,
858858
Arron Eicholz,
859+
Sylvain Galineau,
859860
Daniel Glazman,
860861
Arno Gourdol,
861862
Zoltan Horvath,
@@ -876,6 +877,12 @@ <h2 class="no-num" id="acknowledgments">
876877
<h2 class="no-num" id="change-log">
877878
Change Log</h2>
878879

880+
<h3 class="no-num" id="20131203">
881+
Since <a href="http://www.w3.org/TR/2013/WD-css-shapes-1-20131203/">December 3rd 2013</a></h3>
882+
<ul>
883+
<li>Clarify that shape from image may produce more than one path</li>
884+
</ul>
885+
879886
<h3 class="no-num" id="20130620">
880887
Since <a href="http://www.w3.org/TR/2013/WD-css-shapes-1-20130620/">June 20th 2013</a></h3>
881888
<ul>

0 commit comments

Comments
 (0)