xml.shift-obfl-marker.xpl Maven / Gradle / Ivy
Move '-obfl-marker' declarations to inline boxes.
Boxes must be represented by css:box
elements. All block boxes must have
at least one descendant inline box and inline boxes must have no descendant block
boxes. '-obfl-marker' properties must be declared in css:_obfl-marker
attributes.
For each element in the input that has a css:_obfl-marker
attribute and
is not a descendant of an inline box and not an inline box itself, the attribute is
moved to the first descendant or following inline box within the same block (which may
be the element itself). If there is no such element, the attribute is placed on an empty
css:_
element inserted as the last child of the last preceding inline box
(in the same block). In the former case, if the attribute is moved to a
css:box
element that already has a css:_obfl-marker
attribute
in the input, the '-obfl-marker' declarations are prepended to it.