Ticket #6249 (closed Bug: fixed)

Opened 4 years ago

Last modified 4 years ago

BIDI: bullets in a Numbered/Bulleted List getting clipped when going from LTR to RTL

Reported by: satya Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.5.1
Component: Core : BiDi Version: 3.4
Keywords: IBM Cc: damo,joek

Description

To reproduce the defect

  1. Open Ajax sample.
  1. Create a 2 level Numbered/Bulleted list as shown in the attachment.
  1. Keep the cursor in the list item one on first level.
  1. Click on RTL Icon.

Result: The first number/bullet is missing from the list.

Note: Firefox tackles this by adding a horizontal scrollbar.

Attachments

Numbered list.jpg (45.4 KB) - added by satya 4 years ago.
6249.patch (643 bytes) - added by paho 4 years ago.
Patch
6249_2.patch (400 bytes) - added by garry.yao 4 years ago.

Change History

Changed 4 years ago by satya

comment:1 Changed 4 years ago by tobiasz.cudnik

  • Status changed from new to confirmed

Alternative TC:

  • Use following content
    <ul>
    	<li dir="rtl">
    		foo
    		<ul>
    			<li>
    				bar</li>
    		</ul>
    	</li>
    </ul>
    
  • First list-dot will be pushed out of the view port to the right.

comment:2 Changed 4 years ago by paho

  • Owner set to paho
  • Status changed from confirmed to assigned

Changed 4 years ago by paho

Patch

comment:3 Changed 4 years ago by paho

  • Status changed from assigned to review

Changed 4 years ago by garry.yao

comment:4 Changed 4 years ago by garry.yao

  • Status changed from review to review_failed

This's more a browser CSS bug, where list padding is not adjusted in according to text direction and even worse there's no CSS rule that could really compensate it, the attached patch is a workaround.

comment:5 Changed 4 years ago by paho

  • Status changed from review_failed to review

comment:6 Changed 4 years ago by garry.yao

  • Version set to 3.4
  • Component changed from General to Core : Lists
  • Milestone set to CKEditor 3.5.1

comment:7 Changed 4 years ago by garry.yao

  • Component changed from Core : Lists to Core : BiDi

The related #6634 will be handled at this ticket also.

comment:8 Changed 4 years ago by garry.yao

  • Summary changed from BIDI: IE First number/bullet in a Numbered/Bulleted List getting clipped when going from LTR to RTL to BIDI: bullets in a Numbered/Bulleted List getting clipped when going from LTR to RTL

comment:9 Changed 4 years ago by garry.yao

  • Status changed from review to assigned
  • Owner changed from paho to garry.yao

comment:10 Changed 4 years ago by garry.yao

  • Status changed from assigned to review

comment:11 Changed 4 years ago by krst

#6692 & #6891 are Related

comment:12 Changed 4 years ago by tobiasz.cudnik

  • Status changed from review to review_passed

Looks like this simple fix is enough.

comment:13 Changed 4 years ago by garry.yao

  • Status changed from review_passed to closed
  • Resolution set to fixed

Fixed with [6274].

comment:14 Changed 4 years ago by satya

http://dev.ckeditor.com/6891 which is marked as a duplicate of this defect is not fixed.

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy