[Webkit-unassigned] [Bug 23951] Inserting :last-child items on the fly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 13 19:13:30 PST 2010


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





--- Comment #1 from Joseph Pecoraro <joepeck at webkit.org>  2010-03-13 19:13:30 PST ---
Created an attachment (id=50666)
 --> (https://bugs.webkit.org/attachment.cgi?id=50666)
[SAMPLE] Shows Working as Expected

Alfred, this seems to be working just fine for me. I've attached a sample page
which shows the expected behavior.

Are you sure you were using the :last-child pseudo class correctly? The rule
you commented was missing braces for a block. It should instead look something
like this:

  p:last-child {
    border-bottom: none;
  }

Or more generically (not used in the sample attached, but still works)

  /* Affects the last child of anything
  :last-child {
    border-bottom: none;
  }

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