Bug 1503314 [wpt PR 13786] - Check slot re-assignment for getComputedStyle., a=testonly
commitf63865df905780edfed214361aa01bcbe6e5bfe3
authorRune Lillesveen <futhark@chromium.org>
Fri, 9 Nov 2018 16:56:03 +0000 (9 16:56 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sat, 10 Nov 2018 09:02:38 +0000 (10 09:02 +0000)
tree1bf9bfff4e80a7e4948f009866a2d31ca97fcb10
parent8a31082dd31f48f7b0f33bc019d08fe846b67e93
Bug 1503314 [wpt PR 13786] - Check slot re-assignment for getComputedStyle., a=testonly

Automatic update from web-platform-testsCheck slot re-assignment for getComputedStyle.

We only checked if we needed to update v0 shadow distribution before
skipping style recalc for getComputedStyle and friends. Slot re-
assignment for shadow dom v1 also needs to be done as it may affect
inheritance ancestors for the element in question.

This may be the reason for issue 900138, but we have no repro, so hard
to say.

Bug: 900138
Change-Id: Ie2ceae97141aabed0e26de3070b1f170e9eedeed
Reviewed-on: https://chromium-review.googlesource.com/c/1307396
Reviewed-by: Hayato Ito <hayato@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#604187}

--

wpt-commits: 4b8cb25d91bc5961fd484a60be9c6c06b12ab744
wpt-pr: 13786
testing/web-platform/tests/css/css-scoping/shadow-reassign-dynamic-003.html [new file with mode: 0644]