#150 ✓invalid
Eric Smith

add_extension - remove_extension isn't adding all styles

Reported by Eric Smith | September 21st, 2009 @ 12:26 PM | in Limelight 0.5

In an effort to make a tabbed heading we modify the styles for different props by adding and removing extensions like so:

heading.style.add_extension(unselected_style)
heading.style.remove_extension(selected_style)

Unfortunately not all the styles change. The border does not get added to the new style, nor does the hover. The old hover does not disappear. The unselected and selected styles are below:

selected_toc_heading {
font_face "Arial Rounded MT Bold" background_color "#D8F0BB" }

unselected_toc_heading {
font_face "Arial Rounded MT" bottom_border_width 1 border_color "#AAA" background_color "#DDD" }

See the Erics for details.

Comments and changes to this ticket

  • Micah Martin

    Micah Martin October 6th, 2009 @ 04:32 PM

    • Milestone changed from Limelight 0.2 to Limelight 0.5
    • Tag set to bug
    • State changed from “new” to “invalid”
    • Assigned user set to “Micah Martin”

    The actual behavior works as expected. However, another bug (border measurements) makes it appear as though there is a problem here. Marking invalid.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Elegant UI Framework for Ruby

People watching this ticket

Tags

Pages