Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-28098

Batch.css changed to add a background color to confluenceTd

      It appears that between build 4053 and 4060, batch.css changed to add a background color to confluenceTd:
      .confluenceTable .confluenceTd

      { background-color: #FFFFFF; }

      This should be removed as it overrides row settings.

            [CONFSERVER-28098] Batch.css changed to add a background color to confluenceTd

            Posting here in the hopes this gets seen - I'm using 5.10.1 and can't colour the background of table cells using JSON. I've followed the workaround Bob Swift posted, but no luck.

            Has another change been made that effects this?

            Graham Campbell added a comment - Posting here in the hopes this gets seen - I'm using 5.10.1 and can't colour the background of table cells using JSON. I've followed the workaround Bob Swift posted, but no luck. Has another change been made that effects this?

            Bob Swift added a comment -

            Excellent .

            Bob Swift added a comment - Excellent .

            Peggy added a comment -

            Hi Bob,
            Another update - this fix has also been merged into 5.1.2

            Cheers,
            Peggy

            Peggy added a comment - Hi Bob, Another update - this fix has also been merged into 5.1.2 Cheers, Peggy

            Bob Swift added a comment -

            Good to hear. Thanks.

            Bob Swift added a comment - Good to hear. Thanks.

            Peggy added a comment -

            Hi Bob,
            This issue has been fixed, and will be in 5.2.

            Cheers,
            Peggy

            Peggy added a comment - Hi Bob, This issue has been fixed, and will be in 5.2. Cheers, Peggy

            Bob Swift added a comment -

            That is disappointing . I wrote up a how to for people that go to 5.0.x before the fix is available. Unfortunately, OnDemand customers have a harder time avoiding the problem. On the other hand, hopefully the will get the fix quicker as well.
            How to work around background color row style incompatibility in Confluence 5.0

            Bob Swift added a comment - That is disappointing . I wrote up a how to for people that go to 5.0.x before the fix is available. Unfortunately, OnDemand customers have a harder time avoiding the problem. On the other hand, hopefully the will get the fix quicker as well. How to work around background color row style incompatibility in Confluence 5.0

            Thanks for the details Bob.

            We're not going to change this for 5.0 sorry, but will work towards a proper fix for the large table problem that will allow the reversal of this change.

            John Masson added a comment - Thanks for the details Bob. We're not going to change this for 5.0 sorry, but will work towards a proper fix for the large table problem that will allow the reversal of this change.

            Bob Swift added a comment - - edited

            Interesting, so it had been fixed in 4.x line at some point. I know it use to be an old problem. So what was the original cause of the issue in 5.0 then given that it didn't exist in 4.3? I saw you other email.

            The impact is any user or plugin that sets background color style on the row level of a table expecting it to hold for all row elements (except those elements that they may have set explicitly themselves). As you know, people can create HTML like tables with HTML Table and related macros, or use the HTML macro, or use various other macros that are capable of setting background color styles (like the background macro). Of course I have 5 macros (table-plus, csv, excel, sql, sql-query} across 3 plugins that provide capability to set this for a couple of use cases:

            1. row highlighting on mouse over - this is something that has been around for years
            2. row style setting for striping (see example) and other needs
              Let me know if you need more info.

            Bob Swift added a comment - - edited Interesting, so it had been fixed in 4.x line at some point. I know it use to be an old problem. So what was the original cause of the issue in 5.0 then given that it didn't exist in 4.3? I saw you other email. The impact is any user or plugin that sets background color style on the row level of a table expecting it to hold for all row elements (except those elements that they may have set explicitly themselves). As you know, people can create HTML like tables with HTML Table and related macros, or use the HTML macro, or use various other macros that are capable of setting background color styles (like the background macro). Of course I have 5 macros (table-plus, csv, excel, sql, sql-query} across 3 plugins that provide capability to set this for a couple of use cases: row highlighting on mouse over - this is something that has been around for years row style setting for striping (see example ) and other needs Let me know if you need more info.

            Hi Bob,

            Just to note the gist of my email here:

            The ticket for the overflow of content onto a grey background is an internal one because this is a new issue for 5.0.

            Can you let me know what the breakages are in your plugins are that you mentioned above.

            John

            John Masson added a comment - Hi Bob, Just to note the gist of my email here: The ticket for the overflow of content onto a grey background is an internal one because this is a new issue for 5.0. Can you let me know what the breakages are in your plugins are that you mentioned above. John

            Bob Swift added a comment -

            Sorry about the inadvertent fix level change. I was trying to find rc-1 fix version, but its not there. It was not broken in beta3 or beta4.

            Bob Swift added a comment - Sorry about the inadvertent fix level change. I was trying to find rc-1 fix version, but its not there. It was not broken in beta3 or beta4.

              pkuo Peggy
              bob.swift@charter.net Bob Swift
              Affected customers:
              0 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: