[Webkit-unassigned] [Bug 170762] Updating class name of a shadow host does not update the style applied by descendants of :host()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 18 09:27:40 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=170762

vpusher <florian.maffini at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |florian.maffini at free.fr

--- Comment #3 from vpusher <florian.maffini at free.fr> ---
Experiencing the same issue with my custom element (game-card) but with an attribute selector:

:host([unrevealed]) #flipper

> We can see the rule appear and match in the dev tools (transform: rotateY...), but the styles are not really applied to the #flipper element (the card should rotate on the Y axis, like it was flipped).

You can inspect it there: https://www.webcomponents.org/element/vpusher/game-card

> Click on the card to toggle the 'unrevealed' attribute on the host, then check the #flipper styles.

The thing is, if you uncheck, then check the rule in the dev tools, it applies properly.

Hope I helped.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170418/1d39ab57/attachment.html>


More information about the webkit-unassigned mailing list