[wp-trac] [WordPress Trac] #28997: Adding additional classes to image captions via UI
WordPress Trac
noreply at wordpress.org
Thu Aug 25 12:48:25 UTC 2016
#28997: Adding additional classes to image captions via UI
-------------------------+------------------------------
Reporter: jpswade | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses:
-------------------------+------------------------------
Comment (by asterbird):
CSS adjacent selectors apply to elements ''after'' the selected element.
The figure element is ''before'' the img element, which makes renders CSS
adjacent selectors irrelevant. See this topic about CSS's inability to
directly select previous siblings:
[http://stackoverflow.com/questions/1817792/is-there-a-previous-sibling-
css-selector/36118012#36118012]
I too would like to see this bug fixed. I have several use cases and run
into the issue of a lack of adequate classes on the Figure element for
just about every website I build.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28997#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list