From ddb5a8867a67f606f9aba8abca5682903bca8640 Mon Sep 17 00:00:00 2001 From: Alexandre Lotte <14101189+loteoo@users.noreply.github.com> Date: Sat, 23 Oct 2021 21:38:35 -0400 Subject: [PATCH] Added 2 elements in the `vertical-align` selector. Added `embed` and `object` elements in the `vertical-align: middle;` selector. Similarly as https://github.com/csstools/sanitize.css/pull/205, although they are seldom used, I believe these 2 extra elements should share the same `vertical-align: middle` as the others. --- sanitize.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanitize.css b/sanitize.css index 53de7e9..2348af7 100644 --- a/sanitize.css +++ b/sanitize.css @@ -161,7 +161,7 @@ * Change the alignment on media elements in all browsers (opinionated). */ -:where(audio, canvas, iframe, img, svg, video) { +:where(img, svg, video, audio, canvas, iframe, embed, object) { vertical-align: middle; }