Skip to content

Commit 9287868

Browse files
committed
[css3-ui] edits for issues 45, 56, 57, 58, 61, 63, 67
1 parent 0889694 commit 9287868

1 file changed

Lines changed: 45 additions & 30 deletions

File tree

css-ui/Overview.bs

Lines changed: 45 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -102,35 +102,19 @@ dynamic presentation related features in HTML.
102102
user interfaces which make use of a directional navigation model.
103103
</ul>
104104

105-
<h2 id="dependencies">Dependencies on other modules</h2>
105+
<h2 id="interaction">Module Interactions</h2>
106106

107-
This CSS3 module depends on the following other specifications.
107+
This document defines new features not present in earlier specifications.
108+
In addition, it replaces and supersedes the following:
108109

109110
<ul>
110-
<li>[[!SELECT]]
111-
<li>[[!CSS3COLOR]]
112-
<li>[[!CSS21]]
113-
<li>[[!CSS3VAL]]
114-
<li>[[!CSS3-WRITING-MODES]]<!--for end, start, line-left, line-end-->
111+
<li><a href="http://www.w3.org/TR/CSS21/ui.html#cursor-props">Section 18.1</a>
112+
and
113+
<a href="http://www.w3.org/TR/CSS21/ui.html#dynamic-outlines">section 18.4</a>
114+
of Cascading Style Sheets, level 2, revision 1 [[CSS21]]
115+
<li><a href="http://www.w3.org/TR/2000/WD-css3-userint-20000216">User Interface for CSS3 (16 February 2000)</a> [[CSSUI]]
115116
</ul>
116117

117-
<!--
118-
It has non-normative (informative) references to the following
119-
other specifications:
120-
<ul>
121-
</ul>
122-
-->
123-
124-
The following work is related to the CSS Basic User Interface Module Level 3 (CSS3 Basic UI).
125-
126-
<ul>
127-
<li>[[HTML401]]
128-
<li>[[HTML5]]
129-
<li>[[UAAG10]]
130-
</ul>
131-
132-
This specification does not define what is a form element.
133-
134118
<h2 id="selectors">User Interface Selectors</h2>
135119

136120
<h3 id="pseudo-elements">User interface element fragments: pseudo-elements</h3>
@@ -358,24 +342,36 @@ Outlines may be non-rectangular.
358342
For example, if the element is broken across several lines,
359343
the outline should be an outline or minimum set of outlines
360344
that encloses all the element's boxes.
345+
361346
Each part of the outline should be fully connected
362347
rather than open on some sides
363348
(as borders on inline elements are when lines are broken).
349+
364350
The parts of the outline are not required to be rectangular.
365-
The position of the outline may be affected by descendant boxes.
351+
To the extent that the outline follows the border edge,
352+
it should follow the border-radius curve.
353+
354+
The position of the outline may be affected by descendant boxes.
355+
366356
User agents should use an algorithm for determining
367357
the outline that encloses a region appropriate
368358
for conveying the concept of focus to the user.
369359

360+
Note: This specification does not define the exact position or shape of the outline, but it is typically drawn immediately outside the border box.
361+
362+
370363
The 'outline-width' property accepts
371364
the same values as
372365
'border-width'
373-
([[!CSS21]], section 8.5.1).
366+
([[!CSS3BG]],
367+
<a href="http://www.w3.org/TR/css3-background/#the-border-width">Section 4.3</a>).
374368

375369
The 'outline-style' property accepts
376370
the same values as
377371
'border-style'
378-
([[!CSS21]], section 8.5.3), except that
372+
([[!CSS3BG]],
373+
<a href="http://www.w3.org/TR/css3-background/#the-border-style">Section 4.2</a>),
374+
except that
379375
''hidden'' is not a legal outline style.
380376
In addition, in CSS3,
381377
'outline-style'
@@ -955,7 +951,7 @@ then only the end ellipsis/string should be rendered.
955951

956952
<!-- got this far reformatting lines -->
957953
This property specifies the type of cursor to be displayed for the pointing device
958-
when over the element's border, padding, and content.
954+
when within the element's border-box.
959955
Values have the following meanings:
960956

961957
image cursors
@@ -967,6 +963,11 @@ it must attempt to handle the second, etc.
967963
If the user agent cannot handle any user-defined cursor,
968964
it must use the cursor keyword at the end of the list.
969965
Conforming User Agents may, instead of &lt;uri&gt;, support &lt;image&gt; which is a superset.
966+
967+
The <a>default object size</a> for cursor images is
968+
a UA-defined size that should be based on
969+
the size of a typical cursor on the UA's operating system.
970+
970971
The optional &lt;x&gt; and &lt;y&gt; coordinates
971972
identify the exact position within the image which is the pointer position (i.e., the hotspot).
972973
</dd>
@@ -977,10 +978,12 @@ Each is a &lt;number&gt;.
977978
The x-coordinate and y-coordinate of the position
978979
in the cursor's coordinate system (left/top relative)
979980
which represents the precise position that is being pointed to.
981+
980982
If the values are unspecified,
981983
then the intrinsic hotspot defined inside the image resource itself is used.
982984
If both the values are unspecific and the referenced cursor has no defined hotspot,
983985
the effect is as if a value of "0 0" were specified.
986+
984987
If the coordinates of the hotspot,
985988
as specified either inside the image resource or
986989
by &lt;x&gt; and &lt;y&gt; values,
@@ -1255,8 +1258,7 @@ For accessibility and user convenience,
12551258
user agents should allow configuration of which keys on a keyboard are used for directional navigation.
12561259

12571260
<div class="example">
1258-
1259-
Example: positioned buttons
1261+
<h5>Example: positioned buttons</h5>
12601262

12611263
Here is an example of buttons positioned in a diamond shape
12621264
whose directional focus navigation is set in such a way
@@ -1296,6 +1298,19 @@ is irrelevant in this case because they are positioned, and yet,
12961298
it is still important to ensure focus navigation behaviors which relate reasonably to the specified layout.
12971299
</div>
12981300

1301+
<div class="example">
1302+
<h5>Example: moving focus to inside a frame</h5>
1303+
1304+
Moving the focus to an element in a specific frame requires both the element's id and the frame's name.
1305+
1306+
This example shows how to make navigating left from the button with id "foo" move the focus to the element with id "bar" within the frame named "sidebar".
1307+
1308+
<pre><code class="lang-css">
1309+
button#foo { nav-left: #bar "sidebar"; }
1310+
</code></pre>
1311+
</div>
1312+
1313+
12991314
<h4 id="input-method-editor">Input method editor: the 'ime-mode' property</h4>
13001315

13011316
<table class="propdef"><tbody>

0 commit comments

Comments
 (0)