[wp-trac] [WordPress Trac] #29804: Use HR instead of IMG as a placeholder for the more and nextpage tags

WordPress Trac noreply at wordpress.org
Tue Sep 30 13:01:02 UTC 2014


#29804: Use HR instead of IMG as a placeholder for the more and nextpage tags
-------------------------+-------------------------
 Reporter:  avryl        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.1
Component:  TinyMCE      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  javascript
-------------------------+-------------------------

Comment (by afercia):

 Unfortunately, [http://red-team-design.com/css-generated-content-replaced-
 elements/ CSS generated content is not guaranteed to work on replaced
 elements] If it works in some browsers, that's a non standard behavior and
 not future-proof. Technically, it's a bug. See for example Lea Verou's
 comment on the linked article:
  Yes, although convenient, this behavior is technically a bug in these
 engines. I think extending :before and :after to apply to replaced
 elements was discussed in the CSSWG and rejected ...

 That's the reason why in #28539 I was suggesting to consider a different
 approach.

 For reference: http://www.w3.org/TR/CSS21/generate.html#before-after-
 content
 ...
 Note. This specification does not fully define the interaction of :before
 and :after with replaced elements (such as IMG in HTML). This will be
 defined in more detail in a future specification.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29804#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list