Re: Deprecated Attr methods

Yes, this is exactly what I am doing.
On May 25, 2015 11:43 AM, "Boris Zbarsky" <bzbarsky@mit.edu> wrote:

> On 5/25/15 4:29 AM, Philip Jägenstedt wrote:
>
>> I'm not quite following, how are you setting the attribute name (not
>> value) to "[foo]"?
>>
>
>   data:text/html,<div [foo]=bar>
>
> or equivalent with the innerHTML setter.
>
> Once such an attribute is created by the parser, it can currently be
> cloned and set on other elements via Attr APIs, right?  And such an
> attribute cannot be created via setAttribute/setAttributeNS.
>
> -Boris
>
>

Received on Monday, 25 May 2015 17:00:53 UTC