Ticket #6612 (closed Bug: invalid)

Opened 3 years ago

Last modified 13 months ago

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) (diff)

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

comment:1 Changed 3 years ago by garry.yao

  • Keywords IE removed
  • Description modified (diff)
  • Summary changed from [IE] Table right alignment floated to Table right alignment floated

comment:2 Changed 3 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 13 months ago by Reinmar

  • Status changed from new to closed
  • Resolution set to invalid

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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy