Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

add_extension - remove_extension isn't adding all styles

#150

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.

Reported by Eric Smith · September 21st, 2009 @ 12:26 PM

State: invalid
Milestone: Limelight 0.5
Assigned to: Micah Martin Micah Martin

Activity

  1. Micah Martin
    Micah Martin
    • 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.

    October 6th, 2009 @ 04:32 PM

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.