Make sure we recalc for re-attach for v0 distributed nodes.
Similarly to what we do for slot elements. When moving from a separate re-attach where computing style as part of AttachLayoutTree to RecalcStyle for re-attach we need to detect that we recalc style for distributed nodes for re-attach to SetNonAttachedStyle(). Since we can't really propagate the kReattach up from inside the shadow tree recalc to the shadow host when recalculating light tree children, we recalculate the distributed nodes from the insertion point when we are in a kReattach change. Bug: 873129, 873279 Change-Id: I2364c5f1dce3a79e725d3cb94750f1cfb3e98221 Reviewed-on: https://chromium-review.googlesource.com/1172424 Commit-Queue: Rune Lillesveen <futhark@chromium.org> Reviewed-by:Anders Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/master@{#583200}
Showing
Please register or sign in to comment