Skip to content

Commit da3a761

Browse files
Update CHANGELOG.md
1 parent 40eef30 commit da3a761

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## 1.0.17
4+
Added a new rule [htmlacademy/req-source-width-height](rules/req-source-width-height/README.md) that requires the `width` and `height` attributes of `<source>`, inside `<picture>`.
5+
6+
```json
7+
{
8+
"htmlacademy/req-source-width-height": true
9+
}
10+
```
11+
12+
```html
13+
<picture>
14+
<source srcset="images/image-tablet.jpg" width="768" height="480" media="(min-width: 768px)">
15+
<img src="images/image-mobile.jpg" width="320" height="148" alt="">
16+
</picture>
17+
```
18+
319
## 1.0.16
420
Clarifies the [no-blocking-script](rules/no-blocking-script/README.md) rule for the `<script>` tag. You can now add modules to `<head>`.
521

0 commit comments

Comments
 (0)