Hi Doug

--- In [email protected], Doug Schepers <doug@...> wrote:
>
> Hi, Andreas-
> 
> Andreas wrote (on 3/26/11 10:40 AM):
> > Text selection works fine in any browser (yes in Fox4 too, but you can't 
> > see the selection).
> 
> I can't select discrete runs of text in FF4. I can only do select-all. 
> Am I missing something?

You're right, i can only select the whole text-element.
> 
> 
> > In some tests, it seems to me, that text in a<use>  can't select, but in 
> > Fox. Is this right?
> 
> I could argue it either way.  This aspect of the shadow-DOM is murky.
> 
> While I see the desirability of text-selection in <use>, I could also 
> see why the text would simply be treated as a visual representation 
> within a <use> element, and not be selectable.  <tref> should be 
> selectable, but that isn't yet implemented in FF.
> 
> The spec is totally underspecified on this point.  Implementations, 
> accordingly, differ.
> 
> FF and Opera don't allow text selection in <use>.  WebKit (Safari, 
> Chrome) do.  Opera and WebKit allow text selection of <tref>.  I haven't 
> yet tested IE9 for any of this.
> 
> The most interesting behavior around text selection is Opera 11... when 
> you select the original text, the <use>d text also shows the selection 
> rendering.  Kinda cool.  Lends itself to the argument that the effect is 
> visual, not a reflection of the original DOM, at least in Opera.
> 
> Here's a sample file:
>    http://schepers.cc/svg/text-use.svg
> 
> 
This is really funny.
> SVG 2 will specify all this.  What do people think is the best behavior?
To my mind, it should possible to select the text in all cases.


Pawel




------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to