(In reply to <email address hidden> from comment #80)
> (In reply to alexander surkov from comment #78)
> > Mounir, I assume you use @value attribute on that xul:label. Is it possible
> > to switch to text node instead?
> He can't *switch* to text node because he requires the crop behaviour, but I
> believe the value attribute takes priority over the text node so that if he
> provides both then it will show cropped text but obviously I don't know
> whether the accessibility code will see the text node.
Do you mean
<xul:label value="file:///c:/path-to-file">file:///c:/path-to-file</xul:label>
?
but then if @value takes precedence and it gets cropped then it'd be great if text node would be the same as representation of @value attribute. That doesn't happen I assume.
So crop doesn't give desired effect on
<xul:label>file:///c:/path-to-file</xul:label>
or
<xul:description>file:///c:/path-to-file</xul:description>
> (Is it possible to
> query the accessible tree in DOM Inspector to find out?)
sure, just switch to Accessible Tree viewer in left panel and inspect the accessible tree.
(In reply to <email address hidden> from comment #80)
> (In reply to alexander surkov from comment #78)
> > Mounir, I assume you use @value attribute on that xul:label. Is it possible
> > to switch to text node instead?
> He can't *switch* to text node because he requires the crop behaviour, but I
> believe the value attribute takes priority over the text node so that if he
> provides both then it will show cropped text but obviously I don't know
> whether the accessibility code will see the text node.
Do you mean file:// /c:/path- to-file" >file:/ //c:/path- to-file< /xul:label>
<xul:label value="
?
but then if @value takes precedence and it gets cropped then it'd be great if text node would be the same as representation of @value attribute. That doesn't happen I assume.
So crop doesn't give desired effect on file:// /c:/path- to-file< /xul:label> n>file: ///c:/path- to-file< /xul:descriptio n>
<xul:label>
or
<xul:descriptio
> (Is it possible to
> query the accessible tree in DOM Inspector to find out?)
sure, just switch to Accessible Tree viewer in left panel and inspect the accessible tree.