Skip to content

Commit bc3d350

Browse files
committed
tabular-nums
1 parent 4077e63 commit bc3d350

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+54
-49
lines changed

src/range.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {html} from "htl";
22
import {preventDefault} from "./event.js";
33
import {formatNumber} from "./format.js";
4-
import {boxSizing, defaultStyle, textStyle, mr1, mr2} from "./style.js";
4+
import {boxSizing, defaultStyle, numberStyle, mr1, mr2} from "./style.js";
55

66
export function Range([min, max] = [0, 1], {
77
format = d => formatNumber(d).replace(/,/g, ""), // number is strict!
@@ -14,7 +14,7 @@ export function Range([min, max] = [0, 1], {
1414
const {width = "180px", ...formStyle} = style;
1515
const form = html`<form style=${{...defaultStyle, ...formStyle}} onsubmit=${preventDefault}>
1616
<input type=range name=range oninput=${onrange} style=${{...mr2, ...boxSizing, width}}>
17-
<input type=number name=number oninput=${onnumber} style=${{...textStyle, ...mr1, width: "8ch"}}>${label}
17+
<input type=number name=number oninput=${onnumber} style=${{...numberStyle, ...mr1, width: "8ch"}}>${label}
1818
</form>`;
1919
const {range, number} = form.elements;
2020
number.min = range.min = min = +min;

src/style.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,8 @@ export const boxSizing = {
2020
export const textStyle = {
2121
font: "inherit"
2222
};
23+
24+
export const numberStyle = {
25+
...textStyle,
26+
fontVariantNumeric: "tabular-nums"
27+
};

test/output/range.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<input type="range" name="range" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;" min="0" max="1" step="any">
3-
<input type="number" name="number" style="margin-right: 0.25em; width: 8ch;" min="0" max="1" step="any">
3+
<input type="number" name="number" style="font-variant-numeric: tabular-nums; margin-right: 0.25em; width: 8ch;" min="0" max="1" step="any">
44
</form>

test/output/range100.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<input type="range" name="range" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;" min="0" max="100" step="1">
3-
<input type="number" name="number" style="margin-right: 0.25em; width: 8ch;" min="0" max="100" step="1">
3+
<input type="number" name="number" style="font-variant-numeric: tabular-nums; margin-right: 0.25em; width: 8ch;" min="0" max="100" step="1">
44
</form>

test/output/rangeFixed.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<input type="range" name="range" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;" min="0" max="1" step="any">
3-
<input type="number" name="number" style="margin-right: 0.25em; width: 8ch;" min="0" max="1" step="any">
3+
<input type="number" name="number" style="font-variant-numeric: tabular-nums; margin-right: 0.25em; width: 8ch;" min="0" max="1" step="any">
44
</form>

test/output/rangeLabel.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<input type="range" name="range" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;" min="0" max="1" step="any">
3-
<input type="number" name="number" style="margin-right: 0.25em; width: 8ch;" min="0" max="1" step="any">dollars&amp;pounds
3+
<input type="number" name="number" style="font-variant-numeric: tabular-nums; margin-right: 0.25em; width: 8ch;" min="0" max="1" step="any">dollars&amp;pounds
44
</form>

test/output/rangeLabelHtml.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<input type="range" name="range" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;" min="0" max="1" step="any">
3-
<input type="number" name="number" style="margin-right: 0.25em; width: 8ch;" min="0" max="1" step="any"><b>intensity</b>
3+
<input type="number" name="number" style="font-variant-numeric: tabular-nums; margin-right: 0.25em; width: 8ch;" min="0" max="1" step="any"><b>intensity</b>
44
</form>

test/output/rangeStyle.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px; background: red;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px; background: red;">
22
<input type="range" name="range" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;" min="0" max="1" step="any">
3-
<input type="number" name="number" style="margin-right: 0.25em; width: 8ch;" min="0" max="1" step="any">
3+
<input type="number" name="number" style="font-variant-numeric: tabular-nums; margin-right: 0.25em; width: 8ch;" min="0" max="1" step="any">
44
</form>

test/output/rangeWide.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<input type="range" name="range" style="margin-right: 0.5em; box-sizing: border-box; width: 20em;" min="0" max="1" step="any">
3-
<input type="number" name="number" style="margin-right: 0.25em; width: 8ch;" min="0" max="1" step="any">
3+
<input type="number" name="number" style="font-variant-numeric: tabular-nums; margin-right: 0.25em; width: 8ch;" min="0" max="1" step="any">
44
</form>

test/output/search.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<input name="input" type="search" placeholder="Search" value="" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;"><output name="output" style="margin-right: 0.25em;"></output><span style="display: none;">results</span>
33
</form>

test/output/searchFormat.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<input name="input" type="search" placeholder="Search" value="b" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;"><output name="output" style="margin-right: 0.25em;">&gt;1</output><span style="display: inline;">results</span>
33
</form>

test/output/searchLabel.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<input name="input" type="search" placeholder="Search" value="" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;"><output name="output" style="margin-right: 0.25em;"></output><span style="display: none;">dollars&amp;pounds</span>
33
</form>

test/output/searchLabelHtml.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<input name="input" type="search" placeholder="Search" value="" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;"><output name="output" style="margin-right: 0.25em;"></output><span style="display: none;"><b>color</b></span>
33
</form>

test/output/searchLabelValue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<input name="input" type="search" placeholder="Search" value="bl" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;"><output name="output" style="margin-right: 0.25em;">2</output><span style="display: inline;">colors</span>
33
</form>

test/output/searchPlaceholder.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<input name="input" type="search" placeholder="dollars&amp;pounds" value="" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;"><output name="output" style="margin-right: 0.25em;"></output><span style="display: none;">results</span>
33
</form>

test/output/searchSpellcheck.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<input name="input" type="search" spellcheck="false" placeholder="Search" value="" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;"><output name="output" style="margin-right: 0.25em;"></output><span style="display: none;">results</span>
33
</form>

test/output/searchStyle.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px; background: red;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px; background: red;">
22
<input name="input" type="search" placeholder="Search" value="" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;"><output name="output" style="margin-right: 0.25em;"></output><span style="display: none;">results</span>
33
</form>

test/output/searchValue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<input name="input" type="search" placeholder="Search" value="bl" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;"><output name="output" style="margin-right: 0.25em;">2</output><span style="display: inline;">results</span>
33
</form>

test/output/searchWide.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<input name="input" type="search" placeholder="Search" value="" style="margin-right: 0.5em; box-sizing: border-box; width: 20em;"><output name="output" style="margin-right: 0.25em;"></output><span style="display: none;">results</span>
33
</form>

test/output/select.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>red</option>
44
<option>green</option>

test/output/selectFormat.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>RED</option>
44
<option>GREEN</option>

test/output/selectLabel.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>red</option>
44
<option>green</option>

test/output/selectLabelHtml.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>red</option>
44
<option>green</option>

test/output/selectMap.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>red</option>
44
<option>green</option>

test/output/selectMapKey.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>red</option>
44
<option selected="">green</option>

test/output/selectMapValue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>red</option>
44
<option selected="">green</option>

test/output/selectMultiple.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select multiple="" size="3" name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>red</option>
44
<option>green</option>

test/output/selectMultipleLong.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select multiple="" size="10" name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>A</option>
44
<option>B</option>

test/output/selectMultipleMapKey.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select multiple="" size="3" name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option selected="">red</option>
44
<option>green</option>

test/output/selectMultipleMapValue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select multiple="" size="3" name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option selected="">red</option>
44
<option>green</option>

test/output/selectMultipleSize.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select multiple="" size="5" name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>red</option>
44
<option>green</option>

test/output/selectMultipleValue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select multiple="" size="3" name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option selected="">red</option>
44
<option>green</option>

test/output/selectSortAscending.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>A</option>
44
<option>B</option>

test/output/selectSortDescending.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>Z</option>
44
<option>Y</option>

test/output/selectSortFalse.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>C</option>
44
<option>X</option>

test/output/selectSortFormat.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>a</option>
44
<option>b</option>

test/output/selectSortFunction.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>A</option>
44
<option>B</option>

test/output/selectSortTrue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>A</option>
44
<option>B</option>

test/output/selectStyle.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>red</option>
44
<option>green</option>

test/output/selectUnique.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>red</option>
44
<option>green</option>

test/output/selectUniqueFormat.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>red</option>
44
<option>green</option>

test/output/selectValue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form style="display: flex; align-items: center; min-height: 33px; font: var(--sans-serif) 13px 13px;">
1+
<form style="display: flex; align-items: center; min-height: 25.5px; font: var(--sans-serif) 13px 13px;">
22
<select name="input" style="margin-right: 0.5em; box-sizing: border-box; width: 180px;">
33
<option>red</option>
44
<option selected="">green</option>

0 commit comments

Comments
 (0)