Content defined with the :after pseudo-element appears before the term in a definition list when the display is set to run-in. It should appear after the term instead of before the term. This is a regression (works in current versions of Safari on the Mac and was working in nightlies until sometime early last week).
Created attachment 27477 [details] Test case The term should have a colon after it instead of before it.
<rdar://problem/6567717>
<http://trac.webkit.org/changeset/40254>
Created attachment 27478 [details] Patch
Comment on attachment 27478 [details] Patch r=me > =================================================================== > --- LayoutTests/fast/runin/002.html (revision 0) > +++ LayoutTests/fast/runin/002.html (revision 0) > @@ -0,0 +1,17 @@ > +<!DOCTYPE html> > +<html> > + <head> > + <title>WebKit Bug 23839: Definition terms with display style of run-in display :after content like :before content</title> > + <link href="http://chasenlehara.com/" rel="author" title="Chasen Le Hara" /> > + <style type="text/css"> > +dt {display: run-in} > +dt:after {content: ":"} > + </style> > + </head> > + <body> > + <dl> > + <dt>Term</dt> > + <dd>Definition</dd> > + </dl> > + </body> > +</html> > \ No newline at end of file Missing newline.
Fixed in r40778.