Page MenuHomePhabricator

Cite.php should generate ID values that can be styled with the CSS 2 attribute selectors
Closed, ResolvedPublic

Description

Author: avarab

Description:
Cite.php should generate ID values that can be styled with the CSS 2 attribute
selectors i.e.

id="_ref-$1" and id="_note-$1"

instead of

id="_ref_$1" and id="_note_$1"

One could then apply a style to all elements that use _ref and _note using:

sup[id|="_ref"] { . . . }

and

li[id|="_note"] { . . . }


Version: unspecified
Severity: trivial
URL: http://www.w3.org/TR/CSS21/selector.html#attribute-selectors

Details

Reference
bz4579

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:01 PM
bzimport added a project: Cite.
bzimport set Reference to bz4579.
bzimport added a subscriber: Unknown Object (MLST).