RESOLVED FIXED Bug 53574
REGRESSION (r76012): :last-child:after not working as expected
https://bugs.webkit.org/show_bug.cgi?id=53574
Summary REGRESSION (r76012): :last-child:after not working as expected
Darth
Reported 2011-02-01 21:52:13 PST
Created attachment 80888 [details] 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>
Attachments
testcase (346 bytes, text/html)
2011-02-01 21:52 PST, Darth
no flags
patch (6.42 KB, patch)
2011-02-04 13:08 PST, Antti Koivisto
dglazkov: review+
Alexey Proskuryakov
Comment 1 2011-02-02 09:15:00 PST
Andy Estes
Comment 2 2011-02-02 11:09:58 PST
Dimitri Glazkov (Google)
Comment 3 2011-02-04 10:27:31 PST
Here's another reduction: http://jsfiddle.net/dglazkov/NmKkQ/ Should display 1234.
Antti Koivisto
Comment 4 2011-02-04 13:08:44 PST
Dimitri Glazkov (Google)
Comment 5 2011-02-04 13:10:15 PST
Comment on attachment 81274 [details] patch yay!
Antti Koivisto
Comment 6 2011-02-04 13:11:57 PST
also fixes Bug 53610
Antti Koivisto
Comment 7 2011-02-04 13:17:27 PST
Note You need to log in before you can comment on or make changes to this bug.