Skip to content

Commit 1dedfcb

Browse files
johns996ffoodd
authored andcommitted
source elements within a picture element can contain width/height. See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#sizes.
1 parent e6d3222 commit 1dedfcb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

sass/themes/_error.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -877,17 +877,17 @@ Therefore it shouldn't be used in markup, except for `<img>`. Use CSS instead.
877877
878878
### Selector
879879
```css
880-
:not(img, object, embed, svg, canvas)[width],
881-
:not(img, object, embed, svg, canvas)[height]
880+
:not(img, object, embed, svg, canvas, picture > source)[width],
881+
:not(img, object, embed, svg, canvas, picture > source)[height]
882882
```
883883
884884
### Test
885885
``` html
886886
<p width="20">Damned! I feel sooo strait :(</p>
887887
```
888888
*/
889-
:not(img, object, embed, svg, canvas)[width],
890-
:not(img, object, embed, svg, canvas)[height] {
889+
:not(img, object, embed, svg, canvas, picture > source)[width],
890+
:not(img, object, embed, svg, canvas, picture > source)[height] {
891891
@include error('dimensions');
892892

893893
@include void-tags {

0 commit comments

Comments
 (0)