Skip to content

Commit 2587ef3

Browse files
authored
[css-env-1] Add note to meta explainer
1 parent 2a450fd commit 2587ef3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

css-env-1/explainers/meta-text-scale.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ So for authors to continue just using font-relative units, they would need a way
5959

6060
Authors would need to test their websites before opting in to see if they need to adapt them to protect from overflowing text or content that is too squashed to be able to read or view easily. They would need to pay special attention to scaled up text on mobile devices, where the viewport is so small that content is very likely to be squashed.
6161

62-
![Screenshot of ](images/background-bbc-text-scaled-squashed.png)
62+
![Screenshot showing an example of squashed text in two columns.](images/background-bbc-text-scaled-squashed.png)
6363

6464
_Firefox simulating an iPhone SE 2 with a viewport of 375px on [bbc.co.uk](http://bbc.co.uk), where the text scale is set to 200%. Because the content is in two columns, the boxes can only fit one or two words per line. When the text is scaled up this much on a small viewport, a one column layout would improve readability._
6565

@@ -106,6 +106,9 @@ We propose a new HTML `meta` element extension with the keyword `text-scale`. Th
106106
107107
If the `text-scale` metadata is not included in the document, the `legacy` option would be the _missing default value_.
108108
109+
> [!NOTE]
110+
> In the [Alternatives Considered section of the `env(preferred-text-scale)` Explainer](./env-preferred-text-scale.md#new-meta-viewport-key-for-changing-text-scale), we proposed that the options would be an addition to the `<meta name="viewport">` tag. However, we decided that that would not be the right place, because text scaling behaviour has no relation to the viewport behaviour.
111+
109112
### `legacy` option
110113
111114
```html

0 commit comments

Comments
 (0)