Skip to content

Commit 87a0e50

Browse files
committed
People don't like the term 'radius' for box-shadow bits
1 parent 1e9e869 commit 87a0e50

2 files changed

Lines changed: 23 additions & 23 deletions

File tree

css3-background/Overview.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3720,13 +3720,13 @@ <h3 id=the-box-shadow><span class=secno>6.2. </span>The &lsquo;<a
37203720
<li>The second length is the vertical offset. A positive value offsets the
37213721
shadow down, a negative one up.
37223722

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

3727-
<li>The fourth length is a spread radius. Positive values cause the shadow
3728-
shape to expand in all directions by the specified radius. Negative
3729-
values cause the shadow shape to contract. See below. <span
3727+
<li>The fourth length is a spread distance. Positive values cause the
3728+
shadow shape to expand in all directions by the specified radius.
3729+
Negative values cause the shadow shape to contract. See below. <span
37303730
class=note>Note that for inner shadows, expanding the shadow (creating
37313731
more shadow area) means contracting the shadow's perimeter shape.</span>
37323732

@@ -3754,10 +3754,10 @@ <h3 id=the-box-shadow><span class=secno>6.2. </span>The &lsquo;<a
37543754
class=property>border-image</code></a>&rsquo; does not affect the shape of
37553755
the box-shadow.
37563756

3757-
<p>If a spread radius is defined, the shadow is expanded outward by an
3758-
operation equivalent to applying the absolute value of the spread radius
3759-
to a blur operation as defined below and thresholding the result such for
3760-
a positive spread radius all non-transparent pixels are given the full
3757+
<p>If a spread distance is defined, the shadow is expanded outward by an
3758+
operation equivalent to applying the absolute value of the spread value as
3759+
a blur operation as defined below and thresholding the result such that
3760+
for a positive spread radius all non-transparent pixels are given the full
37613761
shadow color and for a negative spread radius all non-opaque pixels are
37623762
made transparent. The UA may approximate this operation by taking an
37633763
outward outset of the specified amount normal to the original shadow
@@ -3773,10 +3773,10 @@ <h3 id=the-box-shadow><span class=secno>6.2. </span>The &lsquo;<a
37733773
cause an outer shadow to disappear, and an inner shadow to cover the
37743774
entire padding-box.)
37753775

3776-
<p>A positive blur radius indicates that the resulting shadow should be
3776+
<p>A positive blur value indicates that the resulting shadow should be
37773777
blurred, such as by a Gaussian filter. The exact algorithm is not defined;
37783778
however for a long, straight shadow edge, this should create a color
3779-
transition the length of the blur radius that is perpendicular to and
3779+
transition the length of the blur distance that is perpendicular to and
37803780
centered on the shadow's edge, and that ranges from the full shadow color
37813781
at the radius endpoint inside the shadow to fully transparent at the
37823782
endpoint outside it.

css3-background/Overview.src.html

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

2690-
<li>The third length is a blur radius. Negative values are not
2691-
allowed. If the blur radius is zero, the shadow's edge is sharp.
2690+
<li>The third length is a blur value. Negative values are not
2691+
allowed. If the blur value is zero, the shadow's edge is sharp.
26922692
Otherwise, the larger the value, the more the shadow's edge is
26932693
blurred. See below.
26942694

2695-
<li>The fourth length is a spread radius. Positive values cause
2695+
<li>The fourth length is a spread distance. Positive values cause
26962696
the shadow shape to expand in all directions by the specified
26972697
radius. Negative values cause the shadow shape to contract.
26982698
See below.
@@ -2721,12 +2721,12 @@ <h3 id="the-box-shadow">The 'box-shadow' property</h3>
27212721
the shadow shape is rounded in the same way. The 'border-image' does not
27222722
affect the shape of the box-shadow.
27232723

2724-
<p>If a spread radius is defined, the shadow is expanded outward by an
2725-
operation equivalent to applying the absolute value of the spread radius
2726-
to a blur operation as defined below and thresholding the result such
2727-
for a positive spread radius all non-transparent pixels are given the
2728-
full shadow color and for a negative spread radius all non-opaque pixels
2729-
are made transparent.
2724+
<p>If a spread distance is defined, the shadow is expanded outward by
2725+
an operation equivalent to applying the absolute value of the spread
2726+
value as a blur operation as defined below and thresholding the result
2727+
such that for a positive spread radius all non-transparent pixels are
2728+
given the full shadow color and for a negative spread radius all
2729+
non-opaque pixels are made transparent.
27302730
The UA may approximate this operation by taking an outward outset of the
27312731
specified amount normal to the original shadow perimeter. Alternatively
27322732
the UA may approximate the transformed shadow perimeter shape by
@@ -2741,10 +2741,10 @@ <h3 id="the-box-shadow">The 'box-shadow' property</h3>
27412741
floored at zero. (A zero-sized shadow shape would cause an outer shadow
27422742
to disappear, and an inner shadow to cover the entire padding-box.)
27432743

2744-
<p>A positive blur radius indicates that the resulting shadow should
2744+
<p>A positive blur value indicates that the resulting shadow should
27452745
be blurred, such as by a Gaussian filter. The exact algorithm is not
27462746
defined; however for a long, straight shadow edge, this should create
2747-
a color transition the length of the blur radius that is perpendicular
2747+
a color transition the length of the blur distance that is perpendicular
27482748
to and centered on the shadow's edge, and that ranges from the full
27492749
shadow color at the radius endpoint inside the shadow to fully
27502750
transparent at the endpoint outside it.

0 commit comments

Comments
 (0)