[Webkit-unassigned] [Bug 57500] New: Right padding disappears on anchor tags

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 30 13:17:17 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=57500

           Summary: Right padding disappears on anchor tags
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mruiguy at gmail.com


Overview:
I have CSS styles that add 10px of padding on the right of anchor tags.  The CSS also adds a background image on the right side of the anchor tag.  When the browser (Safari and Chrome) window is made narrower, the padding on the right of the anchor is removed and the background image appears behind the anchor text.  The anchor tag is located in a table cell.

Steps to Reproduce:
a {
    background: url("../images/Actions/B_SortUnselected_12N.png") no-repeat scroll right bottom transparent;
    padding-right: 10px;
    width: auto;
   }

<a href="http://..." title="Click to sort.">Link Text</a>

Expected results:
I expect the padding to be preserved so the background image does not move behind the link text.  This works correctly on IE7, IE8, and FF3.6.

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



More information about the webkit-unassigned mailing list