Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _rules/zoom-text-no-overflow-clipping-59br37.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ This [text node][] is fully [visible][] at a [viewport size][] of 640 by 512.

#### Passed Example 2

This [text node][] is [horizontally clipped][] using `text-overflow: ellipsis` at a [viewport size][] of 640 by 512. A link to a full version of the poem is also provided.
This [text node][] is [horizontally clipped][] using `text-overflow: ellipsis` at a [viewport size][] of 640 by 512. A link to a full version of the poem is also provided. Strictly speaking, the link to a full version is not necessary to pass the rule. This example passes the rule because its `white-space: nowrap` and `text-overflow: ellipsis` cause it to pass Expectation 1. The link to a full version _is_ necessary to pass the success criterion.
Comment thread
dan-tripp-siteimprove marked this conversation as resolved.
Outdated

```html
<div style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 16px;">
Expand All @@ -97,7 +97,7 @@ This [text node][] is [horizontally clipped][] using `text-overflow: ellipsis` a

#### Passed Example 3

This [text node][] is restricted to a single line, by setting a `line-height` that is the same as the `height`. A link to a full version of the poem is also provided.
This [text node][] is restricted to a single line, by setting a `line-height` that is the same as the `height`. A link to a full version of the poem is also provided. Similarly to Passed Example 2: strictly speaking, the link to a full version is not necessary to pass the rule. This example passes the rule because the way it uses `line-height` causes it to pass Expectation 2. The link to a full version _is_ necessary to pass the success criterion.

```html
<style>
Expand Down