Skip to content

Commit

Permalink
source elements within a picture element can contain width/height. See:
Browse files Browse the repository at this point in the history
  • Loading branch information
johns996 authored and ffoodd committed Oct 23, 2024
1 parent e6d3222 commit 1dedfcb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sass/themes/_error.scss
Original file line number Diff line number Diff line change
Expand Up @@ -877,17 +877,17 @@ Therefore it shouldn't be used in markup, except for `<img>`. 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
``` html
<p width="20">Damned! I feel sooo strait :(</p>
```
*/
: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 {
Expand Down

0 comments on commit 1dedfcb

Please sign in to comment.