[Webkit-unassigned] [Bug 160427] Shadow DOM: Rendering issues for distributed inputs in deep slots

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 4 13:07:27 PDT 2016


--- Comment #5 from Ryosuke Niwa <rniwa at webkit.org> ---
I'm so sorry. This is a terrible bug :(

For now, you can work around it by running:

var originalValue = shadowHost.style.display;
shadowHost.style.display = 'none'; // Any value different from the current one would do.
getComputedStyle(shadowHost).color; // Any property would do.
shadowHost.style.display = originalValue;

This would force style recall on the entire shadow tree.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160804/4aee41a3/attachment.html>

More information about the webkit-unassigned mailing list