Skip to content

Commit 0185993

Browse files
committed
[css-ui-4] Define rendering behavior for <input>
Closes #1941
1 parent 0fe2419 commit 0185993

File tree

3 files changed

+50
-2
lines changed

3 files changed

+50
-2
lines changed

css-ui-4/Overview.bs

+34-2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ Coding style convention in this file:
1414
* Indent the content of <div class=note> and <div class=example>
1515
-->
1616

17+
<pre class="anchors">
18+
spec: css2; urlPrefix: https://drafts.csswg.org/css2/
19+
urlPrefix: box.html
20+
type: dfn;
21+
text: content edge;
22+
text: padding edge;
23+
</pre>
24+
1725
<pre class='metadata'>
1826
Title: CSS Basic User Interface Module Level 4
1927
ED: https://drafts.csswg.org/css-ui-4/
@@ -2562,6 +2570,23 @@ is also not changed by the 'appearance' property.
25622570
and activating (for example by clicking) the element would toggle the state as usual.
25632571
</div>
25642572

2573+
<h3 id=control-specific-rules>
2574+
Form Control Specific Rules</h3>
2575+
2576+
<h4 id=input-rules>
2577+
Single-Line Text Input Controls</h4>
2578+
2579+
When 'appearance' is ''appearance/auto'',
2580+
single-line text input controls
2581+
such as [[!HTML]] <code highlight=html>&lt;input type=text></code>
2582+
must be rendered so that:
2583+
2584+
* The content is clipped in the inline direction to the <a>content edge</a>
2585+
* The content is clipped in the block direction to the <a>padding edge</a>
2586+
* The content is vertically centered
2587+
* The content does not wrap
2588+
* The 'line-height' property has no effect
2589+
* The 'text-overflow' property applies regardless of the value of the 'overflow' property
25652590

25662591
<hr title="Separator from footer">
25672592

@@ -2626,8 +2651,15 @@ and
26262651

26272652
This appendix is <em>informative</em>.
26282653

2629-
This appendix describes functional changes from the
2630-
<a href="https://www.w3.org/TR/2015/WD-css-ui-4-20150922/">22 Sep 2015 First Public Working Draft</a>.
2654+
<h3 id=changes-22-12-2017 class=no-num>Changes from the
2655+
<a href="https://www.w3.org/TR/2017/WD-css-ui-4-20171222/">22 December 2017 Working Draft</a></h3>
2656+
2657+
<ul>
2658+
<li>Added details about form control specific rendering rules
2659+
</ul>
2660+
2661+
<h3 id=changes-22-09-2015 class=no-num>Changes from the
2662+
<a href="https://www.w3.org/TR/2015/WD-css-ui-4-20150922/">22 Sep 2015 First Public Working Draft</a></h3>
26312663

26322664
<ul>
26332665
<li>

css-ui-4/issues-fpwd-2015.html

+8
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,14 @@ <h1>CSS Basic User Interface Module Level 4 Disposition of Comments for 2015-09-
106106
Response: <a href='https://github.com/w3c/csswg-drafts/issues/2125#issuecomment-356971335'>https://github.com/w3c/csswg-drafts/issues/2125#issuecomment-356971335</a>
107107
Closed: Accepted
108108
Resolved: Editorial</pre>
109+
<pre class='a' id='issue-10'>
110+
Issue 10. <a href='#issue-10'>#</a>
111+
Summary: Rendering of &lt;input> is weird and undefined
112+
From: isangelawu
113+
Comment: <a href='https://github.com/w3c/csswg-drafts/issues/1941'>https://github.com/w3c/csswg-drafts/issues/1941</a>
114+
Response: <a href='https://github.com/w3c/csswg-drafts/issues/1941#issuecomment-345380779'>https://github.com/w3c/csswg-drafts/issues/1941#issuecomment-345380779</a>
115+
Closed: Accepted
116+
Resolved: <a href='https://github.com/w3c/csswg-drafts/issues/1941#issuecomment-356685574'>https://github.com/w3c/csswg-drafts/issues/1941#issuecomment-356685574</a></pre>
109117
<script>
110118
(function () {
111119
var sheet = document.styleSheets[0];

css-ui-4/issues-fpwd-2015.txt

+8
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,11 @@ Comment: https://github.com/w3c/csswg-drafts/issues/2125
8282
Response: https://github.com/w3c/csswg-drafts/issues/2125#issuecomment-356971335
8383
Closed: Accepted
8484
Resolved: Editorial
85+
----
86+
Issue 10.
87+
Summary: Rendering of <input> is weird and undefined
88+
From: isangelawu
89+
Comment: https://github.com/w3c/csswg-drafts/issues/1941
90+
Response: https://github.com/w3c/csswg-drafts/issues/1941#issuecomment-345380779
91+
Closed: Accepted
92+
Resolved: https://github.com/w3c/csswg-drafts/issues/1941#issuecomment-356685574

0 commit comments

Comments
 (0)