bugtex4ht - Bugs: bug #420, The CSS "white-space"...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #420: The CSS "white-space" property has no value "wrap"

Submitted by:  Ulrich Müller <ulm>
Submitted on:  Wed 13 Mar 2019 01:13:49 PM EET  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon 19 Aug 2019 04:18:35 AM EEST, comment #3:

updated in tl some time ago, closing.

Karl Berry <karl>
Project Administrator
Wed 13 Mar 2019 01:47:51 PM EET, comment #2:

Thanks for the report, I've updated the sources. Your test file seems to work correctly after the update.

Michal Hoftich <michal_h21>
Project Member
Wed 13 Mar 2019 01:19:21 PM EET, comment #1:

A minimal example white-space.tex is attached.

The resulting HTML output is attached as white-space.html. It has been generated with:
$ mk4ht xhlatex white-space

Ulrich Müller <ulm>
Wed 13 Mar 2019 01:13:49 PM EET, original submission:

For paragraph columns in the tabular environment, tex4ht produces <td/> elements with style="white-space:wrap".

However, the CSS "white-space" property has no value "wrap":
https://www.w3.org/TR/CSS21/text.html#white-space-prop

The CSS validator at http://jigsaw.w3.org/css-validator/ complains about this, with the following error message:
Value Error : white-space wrap is not a white-space value : wrap

IIUC, the correct value to obtain the desired behaviour would be white-space:normal, so presumably all occurences of white-space:wrap in html4.4ht and javahelp.4ht should replaced by that.

Ulrich Müller <ulm>

 

Attached Files
file #311:  white-space.tex added by ulm (103B - text/x-tex)
file #312:  white-space.html added by ulm (1kB - text/html)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by karl (Posted a comment)
  • -unavailable- added by michal_h21 (Posted a comment)
  • -unavailable- added by ulm (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    3 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 19 Aug 2019 04:18:35 AM EESTkarlOpen/ClosedOpen=>Closed
    Wed 13 Mar 2019 01:13:49 PM EETulmAttached File-=>Added white-space.tex, #311
      Attached File-=>Added white-space.html, #312
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray