Skip to content

Commit e1c8cba

Browse files
committed
[css-shapes] change initial value of shape-image-threshold to 0.0
1 parent 042a393 commit e1c8cba

2 files changed

Lines changed: 18 additions & 10 deletions

File tree

css-shapes/Overview.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ <h3 id=shapes-from-image><span class=secno>3.3. </span>Shapes from Image</h3>
616616
class=property>shape-image-threshold</code></a>’ value. If the ‘<a
617617
href="#shape-image-threshold"><code
618618
class=property>shape-image-threshold</code></a>’ is not specified, the
619-
initial value to be considered is 0.5.
619+
initial value to be considered is 0.0.
620620

621621
<p>For animated raster image formats (such as <a
622622
href="http://www.w3.org/Graphics/GIF/spec-gif89a.txt">GIF</a>), the first
@@ -799,8 +799,8 @@ <h4 id=shape-image-threshold-property><span class=secno>3.4.2. </span>The
799799
<p> The ‘<a href="#shape-image-threshold"><code
800800
class=property>shape-image-threshold</code></a>’ defines the alpha
801801
channel threshold used to extract the shape using an image. A value of 0.5
802-
means that all the pixels that are more than 50% transparent define the
803-
path of the shape.
802+
means that the shape will enclose all the pixels that are more than 50%
803+
opaque.
804804

805805
<table class=propdef>
806806
<tbody>
@@ -818,7 +818,7 @@ <h4 id=shape-image-threshold-property><span class=secno>3.4.2. </span>The
818818
<tr>
819819
<th>Initial:
820820

821-
<td>0.5
821+
<td>0.0
822822

823823
<tr>
824824
<th>Applies to:
@@ -1209,7 +1209,7 @@ <h2 class=no-num id=property-index>Property index</h2>
12091209

12101210
<td>&lt;alphavalue&gt;
12111211

1212-
<td>0.5
1212+
<td>0.0
12131213

12141214
<td>floats
12151215

@@ -1275,6 +1275,8 @@ <h3 class=no-num id=since-june-20th-2013>Since <a
12751275
2013</a></h3>
12761276

12771277
<ul>
1278+
<li>Change initial value of shape-image-threshold to 0.0
1279+
12781280
<li>Change float positioning to be unaffected by shape-outside
12791281

12801282
<li>Shapes on floats clipped to float's margin box

css-shapes/Overview.src.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ <h3 id="shapes-from-image">Shapes from Image</h3>
514514
where the opacity of the specified image
515515
is greater than the 'shape-image-threshold' value.
516516
If the 'shape-image-threshold' is not specified,
517-
the initial value to be considered is 0.5.
517+
the initial value to be considered is 0.0.
518518
</p>
519519

520520
<p>For animated raster image formats
@@ -660,9 +660,14 @@ <h4 id="shape-outside-property">The 'shape-outside' Property</h4>
660660
<h4 id="shape-image-threshold-property">The 'shape-image-threshold' Property</h4>
661661

662662
<p>
663-
The 'shape-image-threshold' defines the alpha channel threshold used to extract
664-
the shape using an image. A value of 0.5 means that all the pixels that are more
665-
than 50% transparent define the path of the shape.
663+
The 'shape-image-threshold'
664+
defines the alpha channel threshold
665+
used to extract the shape
666+
using an image.
667+
A value of 0.5 means that
668+
the shape will enclose
669+
all the pixels
670+
that are more than 50% opaque.
666671
</p>
667672

668673
<table class="propdef">
@@ -676,7 +681,7 @@ <h4 id="shape-image-threshold-property">The 'shape-image-threshold' Property</h4
676681
</tr>
677682
<tr>
678683
<th>Initial:</th>
679-
<td>0.5</td>
684+
<td>0.0</td>
680685
</tr>
681686
<tr>
682687
<th>Applies to:</th>
@@ -822,6 +827,7 @@ <h2 class="no-num" id="change-log">Change Log</h2>
822827

823828
<h3 class="no-num" >Since <a href="http://www.w3.org/TR/2013/WD-css-shapes-1-20130620/">June 20th 2013</a></h3>
824829
<ul>
830+
<li>Change initial value of shape-image-threshold to 0.0</li>
825831
<li>Change float positioning to be unaffected by shape-outside</li>
826832
<li>Shapes on floats clipped to float's margin box</li>
827833
<li>Inline content constrained to at least the float's farthest margin edge</li>

0 commit comments

Comments
 (0)