nsIAccessible::name calculation

Mozilla Bug 444279
Mozilla Bug 530081
Mozilla Bug 604391 Mozilla Bug 669312

text
text1 text2
nomore text
nomore hidden text2 hidden2
lala more hidden text
text
more text

textspacetext

text
text
text
Country:

Choose country from.

Country

text
text
in form
out form
in document
label1 label2
14
i am visible i am hidden

menuitem 1
menuitem 2

15 Story Foo is ended.
day(s). days. Subscribe to
feed. Play the
sound when new mail arrives Play the
sound when new mail arrives This day was
This day was a label