[Bugs] #3066 UNSP: BrowseV124 regressions
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Wed Aug 31 05:18:32 EDT 2011
#3066: BrowseV124 regressions
------------------------------------------+---------------------------------
Reporter: tonyforster | Owner: lucian
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: 0.94
Component: Browse | Version: Unspecified
Severity: Unspecified | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
Comment(by erikos):
Replying to [comment:5 erikos]:
> Thanks Tony for your thorough testing!
>
> The issue with the 'colored' link is a very nice catch:
>
> {{{
> <html>
> <a href="http://laptop.org">olpc</a>
> <br><br>
> <a href="http://laptop.org"><font color=blue>olpc-color</font></a>
> </html>
> }}}
>
> It is true that the 'colored-link' does not display the palette. In the
invoker code we only do
[http://git.sugarlabs.org/browse/mainline/blobs/master/palettes.py#line80
check for the node enclosing the text]. We could use
[https://developer.mozilla.org/en/DOM/Node.parentNode parentNode] to solve
the case above. But if it gets more nested we have the same issue. On the
other hand I guess nested links are rare, because people define the color
either in css or in the tag itself <a href="/" style="color:green">. Are
there any other known non-working links?
>
Ok, I have found some more. The google menu (images, maps...) which uses
<span> for example and yes the example you gave uses as well one layer of
nesting.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/3066#comment:6>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list