xml.preserve-white-space.xpl Maven / Gradle / Ivy
The newest version!
Identify pieces of text that contain preserved white space.
The 'white-space' properties of elements in the input must be declared in
css:white-space attributes, and must conform to
http://braillespecs.github.io/braille-css/#the-white-space-property. target-text(),
target-string(), target-counter() and target-content() values must be represented by
css:text, css:string, css:counter and css:content elements.
Each text node whose parent element's white-space property has a computed value of
'pre-wrap' is wrapped in a css:white-space element. For text nodes with a value of
'pre-line' only sequences of segment breaks are wrapped in a css:white-space element.
css:string, css:text, css:counter and css:content elements with a computed value of
'white-space' not equal to 'normal' get a css:white-space attribute.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy