• Lyza Danger Gardner's avatar
    Add utility to trim text-content Ranges · aea38355
    Lyza Danger Gardner authored
    Remove any leading or trailing whitespace and/or nodes from the supplied
    Range. The resulting range starts exactly at the first non-whitespace
    character in the Range and ends exactly at the last non-whitespace
    character in the Range.
    
    `trimRange` assumes the provided Range starts and ends on a text node
    and will throw otherwise.
    aea38355
Name
Last commit
Last update
..
html-baselines Loading commit data...
fake-pdf-viewer-application.js Loading commit data...
html-anchoring-fixture.html Loading commit data...
html-test.js Loading commit data...
match-quote-test.js Loading commit data...
pdf-test.js Loading commit data...
placeholder-test.js Loading commit data...
text-range-test.js Loading commit data...
trim-range-test.js Loading commit data...
types-test.js Loading commit data...
xpath-test.js Loading commit data...