From e0af8560c8116d77d4203ee5c887df7c4ab2d040 Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Wed, 29 Jan 2025 14:55:55 +0100 Subject: [PATCH 1/3] New app title feature --- features/application-title.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 features/application-title.yml diff --git a/features/application-title.yml b/features/application-title.yml new file mode 100644 index 00000000000..df66b3d29f2 --- /dev/null +++ b/features/application-title.yml @@ -0,0 +1,9 @@ +name: application-title +description: The `application-title` metadata name, used as ``, sets the text content that appears in the title bar of an installed web application. +# No spec yet. Inclusion in the HTML spec depends on multi-vendor implementation. +# See https://github.com/whatwg/html/issues/8909 +# So, for now, the Edge explainer is the closest thing to a spec. +spec: https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/DocumentSubtitle/explainer.md +group: progressive-web-app +compat_features: + - html.elements.meta.name.application-title From 286026383dc711e36d99afaa3ef221b298c51d7c Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Mon, 17 Feb 2025 15:09:40 +0100 Subject: [PATCH 2/3] Add spec exemption and gen dist --- features/application-title.yml.dist | 8 ++++++++ scripts/specs.ts | 4 ++++ 2 files changed, 12 insertions(+) create mode 100644 features/application-title.yml.dist diff --git a/features/application-title.yml.dist b/features/application-title.yml.dist new file mode 100644 index 00000000000..9ea63e4ea57 --- /dev/null +++ b/features/application-title.yml.dist @@ -0,0 +1,8 @@ +# Generated from: application-title.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: {} +compat_features: + - html.elements.meta.name.application-title diff --git a/scripts/specs.ts b/scripts/specs.ts index ce365f31370..1f86117dd61 100644 --- a/scripts/specs.ts +++ b/scripts/specs.ts @@ -108,6 +108,10 @@ const defaultAllowlist: allowlistItem[] = [ [ "https://www.w3.org/TR/DOM-Level-2-Style/", "Allowed because the css-object-model-discouraged feature points to it." + ], + [ + "https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/DocumentSubtitle/explainer.md", + "Allowed because this is where the application-title meta tag is spec'd at the moment. Remove when https://github.com/whatwg/html/issues/8909 is fixed." ] ]; From 677fe725f629ee0be2fc3c90ad73a8636c5a68a3 Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Thu, 27 Feb 2025 14:28:48 +0100 Subject: [PATCH 3/3] addressed review comments --- .../{application-title.yml => meta-application-title.yml} | 4 ++-- ...ication-title.yml.dist => meta-application-title.yml.dist} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename features/{application-title.yml => meta-application-title.yml} (64%) rename features/{application-title.yml.dist => meta-application-title.yml.dist} (78%) diff --git a/features/application-title.yml b/features/meta-application-title.yml similarity index 64% rename from features/application-title.yml rename to features/meta-application-title.yml index df66b3d29f2..bb8c602cb54 100644 --- a/features/application-title.yml +++ b/features/meta-application-title.yml @@ -1,5 +1,5 @@ -name: application-title -description: The `application-title` metadata name, used as ``, sets the text content that appears in the title bar of an installed web application. +name: '' +description: The `name="application-title"` attribute for the `` HTML element sets an installed web application's title bar text. # No spec yet. Inclusion in the HTML spec depends on multi-vendor implementation. # See https://github.com/whatwg/html/issues/8909 # So, for now, the Edge explainer is the closest thing to a spec. diff --git a/features/application-title.yml.dist b/features/meta-application-title.yml.dist similarity index 78% rename from features/application-title.yml.dist rename to features/meta-application-title.yml.dist index 9ea63e4ea57..f47580c262d 100644 --- a/features/application-title.yml.dist +++ b/features/meta-application-title.yml.dist @@ -1,4 +1,4 @@ -# Generated from: application-title.yml +# Generated from: meta-application-title.yml # Do not edit this file by hand. Edit the source file instead! status: