[gtk+] tests: Add line breaks when dumping text attributes



commit b6bd3ef4f4d2d1e988d049081cf4631200c1066c
Author: Benjamin Otte <otte redhat com>
Date:   Mon Jun 20 14:14:00 2011 +0200

    tests: Add line breaks when dumping text attributes
    
    This improves diff readability a lot when attributes differ.

 tests/a11y/accessibile-name.txt |   28 +++-
 tests/a11y/accessibility-dump.c |   16 ++-
 tests/a11y/accessible-name.txt  |   28 +++-
 tests/a11y/buttons.txt          |  112 +++++++++++++-
 tests/a11y/hello-world.txt      |   28 +++-
 tests/a11y/link.txt             |   28 +++-
 tests/a11y/mnemonic.txt         |   56 +++++++-
 tests/a11y/notebook.txt         |  112 +++++++++++++-
 tests/a11y/range.txt            |   28 +++-
 tests/a11y/text.txt             |   26 +++-
 tests/a11y/tree.txt             |  336 +++++++++++++++++++++++++++++++++++++--
 11 files changed, 767 insertions(+), 31 deletions(-)
---
diff --git a/tests/a11y/accessibile-name.txt b/tests/a11y/accessibile-name.txt
index 3a75382..a4d122e 100644
--- a/tests/a11y/accessibile-name.txt
+++ b/tests/a11y/accessibile-name.txt
@@ -13,6 +13,32 @@ window1
     text: Hello World!
     character count: 12
     caret offset: 0
-    default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+    default attributes: left-margin: 0
+                        right-margin: 0
+                        indent: 0
+                        invisible: false
+                        editable: false
+                        pixels-above-lines: 0
+                        pixels-below-lines: 0
+                        pixels-inside-wrap: 0
+                        bg-full-height: 0
+                        scale: 1
+                        rise: 0
+                        underline: none
+                        strikethrough: false
+                        bg-stipple: false
+                        fg-stipple: false
+                        fg-color: 0,0,0
+                        bg-color: 56540,56026,54741
+                        wrap-mode: word
+                        justification: left
+                        size: <omitted>
+                        weight: <omitted>
+                        family-name: <omitted>
+                        stretch: <omitted>
+                        variant: <omitted>
+                        style: <omitted>
+                        language: <omitted>
+                        direction: <omitted>
     image size: -1 x -1
     image description: (null)
diff --git a/tests/a11y/accessibility-dump.c b/tests/a11y/accessibility-dump.c
index 66b628d..a57c5b7 100644
--- a/tests/a11y/accessibility-dump.c
+++ b/tests/a11y/accessibility-dump.c
@@ -238,7 +238,6 @@ dump_text_attributes (GString         *string,
   if (attributes == NULL)
     return;
 
-  g_string_append_printf (string, "%*s%s:", depth, "", name);
   for (l = attributes; l; l = l->next)
     {
       attr = l->data;
@@ -254,9 +253,20 @@ dump_text_attributes (GString         *string,
         value = "<omitted>";
       else
         value = attr->value;
-      g_string_append_printf (string, " %s:%s", attr->name, value);
+
+      if (name)
+        {
+          /* first time this loop is run */
+          g_string_append_printf (string, "%*s%s: %s: %s\n", depth, "", name, attr->name, value);
+          depth += strlen (name) + 2;
+          name = NULL;
+        }
+      else
+        {
+          /* every other time */
+          g_string_append_printf (string, "%*s%s: %s\n", depth, "", attr->name, value);
+        }
     }
-  g_string_append_c (string, '\n');
 
   atk_attribute_set_free (attributes);
 }
diff --git a/tests/a11y/accessible-name.txt b/tests/a11y/accessible-name.txt
index cd88807..964ece9 100644
--- a/tests/a11y/accessible-name.txt
+++ b/tests/a11y/accessible-name.txt
@@ -20,7 +20,33 @@ window1
     text: Hello World!
     character count: 12
     caret offset: 0
-    default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+    default attributes: left-margin: 0
+                        right-margin: 0
+                        indent: 0
+                        invisible: false
+                        editable: false
+                        pixels-above-lines: 0
+                        pixels-below-lines: 0
+                        pixels-inside-wrap: 0
+                        bg-full-height: 0
+                        scale: 1
+                        rise: 0
+                        underline: none
+                        strikethrough: false
+                        bg-stipple: false
+                        fg-stipple: false
+                        fg-color: 0,0,0
+                        bg-color: 56540,56026,54741
+                        wrap-mode: word
+                        justification: left
+                        size: <omitted>
+                        weight: <omitted>
+                        family-name: <omitted>
+                        stretch: <omitted>
+                        variant: <omitted>
+                        style: <omitted>
+                        language: <omitted>
+                        direction: <omitted>
     <AtkImage>
     image size: -1 x -1
     image description: (null)
diff --git a/tests/a11y/buttons.txt b/tests/a11y/buttons.txt
index cf206cd..75f2774 100644
--- a/tests/a11y/buttons.txt
+++ b/tests/a11y/buttons.txt
@@ -46,7 +46,33 @@ window1
       text: Hello World!
       character count: 12
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       <AtkImage>
       image size: -1 x -1
       image description: (null)
@@ -70,7 +96,33 @@ window1
       text: Hello World!
       character count: 12
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       <AtkImage>
       image size: -1 x -1
       image description: (null)
@@ -92,7 +144,33 @@ window1
       text: Hello World!
       character count: 12
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       <AtkImage>
       image size: -1 x -1
       image description: (null)
@@ -114,7 +192,33 @@ window1
       text: Hello World!
       character count: 12
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       <AtkImage>
       image size: -1 x -1
       image description: (null)
diff --git a/tests/a11y/hello-world.txt b/tests/a11y/hello-world.txt
index 92fab61..9cf3ddf 100644
--- a/tests/a11y/hello-world.txt
+++ b/tests/a11y/hello-world.txt
@@ -20,7 +20,33 @@ window1
     text: Hello World!
     character count: 12
     caret offset: 0
-    default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+    default attributes: left-margin: 0
+                        right-margin: 0
+                        indent: 0
+                        invisible: false
+                        editable: false
+                        pixels-above-lines: 0
+                        pixels-below-lines: 0
+                        pixels-inside-wrap: 0
+                        bg-full-height: 0
+                        scale: 1
+                        rise: 0
+                        underline: none
+                        strikethrough: false
+                        bg-stipple: false
+                        fg-stipple: false
+                        fg-color: 0,0,0
+                        bg-color: 56540,56026,54741
+                        wrap-mode: word
+                        justification: left
+                        size: <omitted>
+                        weight: <omitted>
+                        family-name: <omitted>
+                        stretch: <omitted>
+                        variant: <omitted>
+                        style: <omitted>
+                        language: <omitted>
+                        direction: <omitted>
     <AtkImage>
     image size: -1 x -1
     image description: (null)
diff --git a/tests/a11y/link.txt b/tests/a11y/link.txt
index 629917a..17dc2cd 100644
--- a/tests/a11y/link.txt
+++ b/tests/a11y/link.txt
@@ -20,7 +20,33 @@ window1
     text: Hello World!
     character count: 12
     caret offset: 0
-    default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+    default attributes: left-margin: 0
+                        right-margin: 0
+                        indent: 0
+                        invisible: false
+                        editable: false
+                        pixels-above-lines: 0
+                        pixels-below-lines: 0
+                        pixels-inside-wrap: 0
+                        bg-full-height: 0
+                        scale: 1
+                        rise: 0
+                        underline: none
+                        strikethrough: false
+                        bg-stipple: false
+                        fg-stipple: false
+                        fg-color: 0,0,0
+                        bg-color: 56540,56026,54741
+                        wrap-mode: word
+                        justification: left
+                        size: <omitted>
+                        weight: <omitted>
+                        family-name: <omitted>
+                        stretch: <omitted>
+                        variant: <omitted>
+                        style: <omitted>
+                        language: <omitted>
+                        direction: <omitted>
     <AtkImage>
     image size: -1 x -1
     image description: (null)
diff --git a/tests/a11y/mnemonic.txt b/tests/a11y/mnemonic.txt
index ae3ff4c..4a867b4 100644
--- a/tests/a11y/mnemonic.txt
+++ b/tests/a11y/mnemonic.txt
@@ -30,7 +30,33 @@ window1
       text: Entry:
       character count: 6
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
     entry1
       "text"
       parent: box1
@@ -45,7 +71,33 @@ window1
       text: text
       character count: 4
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:65535,65535,65535 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 65535,65535,65535
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       <AtkAction>
       action 0 name: activate
       action 0 keybinding: <Alt>e
diff --git a/tests/a11y/notebook.txt b/tests/a11y/notebook.txt
index 49eb9b0..5220541 100644
--- a/tests/a11y/notebook.txt
+++ b/tests/a11y/notebook.txt
@@ -31,7 +31,33 @@ window1
       text: Tab 1
       character count: 5
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       page1
         "push button"
         index: 0
@@ -45,7 +71,33 @@ window1
         text: Yes
         character count: 3
         caret offset: 0
-        default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+        default attributes: left-margin: 0
+                            right-margin: 0
+                            indent: 0
+                            invisible: false
+                            editable: false
+                            pixels-above-lines: 0
+                            pixels-below-lines: 0
+                            pixels-inside-wrap: 0
+                            bg-full-height: 0
+                            scale: 1
+                            rise: 0
+                            underline: none
+                            strikethrough: false
+                            bg-stipple: false
+                            fg-stipple: false
+                            fg-color: 0,0,0
+                            bg-color: 56540,56026,54741
+                            wrap-mode: word
+                            justification: left
+                            size: <omitted>
+                            weight: <omitted>
+                            family-name: <omitted>
+                            stretch: <omitted>
+                            variant: <omitted>
+                            style: <omitted>
+                            language: <omitted>
+                            direction: <omitted>
         <AtkImage>
         image size: 20 x 20
         image description: (null)
@@ -67,7 +119,33 @@ window1
       text: Tab 2
       character count: 5
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       page2
         "push button"
         index: 1
@@ -81,7 +159,33 @@ window1
         text: No
         character count: 2
         caret offset: 0
-        default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+        default attributes: left-margin: 0
+                            right-margin: 0
+                            indent: 0
+                            invisible: false
+                            editable: false
+                            pixels-above-lines: 0
+                            pixels-below-lines: 0
+                            pixels-inside-wrap: 0
+                            bg-full-height: 0
+                            scale: 1
+                            rise: 0
+                            underline: none
+                            strikethrough: false
+                            bg-stipple: false
+                            fg-stipple: false
+                            fg-color: 0,0,0
+                            bg-color: 56540,56026,54741
+                            wrap-mode: word
+                            justification: left
+                            size: <omitted>
+                            weight: <omitted>
+                            family-name: <omitted>
+                            stretch: <omitted>
+                            variant: <omitted>
+                            style: <omitted>
+                            language: <omitted>
+                            direction: <omitted>
         <AtkImage>
         image size: 20 x 20
         image description: (null)
diff --git a/tests/a11y/range.txt b/tests/a11y/range.txt
index 56007ad..6f2065e 100644
--- a/tests/a11y/range.txt
+++ b/tests/a11y/range.txt
@@ -19,7 +19,33 @@ window1
     text: â45.5
     character count: 5
     caret offset: 0
-    default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+    default attributes: left-margin: 0
+                        right-margin: 0
+                        indent: 0
+                        invisible: false
+                        editable: false
+                        pixels-above-lines: 0
+                        pixels-below-lines: 0
+                        pixels-inside-wrap: 0
+                        bg-full-height: 0
+                        scale: 1
+                        rise: 0
+                        underline: none
+                        strikethrough: false
+                        bg-stipple: false
+                        fg-stipple: false
+                        fg-color: 0,0,0
+                        bg-color: 56540,56026,54741
+                        wrap-mode: word
+                        justification: left
+                        size: <omitted>
+                        weight: <omitted>
+                        family-name: <omitted>
+                        stretch: <omitted>
+                        variant: <omitted>
+                        style: <omitted>
+                        language: <omitted>
+                        direction: <omitted>
     <AtkAction>
     action 0 name: activate
     <AtkValue>
diff --git a/tests/a11y/text.txt b/tests/a11y/text.txt
index 434bac8..6d3bf45 100644
--- a/tests/a11y/text.txt
+++ b/tests/a11y/text.txt
@@ -20,6 +20,30 @@ window1
 Did gyre and gimple in the wabe
     character count: 66
     caret offset: 66
-    default attributes: right-margin:0 left-margin:0 indent:0 pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 rise:0 language:<omitted> scale:1 fg-color:0,0,0 bg-color:65535,65535,65535 invalid:none invalid:false invalid:false invalid:false left-margin:true invalid:none left-margin:ltr invalid:left size:<omitted> weight:<omitted> family-name:<omitted> invisible:normal invalid:normal invalid:normal
+    default attributes: right-margin: 0
+                        left-margin: 0
+                        indent: 0
+                        pixels-above-lines: 0
+                        pixels-below-lines: 0
+                        pixels-inside-wrap: 0
+                        rise: 0
+                        language: <omitted>
+                        scale: 1
+                        fg-color: 0,0,0
+                        bg-color: 65535,65535,65535
+                        invalid: none
+                        invalid: false
+                        invalid: false
+                        invalid: false
+                        left-margin: true
+                        invalid: none
+                        left-margin: ltr
+                        invalid: left
+                        size: <omitted>
+                        weight: <omitted>
+                        family-name: <omitted>
+                        invisible: normal
+                        invalid: normal
+                        invalid: normal
     <AtkStreamableContent>
     mime types: application/x-gtk-text-buffer-rich-text text/plain
diff --git a/tests/a11y/tree.txt b/tests/a11y/tree.txt
index 5254fc7..85cd493 100644
--- a/tests/a11y/tree.txt
+++ b/tests/a11y/tree.txt
@@ -38,7 +38,33 @@ window1
       text: Column 1
       character count: 8
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       <AtkImage>
       image size: -1 x -1
       image description: (null)
@@ -62,7 +88,33 @@ window1
       text: Column 2
       character count: 8
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       <AtkImage>
       image size: -1 x -1
       image description: (null)
@@ -84,7 +136,33 @@ window1
       text: Column 1
       character count: 8
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       <AtkImage>
       image size: -1 x -1
       image description: (null)
@@ -106,7 +184,33 @@ window1
       text: Column 2
       character count: 8
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       <AtkImage>
       image size: -1 x -1
       image description: (null)
@@ -127,7 +231,33 @@ window1
       text: One
       character count: 3
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       <AtkAction>
       action 0 name: activate
       action 0 description: activate the cell
@@ -144,7 +274,33 @@ window1
       text: Two
       character count: 3
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       <AtkAction>
       action 0 name: activate
       action 0 description: activate the cell
@@ -161,7 +317,33 @@ window1
       text: Three
       character count: 5
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       <AtkAction>
       action 0 name: activate
       action 0 description: activate the cell
@@ -178,7 +360,33 @@ window1
       text: Four
       character count: 4
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       <AtkAction>
       action 0 name: activate
       action 0 description: activate the cell
@@ -195,7 +403,33 @@ window1
       text: Five
       character count: 4
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       <AtkAction>
       action 0 name: activate
       action 0 description: activate the cell
@@ -212,7 +446,33 @@ window1
       text: Six
       character count: 3
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       <AtkAction>
       action 0 name: activate
       action 0 description: activate the cell
@@ -229,7 +489,33 @@ window1
       text: Seven
       character count: 5
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       <AtkAction>
       action 0 name: activate
       action 0 description: activate the cell
@@ -246,7 +532,33 @@ window1
       text: Eight
       character count: 5
       caret offset: 0
-      default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: 0,0,0
+                          bg-color: 56540,56026,54741
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
       <AtkAction>
       action 0 name: activate
       action 0 description: activate the cell



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]