Skip to content

Commit 2cd01ce

Browse files
authored
Details about blank/empty content (#853)
* Update explainer.md adds a bullet to specify what happens if the content is blank or empty * Update explainer.md
1 parent 3f3006b commit 2cd01ce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

DocumentSubtitle/explainer.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To fix this situation, we require a bucket to store this contextual information.
3434
## Use Cases
3535
This will allow developers 2 cases for the standard title bar.
3636
1. Installed web apps that only have the app’s name as define in the manifest file.
37-
* Useful to replicate some native experiences that only have the app’s name in the title bar (This is the default behaviour for web apps that do not specify the app-title meta tag or define it through the JS API).
37+
* Useful to replicate some native experiences that only have the app’s name in the title bar (This is the default behaviour for web apps that do not specify the app-title meta tag or set the content to a blank or empty string).
3838
2. Installed Web Apps that have the app’s name and a app-title or detail as defined in the document’s meta tag.
3939
* Useful for apps that can have multiple instances running with several documents open, such as word processors.
4040

@@ -44,7 +44,6 @@ As defined in the [HTML specification](https://html.spec.whatwg.org/multipage/se
4444

4545
`<meta name="app-title" content="additional/secondary text to go in the title bar">`
4646

47-
4847
The following image is a mockup of a PWA using the `app-title` meta-tag.
4948

5049
![image of twitter installed web app with a long text in the title bar](webAppTitleBar2.png)
@@ -53,6 +52,8 @@ This is achieved by adding the following meta tag in the head of the page:
5352

5453
`<meta name="app-title" content="Direct Messages">`
5554

55+
56+
5657
## Privacy and Security Considerations
5758

5859
The TAG privacy and security self-review is located [here](https://docs.google.com/document/d/1CwYQEf98fI5z96Y6AsQdSafp70SD5STgepD5Z8cx1HQ/edit?usp=sharing).

0 commit comments

Comments
 (0)