Skip to content

Commit 2d11f72

Browse files
committed
Revised the list of issues against gradients, per Brad's feedback.
1 parent 1e7facb commit 2d11f72

2 files changed

Lines changed: 30 additions & 19 deletions

File tree

css3-images/Overview.html

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515

1616
<h1>CSS Image Values and Replaced Content Module Level 3</h1>
1717

18-
<h2 class="no-num no-toc" id=longstatus-date>W3C Working Draft 15 February
18+
<h2 class="no-num no-toc" id=longstatus-date>W3C Working Draft 16 February
1919
2011</h2>
2020

2121
<dl>
2222
<dt>This Version:</dt>
2323
<!-- <dd><a href="http://dev.w3.org/csswg/css3-images/">http://dev.w3.org/csswg/css3-images/</a> -->
2424

2525
<dd><a
26-
href="http://www.w3.org/TR/2011/WD-css3-images-20110215/">http://www.w3.org/TR/2011/WD-css3-images-20110215/</a>
26+
href="http://www.w3.org/TR/2011/WD-css3-images-20110216/">http://www.w3.org/TR/2011/WD-css3-images-20110216/</a>
2727

2828
<dt>Latest Published Version:
2929

@@ -628,15 +628,22 @@ <h2 id=gradients><span class=secno>5. </span> Gradients</h2>
628628
the size of the background sizing area. If you use a gradient in a
629629
list-style-image, the "box" will be a 1em square.
630630

631-
<p class=issue>It has been suggested that repeating gradients aren't
632-
necessary, and can instead be achieved by altering the behavior of
633-
background-repeat.
634-
635-
<p class=issue>It has been suggested that we can avoid the center position
636-
in radial gradients, and instead use background-position.
637-
638-
<p class=issue>It has been suggested that we should use some other
639-
definition for mapping angles to directions to match other parts of CSS.</p>
631+
<p class=issue>It has been suggested that several of the controls offered
632+
by gradients are unnecessary. Repeating gradients could potentially be
633+
done by hooking into &lsquo;<code
634+
class=property>background-repeat</code>&rsquo;, sizing and positioning
635+
radial gradients could be done by hooking into &lsquo;<code
636+
class=property>background-size</code>&rsquo; and &lsquo;<code
637+
class=property>background-position</code>&rsquo;, etc.
638+
639+
<p class=issue>Angles in gradients denote directions and match the behavior
640+
of polar coordinates, where 0deg is East, 90deg is North, and in general a
641+
larger angle corresponds to an angle further CCW. Other CSS properties
642+
that use angles to denote rotations use the convention that larger angles
643+
are further CW. It has been suggested that gradients be changed so that
644+
larger angles are more CW, and 0deg either remain East (matching a polar
645+
coordinate system with the Y axis flipped) or changed to North (matching
646+
bearings).</p>
640647
<!-- ====================================================================== -->
641648

642649
<h3 id=linear-gradients><span class=secno>5.1. </span> Linear Gradients</h3>

css3-images/Overview.src.html

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -395,14 +395,18 @@ <h2 id="gradients">
395395
area. If you use a gradient in a list-style-image, the "box" will be a 1em
396396
square.</p>
397397

398-
<p class=issue>It has been suggested that repeating gradients aren't necessary,
399-
and can instead be achieved by altering the behavior of background-repeat.</p>
400-
401-
<p class=issue>It has been suggested that we can avoid the center position in
402-
radial gradients, and instead use background-position.</p>
403-
404-
<p class=issue>It has been suggested that we should use some other definition
405-
for mapping angles to directions to match other parts of CSS.</p>
398+
<p class=issue>It has been suggested that several of the controls offered by gradients are
399+
unnecessary. Repeating gradients could potentially be done by hooking into
400+
'background-repeat', sizing and positioning radial gradients could be done by
401+
hooking into 'background-size' and 'background-position', etc.</p>
402+
403+
<p class=issue>Angles in gradients denote directions and match the behavior of polar coordinates,
404+
where 0deg is East, 90deg is North, and in general a larger angle corresponds
405+
to an angle further CCW. Other CSS properties that use angles to denote rotations
406+
use the convention that larger angles are further CW. It has been suggested
407+
that gradients be changed so that larger angles are more CW, and 0deg either
408+
remain East (matching a polar coordinate system with the Y axis flipped) or
409+
changed to North (matching bearings).</p>
406410

407411
<!-- ====================================================================== -->
408412

0 commit comments

Comments
 (0)