Skip to content

url encoding applied by XSLT in Webkit #79

@sashafirsov

Description

@sashafirsov
<custom-element >
    <template>
        <label value="🍌" src="🍌" href="🍌" data="🍌">🛒</label>
    </template>
</custom-element>

In FF works fine, in Crome produces

<label xmlns="" value="🍌" src="%F0%9F%8D%8C" href="%F0%9F%8D%8C"  data="🍌">🛒</label>

where src and href attributes are url endcoded.

That prevents to use src or href by DCE without decoding them first. <cem-icon src="👀">eyes</cem-icon> produces
%F0%9F%9B%92 eyes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions