app/assets/stylesheets/_reset.css in css-zero-0.0.15 vs app/assets/stylesheets/_reset.css in css-zero-0.0.16
- old
+ new
@@ -58,11 +58,11 @@
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Reset the default border style to a 1px solid border.
*/
hr {
- height: 0; /* 1 */
+ block-size: 0; /* 1 */
color: inherit; /* 2 */
border-block-start-width: 1px; /* 3 */
}
/*
@@ -153,15 +153,15 @@
position: relative;
vertical-align: baseline;
}
sub {
- bottom: -0.25em;
+ inset-block-end: -0.25em;
}
sup {
- top: -0.5em;
+ inset-block-start: -0.5em;
}
/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
@@ -240,11 +240,11 @@
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
- height: auto;
+ block-size: auto;
}
/*
Remove the inner padding in Chrome and Safari on macOS.
*/
@@ -319,11 +319,11 @@
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/
img,
video {
- max-width: 100%;
- height: auto;
+ max-inline-size: 100%;
+ block-size: auto;
}
/*
Make elements with the HTML hidden attribute stay hidden by default.
*/