Skip to content

Commit c399132

Browse files
committed
[css3-ui] issues 35, 38, 39, 40. negative outline-offset, obsolete time-mode
1 parent ef58a9e commit c399132

2 files changed

Lines changed: 1390 additions & 1564 deletions

File tree

css-ui/Overview.bs

Lines changed: 27 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,16 @@ Ignored Terms: outline-left
2626
At Risk: ::value ::choices pseudo-elements
2727
At Risk: 'box-sizing' property value: padding-box
2828
At Risk: 'caret-color' property
29-
At Risk: 'ime-mode' property
3029
At Risk: 'text-overflow' property value: <string>
3130
At Risk: 'text-overflow' property 2-value syntax and definition
31+
At Risk: 'outline-offset' property negative values
3232
</pre>
3333

3434
<!--
3535
At risk due to only one implementation:
3636

3737
<li>box-sizing: padding-box - only FF supports in prefixed version
3838

39-
<li>ime-mode: new - not sure about IE5+ vs FF3+ interop
40-
4139
Not at risk:
4240
<li>CSS2.1: :hover :active :focus
4341
<li>Selectors: :enabled :disabled :checked
@@ -476,6 +474,19 @@ the following rule can be used:
476474
</code></pre>
477475
</div>
478476

477+
UAs may ignore negative values.
478+
UAs that support negative values must cause the outline
479+
to shrink into the border box.
480+
Neither the height nor the width of the shape
481+
drawn by the outline may become smaller
482+
than twice the computed value of the outline-width property,
483+
to make sure that an outline can be rendered
484+
even with large negative values. User Agents must apply this constraint independently in each dimension.
485+
If the outline is drawn as multiple disconnected shapes,
486+
this constraint applies to each shape separately.
487+
Negative values are an at risk feature due to
488+
<a href="https://lists.w3.org/Archives/Public/www-style/2014Dec/0033.html">interoperability problems</a>.
489+
479490

480491
<h2 id="resizing-and-overflow">Resizing &amp; Overflow</h2>
481492

@@ -1309,79 +1320,34 @@ button#foo { nav-left: #bar "sidebar"; }
13091320
</div>
13101321

13111322

1312-
<h4 id="input-method-editor">Input method editor: the 'ime-mode' property</h4>
1323+
<h4 id="input-method-editor">Obsolete: the ime-mode property</h4>
13131324

1314-
<table class="propdef"><tbody>
1315-
<tr><th>Name: </th><td><dfn>ime-mode</dfn></td></tr>
1316-
<tr><th>Value: </th><td>auto | normal | active | inactive | disabled
1317-
</td></tr>
1318-
<tr><th>Initial:</th><td>auto</td></tr>
1319-
<tr><th>Applies to:</th><td>text fields</td></tr>
1320-
<tr><th>Inherited:</th><td>no</td></tr>
1321-
<tr><th>Percentages:</th><td>N/A</td></tr>
1322-
<tr><th>Media:</th><td>interactive</td></tr>
1323-
<tr><th>Computed&nbsp;value:</th><td>as specified</td></tr>
1324-
<tr><th>Animatable:</th><td>no</td></tr>
1325-
</tbody></table>
1325+
"ime-mode" is a property somewhat implemented in some browsers, that is problematic and officially obsoleted by this specification.
13261326

1327-
The 'ime-mode' CSS property controls the state of the input method editor for text fields.
1327+
There is documentation of
1328+
<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/ime-mode">non-interoperability of these implementations.
1329+
</a>
13281330

1329-
<dl>
1330-
<dt>auto</dt>
1331-
<dd>
1332-
No change is made to the current input method editor state. This is the default.
1333-
</dd>
1334-
<dt>normal</dt>
1335-
<dd>
1336-
The IME state should be normal;
1337-
this value can be used in a user style sheet to override the page setting.
1338-
</dd>
1339-
<dt>active</dt>
1340-
<dd>
1341-
The input method editor is initially active;
1342-
text entry is performed using it unless the user specifically dismisses it.
1343-
</dd>
1344-
<dt>inactive</dt>
1345-
<dd>
1346-
The input method editor is initially inactive,
1347-
but the user may activate it if they wish.
1348-
</dd>
1349-
<dt>disabled</dt>
1350-
<dd>
1351-
The input method editor is disabled and may not be activated by the user.
1352-
</dd>
1353-
</dl>
1331+
Implementations must not add support for the ime-mode property.
13541332

1355-
<div class="example">
1356-
<p>Example: disabling input method support
1357-
<pre><code class="lang-markup">&lt;input type=&quot;text&quot; name=&quot;name&quot; value=&quot;initial value&quot; style=&quot;ime-mode: disabled&quot;&gt;
1358-
</code></pre>
1333+
Implementations should drop support for it as soon as possible.
13591334

1360-
This example disables input method support for a field;
1361-
this might be necessary for fields that enter data
1362-
into a database that doesn't support extended character sets,
1363-
for example.
1364-
</div>
1335+
Authors must not use the ime-mode property
13651336

1337+
Users may use the ime-mode property only for repair use-cases where they have to work around bad sites and legacy implementations, e.g. with a user style sheet rule like:
13661338
<div class="example">
13671339
<p>Example: user preference
13681340
<pre><code class="lang-css">input[type=password] {
13691341
ime-mode: auto&nbsp;!important;
13701342
}
13711343
</code></pre>
1344+
</div>
13721345

13731346
This example CSS may be placed into a user style sheet file to force password input fields to behave in a default manner.
1374-
</div>
13751347

1376-
Note: In general, it's not appropriate for a public web site
1377-
to manipulate the IME mode setting.
1378-
This property should be used for web applications and the like.
1379-
Authors should not rely on disabling IME
1380-
to prevent extended characters from passing through a form.
1381-
Even with IME disabled, users can still paste extended characters
1382-
into a form's fields.
1348+
This specification deliberately does not attempt to document the functionality of legacy ime-mode implementations nor what they specifically support because it does not make sense to pursue or recommend any such path.
1349+
13831350

1384-
Note: The 'ime-mode' property is at risk.
13851351

13861352
<hr title="Separator from footer">
13871353

@@ -1438,7 +1404,7 @@ or were insufficiently implemented to exit CR.
14381404
<!-- e.g. System Appearance -->
14391405
<li>Adding a small number of new but already interoperably
14401406
implemented features.
1441-
<!-- e.g. text-overflow, ime-mode -->
1407+
<!-- e.g. text-overflow -->
14421408

14431409
</ul>
14441410

@@ -1459,8 +1425,6 @@ interoperability problems and further details to explore/define.
14591425

14601426
<li>'cursor' property. Added detail about applying to the border, padding, and content areas of the element.
14611427

1462-
<li>'ime-mode' property - new!
1463-
14641428
<li>'text-overflow' property - new!
14651429

14661430
<li>2013-nov-28: 'nav-up', 'nav-right', 'nav-down', and 'nav-left' properties removed from the "at risk" list

0 commit comments

Comments
 (0)