From 39697271a25dece4834d5190cc13fb7ac084627b Mon Sep 17 00:00:00 2001 From: Pete LePage Date: Thu, 11 Jul 2024 14:20:08 -0400 Subject: [PATCH 1/2] Add
and
--- features/{draft/html-elements => }/figure.yml | 3 +-- features/{draft/html-elements => }/figure.yml.dist | 0 2 files changed, 1 insertion(+), 2 deletions(-) rename features/{draft/html-elements => }/figure.yml (69%) rename features/{draft/html-elements => }/figure.yml.dist (100%) diff --git a/features/draft/html-elements/figure.yml b/features/figure.yml similarity index 69% rename from features/draft/html-elements/figure.yml rename to features/figure.yml index 971a5994dea..96f9df9971e 100644 --- a/features/draft/html-elements/figure.yml +++ b/features/figure.yml @@ -1,6 +1,5 @@ -draft_date: 2024-06-05 name:
-description: The `
` element TODO. +description: The `
` HTML element represents self-contained content, potentially with an optional `
`. spec: - https://html.spec.whatwg.org/multipage/grouping-content.html#the-figcaption-element - https://html.spec.whatwg.org/multipage/grouping-content.html#the-figure-element diff --git a/features/draft/html-elements/figure.yml.dist b/features/figure.yml.dist similarity index 100% rename from features/draft/html-elements/figure.yml.dist rename to features/figure.yml.dist From b6243c5624c8df8a7b4e7017c418f27433abd5d6 Mon Sep 17 00:00:00 2001 From: Pete LePage Date: Mon, 15 Jul 2024 15:27:39 -0400 Subject: [PATCH 2/2] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Daniel D. Beck Co-authored-by: Philip Jägenstedt --- features/figure.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/figure.yml b/features/figure.yml index 96f9df9971e..1e259ca5a74 100644 --- a/features/figure.yml +++ b/features/figure.yml @@ -1,8 +1,8 @@ -name:
-description: The `
` HTML element represents self-contained content, potentially with an optional `
`. +name:
and
+description: The `
` and `
` HTML elements represent an illustration, diagram, text, or other self-contained reference content, with an optional caption. spec: - - https://html.spec.whatwg.org/multipage/grouping-content.html#the-figcaption-element - https://html.spec.whatwg.org/multipage/grouping-content.html#the-figure-element + - https://html.spec.whatwg.org/multipage/grouping-content.html#the-figcaption-element group: html compat_features: - html.elements.figcaption