Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ef3efb9

Browse files
committed
Clarify spec version
HTML 5.2 allows placing `figcaption` element anywhere inside of `figure` element.
1 parent b10b694 commit ef3efb9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.ja.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ Good:
834834

835835
### `figcaption`要素は`figure`要素の最初か最後に置く
836836

837-
仕様では`figcaption`要素を`figure`要素の中ほどに置くことは許可されていません。
837+
仕様(WHATWG版)では`figcaption`要素を`figure`要素の中ほどに置くことは許可されていません。
838838

839839
Bad:
840840

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,8 @@ Good:
842842

843843
### Place `figcaption` element as first or last child of `figure` element
844844

845-
Spec disallows `figcaption` element in the middle of `figure` element.
845+
Spec (WHATWG version) disallows `figcaption` element in the middle of `figure`
846+
element.
846847

847848
Bad:
848849

0 commit comments

Comments
 (0)