Skip to content

Commit e31d097

Browse files
committed
[css-ui-3] Clarify that cursor applies within the border edge
1 parent f6b3530 commit e31d097

File tree

2 files changed

+28
-12
lines changed

2 files changed

+28
-12
lines changed

css-ui/Overview.bs

+11-6
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ At Risk: 'text-overflow' property 2-value syntax and definition
3838
At Risk: constraints on 'outline-offset' property negative values
3939
</pre>
4040

41+
<pre class="anchors">
42+
urlPrefix: http://www.w3.org/TR/CSS21/box.html#border-edge; type: dfn; spec: CSS21; text: border edge
43+
</pre>
44+
4145
<!--
4246
At risk due to only one implementation:
4347

@@ -338,7 +342,7 @@ rather than open on some sides
338342
(as borders on inline elements are when lines are broken).
339343

340344
The parts of the outline are not required to be rectangular.
341-
To the extent that the outline follows the border edge,
345+
To the extent that the outline follows the <a>border edge</a>,
342346
it should follow the 'border-radius' curve.
343347

344348
The position of the outline may be affected by descendant boxes.
@@ -438,8 +442,8 @@ it may well overlap other elements on the page.
438442

439443
<h3 id="outline-offset">'outline-offset' property</h3>
440444

441-
By default, the outline is drawn starting just outside the border edge.
442-
However, it is possible to offset the outline and draw it beyond the border edge.
445+
By default, the outline is drawn starting just outside the <a>border edge</a>.
446+
However, it is possible to offset the outline and draw it beyond the <a>border edge</a>.
443447

444448
<table class="propdef"><tbody>
445449
<tr><th>Name:</th><td><dfn>outline-offset</dfn></td></tr>
@@ -455,7 +459,7 @@ However, it is possible to offset the outline and draw it beyond the border edge
455459

456460
If the computed value of 'outline-offset'
457461
is anything other than 0,
458-
then the outline is outset from the border edge by that amount.
462+
then the outline is outset from the <a>border edge</a> by that amount.
459463

460464
<div class="example"><p style="display:none">Example(s):
461465

@@ -958,9 +962,10 @@ then only the end ellipsis/string should be rendered.
958962
<tr><th>Animatable:</th><td>no</td></tr>
959963
</tbody></table>
960964

961-
<!-- got this far reformatting lines -->
962965
This property specifies the type of cursor to be displayed for the pointing device
963-
when within the element's border-box.
966+
when within the element's <a>border edge</a>.
967+
968+
Note: As per [[CSS3-BACKGROUND]], the <a>border edge</a> is affected by 'border-radius'.
964969

965970
User agents may ignore the cursor property over native user-agent controls such as scrollbars, resizers, or other native UI widgets e.g. those that may be used inside some user agent specific implementations of form elements.
966971

css-ui/Overview.html

+17-6
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@
7575

7676

7777

78+
79+
7880
<style>/* http://prismjs.com/download.html?themes=prism&languages=clike */
7981
/**
8082
* prism.js default theme for JavaScript, CSS and HTML
@@ -1273,7 +1275,7 @@ <h3 class="heading settled" data-level="4.4" id="outline-color"><span class="sec
12731275

12741276

12751277
<p>The parts of the outline are not required to be rectangular.
1276-
To the extent that the outline follows the border edge,
1278+
To the extent that the outline follows the <a data-link-type="dfn" href="http://www.w3.org/TR/CSS21/box.html#border-edgeborder-edge">border edge</a>,
12771279
it should follow the <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-backgrounds-3/#border-radius">border-radius</a> curve.</p>
12781280

12791281

@@ -1394,8 +1396,8 @@ <h3 class="heading settled" data-level="4.4" id="outline-color"><span class="sec
13941396
<h3 class="heading settled" data-level="4.5" id="outline-offset"><span class="secno">4.5. </span><span class="content"><a class="property" data-link-type="propdesc" href="#propdef-outline-offset">outline-offset</a> property</span><a class="self-link" href="#outline-offset"></a></h3>
13951397

13961398

1397-
<p>By default, the outline is drawn starting just outside the border edge.
1398-
However, it is possible to offset the outline and draw it beyond the border edge.</p>
1399+
<p>By default, the outline is drawn starting just outside the <a data-link-type="dfn" href="http://www.w3.org/TR/CSS21/box.html#border-edgeborder-edge">border edge</a>.
1400+
However, it is possible to offset the outline and draw it beyond the <a data-link-type="dfn" href="http://www.w3.org/TR/CSS21/box.html#border-edgeborder-edge">border edge</a>.</p>
13991401

14001402

14011403
<table class="propdef">
@@ -1450,7 +1452,7 @@ <h3 class="heading settled" data-level="4.5" id="outline-offset"><span class="se
14501452

14511453
<p>If the computed value of <a class="property" data-link-type="propdesc" href="#propdef-outline-offset">outline-offset</a>
14521454
is anything other than 0,
1453-
then the outline is outset from the border edge by that amount.</p>
1455+
then the outline is outset from the <a data-link-type="dfn" href="http://www.w3.org/TR/CSS21/box.html#border-edgeborder-edge">border edge</a> by that amount.</p>
14541456

14551457

14561458
<div class="example" id="example-8c7e0106"><a class="self-link" href="#example-8c7e0106"></a>
@@ -2183,8 +2185,11 @@ <h4 class="heading settled" data-level="6.1.1" id="cursor"><span class="secno">6
21832185
</table>
21842186

21852187

2186-
This property specifies the type of cursor to be displayed for the pointing device
2187-
when within the element’s border-box.
2188+
<p>This property specifies the type of cursor to be displayed for the pointing device
2189+
when within the element’s <a data-link-type="dfn" href="http://www.w3.org/TR/CSS21/box.html#border-edgeborder-edge">border edge</a>.</p>
2190+
2191+
2192+
<p class="note" role="note">Note: As per <a data-link-type="biblio" href="#biblio-css3-background">[CSS3-BACKGROUND]</a>, the <a data-link-type="dfn" href="http://www.w3.org/TR/CSS21/box.html#border-edgeborder-edge">border edge</a> is affected by <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-backgrounds-3/#border-radius">border-radius</a>.</p>
21882193

21892194

21902195
<p>User agents may ignore the cursor property over native user-agent controls such as scrollbars, resizers, or other native UI widgets e.g. those that may be used inside some user agent specific implementations of form elements.</p>
@@ -3900,6 +3905,10 @@ <h3 class="no-num heading settled" id="index-defined-here"><span class="content"
39003905
</ul>
39013906
<h3 class="no-num heading settled" id="index-defined-elsewhere"><span class="content">Terms defined by reference</span><a class="self-link" href="#index-defined-elsewhere"></a></h3>
39023907
<ul class="indexlist">
3908+
<li><a data-link-type="biblio" href="#biblio-css21">[CSS21]</a> defines the following terms:
3909+
<ul>
3910+
<li><a href="http://www.w3.org/TR/CSS21/box.html#border-edgeborder-edge">border edge</a>
3911+
</ul>
39033912
<li><a data-link-type="biblio" href="#biblio-css-backgrounds-3">[css-backgrounds-3]</a> defines the following terms:
39043913
<ul>
39053914
<li><a href="http://dev.w3.org/csswg/css-backgrounds-3/#background-image">background-image</a>
@@ -4030,6 +4039,8 @@ <h3 class="no-num heading settled" id="informative"><span class="content">Inform
40304039
<dd>Tantek Çelik; et al. <a href="http://www.w3.org/TR/css3-selectors/">Selectors Level 3</a>. 29 September 2011. REC. URL: <a href="http://www.w3.org/TR/css3-selectors/">http://www.w3.org/TR/css3-selectors/</a>
40314040
<dt id="biblio-svg10"><a class="self-link" href="#biblio-svg10"></a>[SVG10]
40324041
<dd>Jon Ferraiolo. <a href="http://www.w3.org/TR/SVG/">Scalable Vector Graphics (SVG) 1.0 Specification</a>. 4 September 2001. REC. URL: <a href="http://www.w3.org/TR/SVG/">http://www.w3.org/TR/SVG/</a>
4042+
<dt id="biblio-css3-background"><a class="self-link" href="#biblio-css3-background"></a>[CSS3-BACKGROUND]
4043+
<dd>Bert Bos; Elika Etemad; Brad Kemper. <a href="http://www.w3.org/TR/css3-background/">CSS Backgrounds and Borders Module Level 3</a>. 9 September 2014. CR. URL: <a href="http://www.w3.org/TR/css3-background/">http://www.w3.org/TR/css3-background/</a>
40334044
<dt id="biblio-html5"><a class="self-link" href="#biblio-html5"></a>[HTML5]
40344045
<dd>Ian Hickson; et al. <a href="http://www.w3.org/TR/html5/">HTML5</a>. 28 October 2014. REC. URL: <a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a>
40354046
</dl>

0 commit comments

Comments
 (0)