Skip to content

Commit 5bd1627

Browse files
committed
[css-ui] Avoid unnecessary cascading in default HTML stylesheet
Stop defining a white-space on button,textarea only to immediately override it with a different value. See: * https://github.com/w3c/csswg-drafts/blob/cb0c4d3eb1c8b7095591e20549d89708fbc15e14/css-ui/Overview.bs#L1636-L1640 * https://github.com/w3c/csswg-drafts/blob/cb0c4d3eb1c8b7095591e20549d89708fbc15e14/css-ui/Overview.bs#L1664-L1667
1 parent cb0c4d3 commit 5bd1627

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

css-ui/Overview.bs

+12
Original file line numberDiff line numberDiff line change
@@ -1630,6 +1630,18 @@ input[type=password],
16301630
input[type=image]
16311631
{
16321632
display: inline-block;
1633+
}
1634+
1635+
input[type=button],
1636+
input[type=reset],
1637+
input[type=submit],
1638+
input[type=checkbox],
1639+
input[type=radio],
1640+
input,
1641+
input[type=text],
1642+
input[type=password],
1643+
input[type=image]
1644+
{
16331645
white-space: nowrap;
16341646
}
16351647

0 commit comments

Comments
 (0)