• Rune Lillesveen's avatar
    Change content:attr() invalidation to work for custom properties. · 837b006d
    Rune Lillesveen authored
    This simplifies invalidation of attribute changes affecting attr()
    content from always invalidating for attributes used in attr() on all
    elements, to always invalidating with kLocalStyleChange for attr changes
    on elements which have ::before/::after content generated from attr().
    
    This means we don't need to block lazy parsing for ::before/::after and
    we will respond correctly to attr() used indirectly via var().
    
    Bug: 791525
    Change-Id: I13878a56ecf11eb3bd9da356128ac0f32dd5b62d
    Reviewed-on: https://chromium-review.googlesource.com/c/1288274
    Commit-Queue: Rune Lillesveen <futhark@chromium.org>
    Reviewed-by: default avatarAnders Ruud <andruud@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#600796}
    837b006d
content-attr.html 1.34 KB