Skip to content

Commit ded2639

Browse files
author
Tantek Çelik
committed
add 'cursor' values 'zoom-in' and 'zoom-out'. we have 2 implementations: FF1.0+, Opera11.10+ (with prefixes).
1 parent 9e1731b commit ded2639

2 files changed

Lines changed: 35 additions & 9 deletions

File tree

css3-ui/Overview.html

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@
5555
src="http://www.w3.org/Icons/w3c_home" width=72> </a>
5656
<h1>CSS Basic User Interface Module Level 3</h1>
5757

58-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 8 February
58+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 18 February
5959
2011</h2>
6060

6161
<dl>
6262
<dt>This version:</dt>
63-
<!-- <dd><a href="http://www.w3.org/TR/2011/ED-css3-ui-20110208">http://www.w3.org/TR/2011/ED-css3-ui-20110208</a></dd> -->
63+
<!-- <dd><a href="http://www.w3.org/TR/2011/ED-css3-ui-20110218">http://www.w3.org/TR/2011/ED-css3-ui-20110218</a></dd> -->
6464

6565
<dd><a
6666
href="http://dev.w3.org/csswg/css3-ui/">http://dev.w3.org/csswg/css3-ui/</a>
@@ -3104,7 +3104,8 @@ <h4 id=cursor><span class=secno>10.1.1. </span><span
31043104
alias | copy | move | no-drop | not-allowed | <br>
31053105
e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize |
31063106
sw-resize | w-resize | ew-resize | ns-resize | nesw-resize |
3107-
nwse-resize | col-resize | row-resize | all-scroll <br>
3107+
nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out
3108+
<br>
31083109
] ] | inherit
31093110

31103111
<tr>
@@ -3322,6 +3323,17 @@ <h5 class="no-num no-toc" id=resizing-and-scrolling-cursors>resizing and
33223323
middle.
33233324
</dl>
33243325

3326+
<h5 class="no-num no-toc" id=zooming-cursors>zooming cursors</h5>
3327+
3328+
<dl>
3329+
<dt><strong> <span style="cursor:-moz-zoom-in; cursor:-o-zoom-in;
3330+
cursor:zoom-in"> zoom-in</span>, <span style="cursor:-moz-zoom-out;
3331+
cursor:-o-zoom-out; cursor:zoom-out"> zoom-out</span> </strong>
3332+
3333+
<dd>Indicates that something can be zoomed (magnified) in or out
3334+
respectively.
3335+
</dl>
3336+
33253337
<p>The UA may treat unsupported values as &lsquo;<code class=css><span
33263338
class=value>auto</span></code>&rsquo;. E.g. on platforms that do not have
33273339
a concept of a &lsquo;<code class=css><span
@@ -3828,10 +3840,10 @@ <h3 class="no-num no-toc" id=normative-references>Normative References</h3>
38283840
<dt id=CSS21>[CSS21]
38293841

38303842
<dd>Bert Bos; et al. <a
3831-
href="http://www.w3.org/TR/2009/CR-CSS2-20090908"><cite>Cascading Style
3832-
Sheets Level 2 Revision 1 (CSS 2.1) Specification.</cite></a> 8 September
3833-
2009. W3C Candidate Recommendation. (Work in progress.) URL: <a
3834-
href="http://www.w3.org/TR/2009/CR-CSS2-20090908">http://www.w3.org/TR/2009/CR-CSS2-20090908</a>
3843+
href="http://www.w3.org/TR/2010/WD-CSS2-20101207"><cite>Cascading Style
3844+
Sheets Level 2 Revision 1 (CSS 2.1) Specification.</cite></a> 7 December
3845+
2010. W3C Working Draft. (Work in progress.) URL: <a
3846+
href="http://www.w3.org/TR/2010/WD-CSS2-20101207">http://www.w3.org/TR/2010/WD-CSS2-20101207</a>
38353847
</dd>
38363848
<!---->
38373849

@@ -4727,7 +4739,8 @@ <h2 class=no-num id=property-index>Property index</h2>
47274739
text | vertical-text | alias | copy | move | no-drop | not-allowed |
47284740
e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize |
47294741
sw-resize | w-resize | ew-resize | ns-resize | nesw-resize |
4730-
nwse-resize | col-resize | row-resize | all-scroll ] ] | inherit
4742+
nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out
4743+
] ] | inherit
47314744

47324745
<td>auto
47334746

css3-ui/Overview.src.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1714,7 +1714,9 @@ <h4 id="cursor"><span class="property">'cursor'</span> property</h4>
17141714
e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize |
17151715
ew-resize | ns-resize | nesw-resize | nwse-resize |
17161716
col-resize | row-resize |
1717-
all-scroll <br>
1717+
all-scroll
1718+
| zoom-in | zoom-out
1719+
<br>
17181720
] ] | inherit </td></tr>
17191721
<tr><th>Initial:</th><td>auto</td></tr>
17201722
<tr><th>Applies to:</th><td>all elements</td></tr>
@@ -1852,6 +1854,17 @@ <h5 class="no-num no-toc">resizing and scrolling cursors</h5>
18521854
Often rendered as arrows pointing up, down, left, and right with a dot in the middle.
18531855
</dd>
18541856
</dl>
1857+
1858+
<h5 class="no-num no-toc">zooming cursors</h5>
1859+
<dl>
1860+
<dt><strong>
1861+
<span style="cursor:-moz-zoom-in; cursor:-o-zoom-in; cursor:zoom-in"> zoom-in</span>,
1862+
<span style="cursor:-moz-zoom-out; cursor:-o-zoom-out; cursor:zoom-out"> zoom-out</span>
1863+
</strong>
1864+
</dt>
1865+
<dd>Indicates that something can be zoomed (magnified) in or out respectively. </dd>
1866+
</dl>
1867+
18551868
<p>The UA may treat unsupported values as '<span class="value">auto</span>'. E.g. on platforms that do not have a concept of a '<span class="value">context-menu</span>' cursor, the UA may render '<span class="value">default</span>' or whatever is appropriate.
18561869
</p>
18571870

0 commit comments

Comments
 (0)