From ccdb16139a7b070385e9f8833e5c337d7eab9957 Mon Sep 17 00:00:00 2001 From: yamanoku <0910yama@gmail.com> Date: Thu, 24 Mar 2022 10:34:42 +0900 Subject: [PATCH 1/2] ignore: hidden value until-found --- normalize.css | 3 ++- test.html | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/normalize.css b/normalize.css index 192eb9ce4..ed9c4de84 100644 --- a/normalize.css +++ b/normalize.css @@ -342,8 +342,9 @@ template { /** * Add the correct display in IE 10. + * Except `hidden="until-found"` because `content-visibility: hidden` is applied. */ -[hidden] { +[hidden]:not([hidden="until-found"]) { display: none; } diff --git a/test.html b/test.html index 615b08326..25a9696d7 100644 --- a/test.html +++ b/test.html @@ -142,6 +142,7 @@

{{title}}

+

a

From ddcc662feff52a53aff61cb509a188d5a68bcb96 Mon Sep 17 00:00:00 2001 From: Okuto Oyama <0910yama@gmail.com> Date: Sat, 11 Jun 2022 09:15:12 +0900 Subject: [PATCH 2/2] Update normalize.css Co-authored-by: Thibaud Colas --- normalize.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/normalize.css b/normalize.css index ed9c4de84..4e22a4cc5 100644 --- a/normalize.css +++ b/normalize.css @@ -345,6 +345,10 @@ template { * Except `hidden="until-found"` because `content-visibility: hidden` is applied. */ -[hidden]:not([hidden="until-found"]) { +[hidden] { display: none; } + +[hidden="until-found"] { + display: revert; +}