1- /*! sanitize.css v7.0.1 | CC0 License | github.com/csstools/sanitize.css */
1+ /*! sanitize.css v7.0.2 | CC0 License | github.com/csstools/sanitize.css */
22
33/* Document
44 * ========================================================================== */
@@ -279,26 +279,26 @@ table {
279279 * ========================================================================== */
280280
281281/**
282- * Remove the margin in Safari .
282+ * Inherit styling in all browsers (opinionated) .
283283 */
284284
285285button ,
286286input ,
287- select {
288- margin : 0 ;
287+ select ,
288+ textarea {
289+ font-family : inherit;
290+ font-size : inherit;
291+ line-height : inherit;
289292}
290293
291294/**
292- * Inherit styling in all browsers (opinionated) .
295+ * Remove the margin in Safari .
293296 */
294297
295298button ,
296299input ,
297- select ,
298- textarea {
299- font-family : inherit;
300- font-size : inherit;
301- line-height : inherit;
300+ select {
301+ margin : 0 ;
302302}
303303
304304/**
@@ -389,15 +389,6 @@ textarea {
389389 padding : 0 ;
390390}
391391
392- /**
393- * Correct the cursor style of increment and decrement buttons in Safari.
394- */
395-
396- ::-webkit-inner-spin-button ,
397- ::-webkit-outer-spin-button {
398- height : auto;
399- }
400-
401392/**
402393 * 1. Correct the odd appearance in Chrome and Safari.
403394 * 2. Correct the outline style in Safari.
@@ -408,6 +399,15 @@ textarea {
408399 outline-offset : -2px ; /* 2 */
409400}
410401
402+ /**
403+ * Correct the cursor style of increment and decrement buttons in Safari.
404+ */
405+
406+ ::-webkit-inner-spin-button ,
407+ ::-webkit-outer-spin-button {
408+ height : auto;
409+ }
410+
411411/**
412412 * Correct the text style of placeholders in Chrome, Edge, and Safari.
413413 */
@@ -435,6 +435,23 @@ textarea {
435435 font : inherit; /* 2 */
436436}
437437
438+ /**
439+ * Remove the inner border and padding of focus outlines in Firefox.
440+ */
441+
442+ ::-moz-focus-inner {
443+ border-style : none;
444+ padding : 0 ;
445+ }
446+
447+ /**
448+ * Restore the focus outline styles unset by the previous rule in Firefox.
449+ */
450+
451+ : -moz-focusring {
452+ outline : 1px dotted ButtonText;
453+ }
454+
438455/* Interactive
439456 * ========================================================================== */
440457
0 commit comments