• fs's avatar
    Don't resolve non-local -webkit-clip-path references as local · d9357efc
    fs authored
    Whether the reference was local or not was disregarded, meaning that
    any URL with a valid fragment part could potential result in a valid
    clip - regardless of whether it was local or not. I.e foo.svg#bar would
    reference an element with the id 'bar' in the local document.
    
    Check if the URL reference resolver flagged the reference as being local,
    and only pass a non-null fragment if it was.
    
    BUG=629826
    
    Review-Url: https://codereview.chromium.org/2174813003
    Cr-Commit-Position: refs/heads/master@{#407300}
    d9357efc
clip-path-reference-nonexisting-existing-local.html 391 Bytes