[Webkit-unassigned] [Bug 53574] New: REGRESSION: li last-child after not working as expected

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 1 21:52:13 PST 2011


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

           Summary: REGRESSION: li last-child after not working as
                    expected
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: priyajeet.hora at gmail.com


Created an attachment (id=80888)
 --> (https://bugs.webkit.org/attachment.cgi?id=80888&action=review)
testcase

Downstream bug: http://code.google.com/p/chromium/issues/detail?id=71213
Test case attached.
Expected:

*1X
*2X
*3

Actual

*1X
*2X
*3X

Happens in r77333 of webkit nightly, seems fine in r77224.


<!DOCTYPE html>
  <html>
    <head>
      <title>:last-child:after</title>
      <style>
        li:after {
          content:"X";
        }

        li:last-child:after{
          content:"";
        }
      </style>
    </head>
    <body>
      <ul>
        <li>1</li>
        <li>2</li>
        <li>3</li>
      </ul>
    </body>
  </html>

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