Skip to content

Commit f2a6e28

Browse files
committed
[css-forms-1][editorial] markdown fixes
1 parent e330aa0 commit f2a6e28

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

css-forms-1/Overview.bs

+16-16
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ spec:css-forms-1; type:value; for:/; text:::placeholder
3838
implementing custom controls from scratch, which was a lot of work,
3939
hard to get right, and often broke either accessibility or platform conventions.
4040

41-
# Opting Into [=Basic Appearance=]: the ''appearance: base'' value {#appearance}
41+
# Opting Into [=Basic Appearance=]: the ''appearance: base'' value # {#appearance}
4242

4343
ISSUE: Move definition of ''appearance'' here.
4444

@@ -81,7 +81,7 @@ spec:css-forms-1; type:value; for:/; text:::placeholder
8181

8282
For HTML form controls specifically, these principles are applied through the required user agent stylesheet defined in [[#basic-appearance-stylesheet]].
8383

84-
## Examples {#ex-appearance}
84+
## Examples ## {#ex-appearance}
8585

8686
ISSUE: Refine these examples through implementation, experimentation, bikeshedding and improvements to the user agent stylesheet.
8787

@@ -97,14 +97,14 @@ spec:css-forms-1; type:value; for:/; text:::placeholder
9797

9898
NOTE: The form layout used by the following examples is not detailed.
9999

100-
### Default User Agent Colors {#colors}
100+
### Default User Agent Colors ### {#colors}
101101

102102
Here are the [=basic appearance=] colors inheriting respectively the default light and dark mode colors from the root element:
103103

104104
<img src="images/base-screenshot.png" style="width: 50%; height: auto;" alt="Screenshot of the basic appearance with a light color scheme">
105105
<img src="images/base-screenshot-dark.png" style="width: 50%; height: auto;" alt="Screenshot of the basic appearance with a dark color scheme">
106106

107-
### Color/Font Customization {#custom}
107+
### Color/Font Customization ### {#custom}
108108

109109
Here are some examples of customization being done on top of the [=basic appearance=]:
110110

@@ -141,9 +141,9 @@ spec:css-forms-1; type:value; for:/; text:::placeholder
141141
<img src="images/base-example-2.png" style="width: 100%; height: auto;" alt="Screenshot of a customized basic appearance with green text and a black background">
142142
</div>
143143

144-
# Styling Pickers {#pickers}
144+
# Styling Pickers # {#pickers}
145145

146-
## The ''::picker()'' pseudo-element {#picker-pseudo}
146+
## The ''::picker()'' pseudo-element ## {#picker-pseudo}
147147

148148
The <dfn>::picker()</dfn> pseudo-element represents the part of the form control that pops out of the page.
149149

@@ -298,7 +298,7 @@ spec:css-forms-1; type:value; for:/; text:::placeholder
298298

299299
ISSUE: Add illustrations.
300300

301-
## Picker Opener Icon: the ''::picker-icon'' pseudo-element {#picker-icon}
301+
## Picker Opener Icon: the ''::picker-icon'' pseudo-element ## {#picker-icon}
302302

303303
The <dfn>::picker-icon</dfn> pseudo-element represents the part of the control that represents the icon denoting the presence of the picker.
304304
It is only generated when the [=originating element=] has [=basic appearance=] and if it opens a picker.
@@ -322,7 +322,7 @@ spec:css-forms-1; type:value; for:/; text:::placeholder
322322
<pre class="lang-css">::file-selector-button { border: 3px solid green }</pre>
323323
</div>
324324

325-
## Styling Checkmarks: the ''::checkmark'' pseudo-element {#checkmark}
325+
## Styling Checkmarks: the ''::checkmark'' pseudo-element ## {#checkmark}
326326

327327
The <dfn>::checkmark</dfn> pseudo-element represents an indicator of whether the item is checked, and is present on checkboxes, radios, and option elements.
328328

@@ -570,7 +570,7 @@ spec:css-forms-1; type:value; for:/; text:::placeholder
570570

571571
# Pseudo-Classes # {#pseudo-classes}
572572

573-
## Targeting Different Meter States: the '':low-value'' / '':high-value'' / '':optimal-value'' pseudo-classes {#meter-values}
573+
## Targeting Different Meter States: the '':low-value'' / '':high-value'' / '':optimal-value'' pseudo-classes ## {#meter-values}
574574

575575
ISSUE(11336): Make sure this is able to replicate UA logic.
576576

@@ -582,11 +582,11 @@ spec:css-forms-1; type:value; for:/; text:::placeholder
582582

583583
The <dfn>:optimal-value</dfn> pseudo-class matches on a <{meter}> element when its value is in the range determined by the `optimum` / `low` / `high` HTML attributes.
584584

585-
## Targeting Selects that are Listboxes {#selects-listboxes}
585+
## Targeting Selects that are Listboxes ## {#selects-listboxes}
586586

587587
ISSUE(7422): Define something.
588588

589-
# The ''control-value()'' function {#control-value}
589+
# The ''control-value()'' function # {#control-value}
590590

591591
ISSUE: This is not ready for implementation, file an issue regarding this.
592592

@@ -664,7 +664,7 @@ spec:css-forms-1; type:value; for:/; text:::placeholder
664664

665665
ISSUE(11837): Color input styles need refining.
666666

667-
## Basics {#stylesheet-basics}
667+
## Basics ## {#stylesheet-basics}
668668

669669
```css
670670
input,
@@ -681,7 +681,7 @@ progress {
681681
}
682682
```
683683

684-
## Layout {#stylesheet-layout}
684+
## Layout ## {#stylesheet-layout}
685685
```css
686686
input:not([type=file], [type=range]),
687687
textarea,
@@ -696,7 +696,7 @@ progress {
696696
}
697697
```
698698

699-
## Sliders {#stylesheet-sliders}
699+
## Sliders ## {#stylesheet-sliders}
700700

701701
ISSUE: Refine meter, progress, switch and range input styling.
702702

@@ -720,7 +720,7 @@ ISSUE: Refine meter, progress, switch and range input styling.
720720
}
721721
```
722722

723-
## Checkboxes & radios {#stylesheet-checkbox-radio}
723+
## Checkboxes & radios ## {#stylesheet-checkbox-radio}
724724

725725
```css
726726
input:is([type=checkbox]:not([switch]), [type=radio]) {
@@ -748,7 +748,7 @@ input[type=radio]:checked::checkmark {
748748
width: 100%;
749749
}
750750
```
751-
## Selects & buttons {#stylesheet-select-button}
751+
## Selects & buttons ## {#stylesheet-select-button}
752752

753753
```css
754754
select {

0 commit comments

Comments
 (0)