[wp-trac] [WordPress Trac] #26642: [caption] is 10px too wide
WordPress Trac
noreply at wordpress.org
Tue Mar 18 16:39:59 UTC 2014
#26642: [caption] is 10px too wide
-------------------------+-----------------------
Reporter: Looimaster | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.9
Component: Media | Version: 3.8
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+-----------------------
Changes (by obenland):
* milestone: Awaiting Review => 3.9
Comment:
Replying to [comment:18 azaozz]:
> Also the current patches here remove the `style="width..."` from the
wrapper element. That would make it impossible to center the caption
wrapper […] Is that intended for the HTML 5.0 captions?
Themes can use `display: table;` on centered captions. While this doesn't
work for old versions of IE, HTML5 in general doesn't work there either.
I added mce styles to make HTML5 captions look as close to its HTML4
predecessors as possible. [https://cloudup.com/cNRyVKutSH8 Example]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26642#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list