From 279b3fb4f35b71576eb8f93c877901af190f8945 Mon Sep 17 00:00:00 2001 From: Michael Maxwell Date: Sun, 21 Feb 2021 19:28:25 -0800 Subject: [PATCH 1/4] Delete summary::-webkit-details-marker from _print.css --- src/parts/_print.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/parts/_print.css b/src/parts/_print.css index b088192..d8239cf 100644 --- a/src/parts/_print.css +++ b/src/parts/_print.css @@ -38,10 +38,6 @@ color: #000; } - summary::-webkit-details-marker { - color: #000; - } - tbody tr:nth-child(even) { background-color: #f2f2f2; } From c157bcf1146bf3ea4f09d97f1e5637b98f05eb1e Mon Sep 17 00:00:00 2001 From: Michael Maxwell Date: Sun, 21 Feb 2021 19:30:15 -0800 Subject: [PATCH 2/4] Replace summary::-webkit-details-marker with summary::marker in _misc.css --- src/parts/_misc.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parts/_misc.css b/src/parts/_misc.css index 04d9a02..4c9b9c0 100644 --- a/src/parts/_misc.css +++ b/src/parts/_misc.css @@ -113,7 +113,7 @@ details > :not(summary) { margin-top: 0; } -summary::-webkit-details-marker { +summary::marker { color: var(--text-main); } From bc30b7b0ad30cdb2a23d5b2b0a382202c893cc7a Mon Sep 17 00:00:00 2001 From: Michael Maxwell Date: Sun, 21 Feb 2021 23:39:27 -0800 Subject: [PATCH 3/4] Added changeset --- .changeset/breezy-cows-do.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/breezy-cows-do.md diff --git a/.changeset/breezy-cows-do.md b/.changeset/breezy-cows-do.md new file mode 100644 index 0000000..532c63e --- /dev/null +++ b/.changeset/breezy-cows-do.md @@ -0,0 +1,5 @@ +--- +"water.css": patch +--- + +Replace deprecated ::-webkit-details-marker From 8edc2a8cdc434e4aead4d63d0a8e1d1628510d95 Mon Sep 17 00:00:00 2001 From: Felix Mattick Date: Thu, 20 Jan 2022 15:52:07 -0600 Subject: [PATCH 4/4] Add legacy prefixed version back --- src/parts/_misc.css | 3 ++- src/parts/_print.css | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/parts/_misc.css b/src/parts/_misc.css index 4c9b9c0..b3e5fa8 100644 --- a/src/parts/_misc.css +++ b/src/parts/_misc.css @@ -113,7 +113,8 @@ details > :not(summary) { margin-top: 0; } -summary::marker { +summary::marker, +summary::-webkit-details-marker /* isn't autoprefixed, kept for backwards compatibility */ { color: var(--text-main); } diff --git a/src/parts/_print.css b/src/parts/_print.css index d8239cf..0717135 100644 --- a/src/parts/_print.css +++ b/src/parts/_print.css @@ -34,7 +34,8 @@ color: #000; } - summary::marker { + summary::marker, + summary::-webkit-details-marker /* isn't autoprefixed, kept for backwards compatibility */ { color: #000; }