Change content:attr() invalidation to work for custom properties.
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:Anders Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/master@{#600796}
Showing
Please register or sign in to comment