Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14653

Multi attributes selection in pdf.css missing when PDF export

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 8.4.4
    • Old Core - PDF export
    • None
    • Unknown

    Description

      Hello,

      I create a simple ./skins/flamingo/pdf.css with

      #xwikicontent .box.floatinginfobox {
        background-color: "pink";
      }
      

      or '.box.floatinginfobox {'
      to PDF export pages with floating TOC (http://extensions.xwiki.org/xwiki/bin/view/Extension/TOC%20Macro#HExample2:Floating)

      Here results of first steps to generate PDF file:

      Cleaning HTML: //(show XHTML code without style)//
      DEBUG c.x.x.p.i.PdfExportImpl        - Cleaned XHTML:
      <div id="xwikicontent">
      <div class="box floatinginfobox">
      <strong>Sommaire</strong>
      
      DEBUG c.x.x.p.i.PdfExportImpl        - Applying the following CSS:
      #xwikicontent .box.floatinginfobox {
        background-color: "pink";
      }
      

      My background-color style missing in next step :

      DEBUG c.x.x.p.i.PdfExportImpl        - HTML with CSS applied: 
      <div id="xwikicontent" style="display: block; ">
      <div class="box floatinginfobox" style="display: block; ">
      <strong style="font-weight: bolder; ">Sommaire</strong>
      

      ty

      Pascal B

      Attachments

        Activity

          People

            Unassigned Unassigned
            Pbas Pascal BASTIEN
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: