Bug 6214

Summary: text-indent in RTL block does the opposite
Product: WebKit Reporter: mitz
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: VERIFIED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Testcase
none
Use correct sign for indent from right margin eric: review+

mitz
Reported 2005-12-23 04:17:32 PST
Summary: In RTL layout, WebKit outdents text when text-indent is positive. A positive text-indent in RTL layout means indentation to the left with respect to the right edge of the block. To reproduce: open the testcase. Expected: a 50 pixel indentation between the right edge of the aqua rect and the end of the first line. Actual: the first line extends 50 pixels to the right beyond the right edge of the aqua rect.
Attachments
Testcase (405 bytes, text/html)
2005-12-23 04:18 PST, mitz
no flags
Use correct sign for indent from right margin (7.22 KB, patch)
2005-12-23 04:44 PST, mitz
eric: review+
mitz
Comment 1 2005-12-23 04:18:18 PST
Created attachment 5245 [details] Testcase
mitz
Comment 2 2005-12-23 04:44:59 PST
Created attachment 5247 [details] Use correct sign for indent from right margin
Eric Seidel (no email)
Comment 3 2005-12-23 10:19:08 PST
Comment on attachment 5247 [details] Use correct sign for indent from right margin Looks good. r=me.
mitz
Comment 4 2005-12-29 06:48:42 PST
Thank, Alexey!
mitz
Comment 5 2005-12-29 06:50:06 PST
Oops again, I meant many thanks!
Note You need to log in before you can comment on or make changes to this bug.