On 06/29/2016 10:23 PM, Andy Black wrote:
In our custom CSS, a section1 element (a display:block) has the following section1:before { content: collapser(collapsed-icon,icon(collapsed-right),expanded-icon,icon(expanded-down)) " " simple-counter(n,decimal) " " text-field(attribute,id,columns,10,font-size,small); font-weight: bold; font-size:large; background-color: #BFD0FF; } On XXE version 7.0.0, it comes out like this (where there is no background color at all in the generated content): In XXE version 4.9.1 (and 5.3.0), it looks like this (where the background color is there for the entire generated content): Is this due to a change in version 6 (or 7) on how background-color is handled in generated content? I could not find anything in the documentation.
I'm sorry for this regression but this kind of change is too low-level and too complicated to be documented.
Please try to find a workaround such as (not tested): --- section1:before { display: inline; content: paragraph(content(collapser(), " ", simple-counter(n, decimal), " ", text-field(attribute, id, columns, 10, font-size, small)), font-weight, bold, font-size, large, background-color, #BFD0FF); } --- Reference: http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/paragraph.html -- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support