[Bugs] #4201 Read LOW: Text gets underlined after tapping once

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Nov 27 08:03:29 EST 2012


#4201: Text gets underlined after tapping once
----------------------------+-----------------------------------------------
    Reporter:  erikos       |          Owner:  godiard    
        Type:  defect       |         Status:  closed     
    Priority:  Low          |      Milestone:  0.98       
   Component:  Read         |        Version:  Unspecified
    Severity:  Unspecified  |     Resolution:  notabug    
    Keywords:               |   Distribution:  Unspecified
Status_field:  Unconfirmed  |  
----------------------------+-----------------------------------------------
Changes (by humitos):

 * cc: humitos (added)
  * status:  new => closed
  * resolution:  => notabug


Comment:

 The problem here is with this ebook file in particular because its .css
 file is not well formed.

 I unzipped it and modified the .css to remove the {{{text-decoration:
 underline}}} entry and it worked properly.

 This is what I did:
 {{{
 $ unzip 24571.epub.images
 $ grep -r "text-decoration" .
 ./24571/0.css:    text-decoration: none;
 ./24571/0.css:    text-decoration: none;
 ./24571/0.css:    text-decoration: underline
 ./24571/0.css:    text-decoration: underline
 ./24571/pgepub.css:    text-decoration: none
 $ vim 24571/0.css
 }}}

 I changed {{{text-decoration: underline}}} by {{{text-decoration: none}}}
 and I don't see the text underlined anymore.

 This entry shouldn't affect to the whole text because it's inside a
 {{{a:hover}}} directive but the .css files are not well formed (e.g. they
 missed a lot of ";" at the end of each line and maybe other issues) and I
 guess webkit is being confused.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/4201#comment:3>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list