Skip to content

Commit 3d3b657

Browse files
Update pages/glossary/visible-inner-text.md
Co-authored-by: Jean-Yves Moyen <jym@siteimprove.com>
1 parent 5c7fc1e commit 3d3b657

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pages/glossary/visible-inner-text.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The <dfn id="visible-inner-text:for-text">visible inner text of a [text node][]<
1818
- otherwise, the visible inner text of the [text node][] is the empty string (`""`).
1919

2020

21-
The <dfn id="for-element">visible inner text of an [element][]</dfn> is:
21+
The <dfn id="visible-inner-text:for-element">visible inner text of an [element][]</dfn> is:
2222
- if the [element][] is not [rendered][], its visible inner text is the empty string (`""`);
2323
- if the [element][] is a [`<br>`][<br>] element, its visible inner text is a newline character (`"\n"`);
2424
- if the [element][] is a [`<p>`][<p>] element, its visible inner text is the concatenation a newline character (`"\n"`) plus the visible inner text of its children (in [tree order][] in the [flat tree][]), plus a newline character (`"\n"`);

0 commit comments

Comments
 (0)