Replace collapsable with collapsible (#1639)

This commit is contained in:
toasted-nutbread 2021-04-30 17:59:20 -04:00 committed by GitHub
parent ba3f7b3e96
commit d77d8e44e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,7 +173,7 @@ class DOMTextScanner {
// Character should be ignored // Character should be ignored
continue; continue;
} else if (charAttributes === 1) { } else if (charAttributes === 1) {
// Character is collapsable whitespace // Character is collapsible whitespace
lineHasWhitespace = true; lineHasWhitespace = true;
} else { } else {
// Character should be added to the content // Character should be added to the content
@ -263,7 +263,7 @@ class DOMTextScanner {
// Character should be ignored // Character should be ignored
continue; continue;
} else if (charAttributes === 1) { } else if (charAttributes === 1) {
// Character is collapsable whitespace // Character is collapsible whitespace
lineHasWhitespace = true; lineHasWhitespace = true;
} else { } else {
// Character should be added to the content // Character should be added to the content
@ -449,7 +449,7 @@ class DOMTextScanner {
* @param character A string containing a single character. * @param character A string containing a single character.
* @returns An integer representing the attributes of the character. * @returns An integer representing the attributes of the character.
* 0: Character should be ignored. * 0: Character should be ignored.
* 1: Character is collapsable whitespace. * 1: Character is collapsible whitespace.
* 2: Character should be added to the content. * 2: Character should be added to the content.
* 3: Character should be added to the content and is a newline. * 3: Character should be added to the content and is a newline.
*/ */