From 220987550460a7e8ffa17bf98c37acbc1fa6cc39 Mon Sep 17 00:00:00 2001 From: James Craig Date: Fri, 6 Oct 2023 14:51:56 -0700 Subject: [PATCH 01/11] text node tests for whitespace, etc. --- accname/name/comp_text_node.html | 79 ++++++++++++++++++++++++++++---- 1 file changed, 70 insertions(+), 9 deletions(-) diff --git a/accname/name/comp_text_node.html b/accname/name/comp_text_node.html index d63bdda82c0d1e..b9b26e6673915c 100644 --- a/accname/name/comp_text_node.html +++ b/accname/name/comp_text_node.html @@ -13,23 +13,84 @@

Tests the #comp_text_node portions of the AccName Name Computation algorithm.

- - + - -

- headinglabel -

+

text/element/text nodes, no space

+ +

headinglabel

+linklabel +
+ +

text/comment/text nodes, no space

+ + +

+ headinglabel +

+ + linklabel + +
-

+

text/comment/text nodes, with space

+ +

heading label -

+ + + link + + label + +
+ +

text node, with non-breaking space

+ +

heading label

+link label +
+ +

text node, with extra non-breaking space

+ +

heading   label

+link   label +
+ +

text node, with leading/trailing non-breaking space

+ +

 heading label 

+ link label  +
+

text nodes, with deeply nested space

+ +

+heading label +

+ +link label + +
- +

text nodes, with single line break

+ +

heading +label

+link +label +