You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-ui/Overview.bs
+10-19Lines changed: 10 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -22,9 +22,6 @@ Abstract: This specification describes user interface related selectors,
22
22
Deadline: 2012-02-14
23
23
Link Defaults: css-color-3 (property) color
24
24
Link Defaults: selectors-4 (selector) :indeterminate
25
-
Ignored Terms: style
26
-
Ignored Terms: text
27
-
Ignored Terms: default
28
25
Ignored Terms: outline-top
29
26
Ignored Terms: outline-left
30
27
Ignored Terms: nav-index
@@ -508,15 +505,15 @@ The 'resize' property applies to elements
508
505
whose computed 'overflow' value
509
506
is something other than ''visible''.
510
507
511
-
The 'resize' property does not apply to generated content, the result is undefined.
508
+
The effect of the 'resize' property on generated content is undefined. Implementation should not apply the 'resize' property to generated content.
512
509
513
-
Note: the 'resize' property may apply in the future if there is implementation of <a href="http://dev.w3.org/csswg/css-pseudo/#CSSPseudoElement-interface">Interface CSSPseudoElement</a>.
510
+
Note: the 'resize' property may apply to generated content in the future if there is implementation of <a href="http://dev.w3.org/csswg/css-pseudo/#CSSPseudoElement-interface">Interface CSSPseudoElement</a>.
514
511
515
512
When an element is resized by the user,
516
513
the user agent sets
517
514
the 'width' and 'height' properties
518
515
to px unit length values of the size indicated by the user,
519
-
in the element’s 'style' attribute DOM,
516
+
in the element’s <a spec="css-style-attr">style attribute</a> DOM,
520
517
replacing existing property declaration(s) if any,
521
518
without ''!important'' if any.
522
519
@@ -532,24 +529,20 @@ and 'bottom' properties,
532
529
whether the language of the element is right-to-left etc.
533
530
The precise direction of resizing is left to the UA to properly determine for the platform.
534
531
535
-
The user agent should allow the user to resize the element
532
+
The user agent must allow the user to resize the element
536
533
with no other constraints than what is imposed by
537
534
'min-width', 'max-width', 'min-height', and 'max-height'.
(The "must" is <a href="https://wiki.csswg.org/spec/css3-ui#issue-53">at risk</a>
539
536
since
540
-
<a href="http://lists.w3.org/Archives/Public/www-style/2014Dec/0063.html">only Firefox currently supports this</a>).
541
-
542
-
The user agent may restrict the resizing range to something suitable,
543
-
such as between the original formatted size of the element,
544
-
and large enough to encompass all the element's contents.
537
+
<a href="http://lists.w3.org/Archives/Public/www-style/2014Dec/0063.html">only Firefox currently supports this</a>, and may be downgraded to a "should").
545
538
546
539
Note: There may be situations where user attempts to resize an element
547
540
to appear to be overriden or ignored, e.g. because of ''!important'' cascading declarations that supersede
548
-
that element’s 'style' attribute
541
+
that element’s <a spec="css-style-attr">style attribute</a>
549
542
'width' and 'height' properties in the DOM.
550
543
551
544
Changes to the computed value of an element's 'resize' property
552
-
do not reset changes to the 'style' attribute made due to
545
+
do not reset changes to the <a spec="css-style-attr">style attribute</a> made due to
Note: The "[...] its block container element" detail of the "clip" value definition is at risk pending implementation and potentially web compatibility feedback.
644
-
645
636
Note: The <<string>> value, and the 2-value syntax "{1,2}"
646
637
and functionality are all at risk.
647
638
@@ -932,7 +923,7 @@ then only the end ellipsis/string should be rendered.
932
923
This property specifies the type of cursor to be displayed for the pointing device
933
924
when within the element's border-box.
934
925
935
-
The cursor property does not apply 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.
926
+
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.
936
927
937
928
Values have the following meanings:
938
929
@@ -987,7 +978,7 @@ general purpose cursors
987
978
<dl>
988
979
<dt style="cursor:auto">auto</dt>
989
980
<dd>The UA determines the cursor to display based on the current
990
-
context, specifically: auto behaves as 'text' over text, and 'default' otherwise.
981
+
context, specifically: auto behaves as ''cursor/text'' over text, and ''cursor/default'' otherwise.
991
982
992
983
<div>
993
984
Issue: <a href="https://wiki.csswg.org/spec/css3-ui#issue-48">48</a> There are reports that this description of cursor: auto is insufficient and not interoperable. Current plan: restrict the auto value to handling things that cannot be described by the UA stylesheet, pending detailed proposal, likely based on <a href="https://lists.w3.org/Archives/Public/www-style/2013Jan/0275.html">David Baron's proposal</a>.
is something other than <aclass="css" data-link-type="maybe" href="http://dev.w3.org/csswg/css-overflow-3/#valdef-overflow-visible">visible</a>.</p>
2017
2017
2018
2018
2019
-
<p>The <aclass="property" data-link-type="propdesc" href="#propdef-resize">resize</a> property does not apply to generated content, the result is undefined.</p>
2019
+
<p>The effect of the <aclass="property" data-link-type="propdesc" href="#propdef-resize">resize</a> property on generated content is undefined. Implementations should not apply the <aclass="property" data-link-type="propdesc" href="#propdef-resize">resize</a> property to generated content.</p>
2020
2020
2021
2021
2022
-
<pclass="note" role="note">Note: the <aclass="property" data-link-type="propdesc" href="#propdef-resize">resize</a> property may apply in the future if there is implementation of <ahref="http://dev.w3.org/csswg/css-pseudo/#CSSPseudoElement-interface">Interface CSSPseudoElement</a>.</p>
2022
+
<pclass="note" role="note">Note: the <aclass="property" data-link-type="propdesc" href="#propdef-resize">resize</a> property may apply to generated content in the future if there is implementation of <ahref="http://dev.w3.org/csswg/css-pseudo/#CSSPseudoElement-interface">Interface CSSPseudoElement</a>.</p>
2023
2023
2024
2024
2025
2025
<p>When an element is resized by the user,
2026
2026
the user agent sets
2027
2027
the <aclass="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-width">width</a> and <aclass="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-height">height</a> properties
2028
2028
to px unit length values of the size indicated by the user,
2029
-
in the element’s <aclass="property" data-link-type="propdesc">style</a> attribute DOM,
2029
+
in the element’s <adata-link-type="dfn" href="http://dev.w3.org/csswg/css-style-attr-1/#style-attribute">style attribute</a> DOM,
2030
2030
replacing existing property declaration(s) if any,
2031
2031
without <spanclass="css">!important</span> if any.</p>
(The "must" is <ahref="https://wiki.csswg.org/spec/css3-ui#issue-53">at risk</a>
2052
2052
since
2053
-
<ahref="http://lists.w3.org/Archives/Public/www-style/2014Dec/0063.html">only Firefox currently supports this</a>).</p>
2054
-
2055
-
2056
-
<p>The user agent may restrict the resizing range to something suitable,
2057
-
such as between the original formatted size of the element,
2058
-
and large enough to encompass all the element’s contents.</p>
2053
+
<ahref="http://lists.w3.org/Archives/Public/www-style/2014Dec/0063.html">only Firefox currently supports this</a>, and may be downgraded to a "should").</p>
2059
2054
2060
2055
2061
2056
<pclass="note" role="note">Note: There may be situations where user attempts to resize an element
2062
2057
to appear to be overriden or ignored, e.g. because of <spanclass="css">!important</span> cascading declarations that supersede
2063
-
that element’s <aclass="property" data-link-type="propdesc">style</a> attribute
2058
+
that element’s <adata-link-type="dfn" href="http://dev.w3.org/csswg/css-style-attr-1/#style-attribute">style attribute</a>
2064
2059
<aclass="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-width">width</a> and <aclass="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visudet.html#propdef-height">height</a> properties in the DOM.</p>
2065
2060
2066
2061
2067
2062
<p>Changes to the computed value of an element’s <aclass="property" data-link-type="propdesc" href="#propdef-resize">resize</a> property
2068
-
do not reset changes to the <aclass="property" data-link-type="propdesc">style</a> attribute made due to
2063
+
do not reset changes to the <adata-link-type="dfn" href="http://dev.w3.org/csswg/css-style-attr-1/#style-attribute">style attribute</a> made due to
<pclass="note" role="note">Note: The "[...] its block container element" detail of the "clip" value definition is at risk pending implementation and potentially web compatibility feedback.</p>
2203
-
2204
-
2205
2197
<pclass="note" role="note">Note: The <aclass="production css" data-link-type="type" href="http://dev.w3.org/csswg/css-values-3/#string-value" title="Expands to: "><string></a> value, and the 2-value syntax "{1,2}"
<p>The cursor property does not apply over native user-agent controls such as scrollbars, resizers, or other native UI widgets e.g. those that may be used inside
6D50
some user agent specific implementations of form elements.</p>
2608
+
<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>
<dd>The UA determines the cursor to display based on the current
2688
-
context, specifically: auto behaves as <aclass="property" data-link-type="propdesc">text</a> over text, and <aclass="property" data-link-type="propdesc">default</a> otherwise.
2680
+
context, specifically: auto behaves as <spanclass="css">text</span> over text, and <spanclass="css">default</span> otherwise.
0 commit comments