You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Lenny Primak (JIRA)" <ji...@apache.org> on 2013/07/14 03:11:46 UTC

[jira] [Commented] (TAP5-2014) Zone highlight leaves behind an explicit background-color which overrides css background-color

    [ https://issues.apache.org/jira/browse/TAP5-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13707894#comment-13707894 ] 

Lenny Primak commented on TAP5-2014:
------------------------------------

The FlowLogix tapestry library will contain a fix for this bug in the next release. (1.2.3)
which will go out sometime in the next week or so.

Ref: FlowLogix Issue http://code.google.com/p/flowlogix/issues/detail?id=43
                
> 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
>
> Zone highlighter (i.e. t:update="highlight") leaves behind an explicit background-color that overrides the background-color specified in css. Instead, I think it should finish by removing the style changes that it added.
> An example consequence: it kills off my hover effect. I have a table row with a hover effect, eg.
>     tr { background-color: #fff; }
>     tr:hover { background-color: #eee; }
> and the row is also a zone with a highlight effect 
>     <tr t:type="Zone" t:id="rowZone" id="prop:currentRowZoneId" t:update="highlight">
> The hover effect works just fine until the zone updates, and then it no longer works.
> Here's the row before the zone updates:
>     <tr class="even t-zone tapestry-zone" id="rowZone_5">
> Here's the row after the zone updates:
>     <tr class="even t-zone tapestry-zone" id="rowZone_5" style="background-image: none; background-color: rgb(255, 255, 255); ">
> The problem would go away if the zone update finished by leaving the row the way that it found it:
>     <tr class="even t-zone tapestry-zone" id="rowZone_5">
> You can see the problem if you turn on "Highlight zone updates" in this example:
>     http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/eventlinksinaloop

--
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