Opened 13 years ago

Closed 11 years ago

#6612 closed Bug (invalid)

Table right alignment floated

Reported by: Garry Yao Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Discussion Cc:

Description (last modified by Garry Yao)

The 'align' attribute used on table element actually makes the table right floated.

  1. Load the following content:
    <p>
    	text line before table.
    </p>
    <table>
    	<tr>
    		<td>cell</td>
    		<td>cell</td>
    	</tr>
    	<tr>
    		<td>cell</td>
    		<td>cell</td>
    	</tr>
    </table>
    <p dir="rtl">
    	text line after table.
    </p>
    
  2. Make selection in table, open properties dialog and select right alignment;
  • Actual Result: table is floated at the right side (overlap the layout box of last line);
  • Expected Result: table occupied line height in layout flow.

Change History (3)

comment:1 Changed 13 years ago by Garry Yao

Description: modified (diff)
Keywords: IE removed
Summary: [IE] Table right alignment floatedTable right alignment floated

comment:2 Changed 13 years ago by Garry Yao

Keywords: Discussion added

This's counterintuitive in MS Word, there's no text-wrapping (floated) effect by default, we should at least provide user the option to cancel float effect.

comment:3 Changed 11 years ago by Piotrek Koszuliński

Resolution: invalid
Status: newclosed

It's a matter of writing styles (available in styles dropdown) that allows to align table to right without making it floating.

By default align set to "right" or "left" has exactly the same meaning as for images, which gain the float style, what's intuitive.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy