Skip to content

Commit e66f9a3

Browse files
committed
1 parent 320cb8f commit e66f9a3

2 files changed

Lines changed: 27 additions & 16 deletions

File tree

css3-background/Overview.html

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222

2323
<h1>CSS Backgrounds and Borders Module Level 3</h1>
2424

25-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 21 June 2010</h2>
25+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 24 August 2010</h2>
2626

2727
<dl>
2828
<dt>This version:
2929

30-
<dd><!--<a href="http://www.w3.org/TR/2010/WD-css3-background-20100621">http://www.w3.org/TR/2010/ED-css3-background-20100621</a>-->
30+
<dd><!--<a href="http://www.w3.org/TR/2010/WD-css3-background-20100824">http://www.w3.org/TR/2010/ED-css3-background-20100824</a>-->
3131
<a
3232
href="http://dev.w3.org/csswg/css3-background">http://dev.w3.org/csswg/css3-background</a>
3333

@@ -3722,9 +3722,9 @@ <h3 id=the-box-shadow><span class=secno>7.2. </span>The &lsquo;<a
37223722
<li>The second length is the vertical offset. A positive value offsets the
37233723
shadow down, a negative one up.
37243724

3725-
<li>The third length is a blur distance. Negative values are not allowed.
3726-
If the blur value is zero, the shadow's edge is sharp. Otherwise, the
3727-
larger the value, the more the shadow's edge is blurred. See below.
3725+
<li>The third length is a blur radius. Negative values are not allowed. If
3726+
the blur value is zero, the shadow's edge is sharp. Otherwise, the larger
3727+
the value, the more the shadow's edge is blurred. See below.
37283728

37293729
<li>The fourth length is a spread distance. Positive values cause the
37303730
shadow shape to expand in all directions by the specified radius.
@@ -3777,11 +3777,17 @@ <h3 id=the-box-shadow><span class=secno>7.2. </span>The &lsquo;<a
37773777

37783778
<p>A non-zero blur distance indicates that the resulting shadow should be
37793779
blurred, such as by a Gaussian filter. The exact algorithm is not defined;
3780-
however for a long, straight shadow edge, this should create a color
3781-
transition the length of the blur distance that is perpendicular to and
3782-
centered on the shadow's edge, and that ranges from the full shadow color
3783-
at the radius endpoint inside the shadow to fully transparent at the
3784-
endpoint outside it.
3780+
however the resulting shadow must approximate (with each pixel being
3781+
within 5% of its expected value) the image that would be generated by
3782+
applying to the shadow a Gaussian blur with a standard deviation equal to
3783+
the blur radius
3784+
3785+
<p class=note>Note this means for a long, straight shadow edge, the blur
3786+
radius will create a visibly apparent color transition approximately the
3787+
twice length of the blur radius that is perpendicular to and centered on
3788+
the shadow's edge, and that ranges from the full shadow color at the
3789+
endpoint inside the shadow to fully transparent at the endpoint outside
3790+
it.
37853791

37863792
<div class=example>
37873793
<p>The example below demonstrates the effects of spread and blur on the

css3-background/Overview.src.html

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2698,7 +2698,7 @@ <h3 id="the-box-shadow">The 'box-shadow' property</h3>
26982698
<li>The second length is the vertical offset. A positive value
26992699
offsets the shadow down, a negative one up.
27002700

2701-
<li>The third length is a blur distance. Negative values are not
2701+
<li>The third length is a blur radius. Negative values are not
27022702
allowed. If the blur value is zero, the shadow's edge is sharp.
27032703
Otherwise, the larger the value, the more the shadow's edge is
27042704
blurred. See below.
@@ -2754,11 +2754,16 @@ <h3 id="the-box-shadow">The 'box-shadow' property</h3>
27542754

27552755
<p>A non-zero blur distance indicates that the resulting shadow should
27562756
be blurred, such as by a Gaussian filter. The exact algorithm is not
2757-
defined; however for a long, straight shadow edge, this should create
2758-
a color transition the length of the blur distance that is perpendicular
2759-
to and centered on the shadow's edge, and that ranges from the full
2760-
shadow color at the radius endpoint inside the shadow to fully
2761-
transparent at the endpoint outside it.
2757+
defined; however the resulting shadow must approximate (with each pixel
2758+
being within 5% of its expected value) the image that would be generated
2759+
by applying to the shadow a Gaussian blur with a standard deviation equal
2760+
to the blur radius
2761+
2762+
<p class="note">Note this means for a long, straight shadow edge, the
2763+
blur radius will create a visibly apparent color transition approximately
2764+
the twice length of the blur radius that is perpendicular to and centered
2765+
on the shadow's edge, and that ranges from the full shadow color at the
2766+
endpoint inside the shadow to fully transparent at the endpoint outside it.
27622767

27632768
<div class="example">
27642769
<p>The example below demonstrates the effects of spread and blur

0 commit comments

Comments
 (0)