From 630ed2937eb281cefe187221b2b3ad651146d8f6 Mon Sep 17 00:00:00 2001 From: ericjohn Date: Mon, 21 Oct 2024 17:41:05 -0400 Subject: [PATCH] source elements within a picture element can contain width/height. See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#sizes. --- sass/themes/_error.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sass/themes/_error.scss b/sass/themes/_error.scss index 2afcf672..b92b032a 100644 --- a/sass/themes/_error.scss +++ b/sass/themes/_error.scss @@ -877,8 +877,8 @@ Therefore it shouldn't be used in markup, except for ``. Use CSS instead. ### Selector ```css -:not(img, object, embed, svg, canvas)[width], -:not(img, object, embed, svg, canvas)[height] +:not(img, object, embed, svg, canvas, picture > source)[width], +:not(img, object, embed, svg, canvas, picture > source)[height] ``` ### Test @@ -886,8 +886,8 @@ Therefore it shouldn't be used in markup, except for ``. Use CSS instead.

Damned! I feel sooo strait :(

``` */ -:not(img, object, embed, svg, canvas)[width], -:not(img, object, embed, svg, canvas)[height] { +:not(img, object, embed, svg, canvas, picture > source)[width], +:not(img, object, embed, svg, canvas, picture > source)[height] { @include error('dimensions'); @include void-tags {