Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #32305, comment 12


Ignore:
Timestamp:
05/10/2015 12:14:49 AM (10 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32305, comment 12

    initial v1  
    1 Yep, good for that to be added too. The problem here seems to be that the browsers treat the nodes inside dynamically updated inline SVGs same as HTML nodes. The nodeType is still === 1, so Twemoji happily processes them. That triggers an error as (for some reason) the inner SVG nodes className is an object, not a string.
     1Yep, good for that to be added too. The problem here seems to be that the browsers treat the nodes inside dynamically updated inline SVGs same as HTML nodes. The nodeType is still === 1, so Twemoji happily processes them. That triggers an error as the inner SVG nodes className is an object, not a string.