Make WordPress Core

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


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32305, comment 12

    v1 v2  
    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 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 inline SVGs same as HTML nodes. The nodeType is still === 1, so Twemoji happily processes them when these nodes are dynamically updated with JS. That triggers an error as the inner SVG nodes className is an object, not a string.