[Webkit-unassigned] [Bug 15051] New: body margin problems with (padding|margin)-left on inline elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 22 12:37:29 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15051

           Summary: body margin problems with (padding|margin)-left on
                    inline elements
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
               URL: http://fred.hdfgroup.uiuc.edu/mneedham/webkit/testcase.x
                    html
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: webkit at bitbucket.spamfodder.com


It is probably necessary to change the window size to see the two behaviors
described.

1) Text will fall outside the right margin.

2) the size of the right margin will change.

The behaviors are triggered the application of margin-left or padding-left to
the elements, though the test.xhtml only includes padding-left. Margin-right or
padding-right are fine. The only styles applied are "body {border: 1px solid
rgb(255, 0, 0);}" and ".message {padding-left: 2em;}". "adding "word-wrap:
break-word;" to the body had no effect.

I've checked this in the lasted nightly, but it also exists in Safari 2.0.4.
Firefox 2.0.0.6 does not exhibit this behavior. 

This might be related to #14826.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list