OASIS Open Document Format for Office Applications (OpenDocument) TC

 View Only

OFFICE-4124 'clear' attribute on line break in HTML

  • 1.  OFFICE-4124 'clear' attribute on line break in HTML

    Posted 03-18-2024 14:12
      |   view attached
    Hi all,

    this is the html file which I have added to issue OFFICE-4124. It shows,
    that the requested attribute is not only useful for import of docx files
    but for import of HTML as well.

    The markup is below. It is very simple. You can play with it by changing
    the attribute values in style of svg and br.
    'float' (to position the graphic) has the possible attribute values
    left, right, none, inline-start and inline-end
    'clear' (to specify the text wrap) has the possible attributes none,
    left, right and both.

    Kind regards,
    Regina










    The document width is set to 10cm.




    <rect x="4" y="4" width="292" height="292" stroke="blue"></rect>
    fill="#d7eef4" stroke-width="4"/>
    <circle cx="150" cy="150" r="90" stroke="red" fill="white"></circle>
    stroke-width="3"/>

    This is text besides the graphic.

    This text is placed after an <br> element. Thus it is still
    in the same paragraph.


    This is a new paragraph.



    Attachment(s)