[Webkit-unassigned] [Bug 12233] New: word-spacing of negative length adds righthand padding, ignored(?)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 12 13:35:03 PST 2007


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

           Summary: word-spacing of negative length adds righthand padding,
                    ignored(?)
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
               URL: http://johnedwards.com/news/headlines/
        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 brodale.net


Compare referenced URL to Firefox, Opera, and IE/win.

Scroll to page base, and inspect pagination block (i.e.,
"Page 1 (of 12)...") represented by <div class="pages">.

Note that the individual page listing is offset from the
righthand edge of that block, despite being floated to
the right. The contents of that floated child <p> is a
simple collection of <a>s and <b>s and separating
character entities.

Relevant CSS applied to contain <div class="pages">
and its contents:

#C p { margin: 10px 10px 0; font-size: 11px; line-height: 1.35; }
#C p a:link, #C p a:visited { color: #981C25; font-weight: bold; }

#C .pages { clear: both; margin: 20px 10px 0; border: 1px solid #94C5EA;
border-width: 1px 0; }
#C .pages p { margin: 0; padding: 6px 0; line-height: 1; }
#C .pages p.f { float: left; margin-right: 5px; }
#C .pages p.l { float: right; word-spacing: -.25em; }/*!sf(2)==w-s(-.25em)*/
#C .pages p a:link, #C .pages p a:visited { font-weight: normal; }
#C .pages br { clear: both; }

Application of word-spacing as given triggers this layout misfire.
I'm baffled as to why, and it's not immediately apparent whether
word-spacing is even affected regardless of the additional righthand
padding produced.

Seen with both Safari 2.0.4 (419.3) and WebKit r18794.


-- 
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