tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Callender (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TAP5-2014) Zone highlight leaves behind an explicit background-color which overrides css background-color
Date Thu, 18 Oct 2012 14:10:03 GMT

     [ https://issues.apache.org/jira/browse/TAP5-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Geoff Callender updated TAP5-2014:
----------------------------------

    Description: 
I have a table row which is also a zone with a highlight effect (i.e., t:update="highlight").
I have given the row a hover effect with css, e.g.

    tr { background-color: #fff; }
    tr:hover { background-color: #eee; }

but the hover effect stops working once the zone updates. 

The cause is that the zone's highlight effect leaves behind an explicit background-color style,
e.g.

    <tr id="myzone_0" style="background-color: #fff;">

which overrides the css rules.

The fix would be to modify the zone highlighting code to finish by removing the explicit background-color
that it added.

  was:
I have a table row which is also a zone with a highlight effect (i.e., t:update="highlight").
I have given the row a hover effect with css, e.g.

    tr { background-color: #fff; }
    tr:hover { background-color: #eee; }

but the hover effect stops working once the zone updates. 

The problem is that the zone's highlight effect leaves behind an explicit background-color
style, e.g.

    <tr id="myzone_0" style="background-color: #fff;">

which overrides the css rules.

The fix would be to modify the zone highlighting code to finish by removing the explicit background-color
that it added.

    
> Zone highlight leaves behind an explicit background-color which overrides css background-color
> ----------------------------------------------------------------------------------------------
>
>                 Key: TAP5-2014
>                 URL: https://issues.apache.org/jira/browse/TAP5-2014
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3.6
>            Reporter: Geoff Callender
>
> I have a table row which is also a zone with a highlight effect (i.e., t:update="highlight").
I have given the row a hover effect with css, e.g.
>     tr { background-color: #fff; }
>     tr:hover { background-color: #eee; }
> but the hover effect stops working once the zone updates. 
> The cause is that the zone's highlight effect leaves behind an explicit background-color
style, e.g.
>     <tr id="myzone_0" style="background-color: #fff;">
> which overrides the css rules.
> The fix would be to modify the zone highlighting code to finish by removing the explicit
background-color that it added.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message