On 3/23/19 5:33 AM, Benjamin Eberlei wrote:
> On Fri, Mar 22, 2019 at 11:26 PM Claude Pache <claude.pa...@gmail.com>
> wrote:
>
>> Beware that behaviour of some methods should differ between HTML and
>> non-HTML documents. For instance, the RFC says:
>>
>>> DOMElement→nodeName casing was previously undefined, it is now changed
>> to always uppercase.
>>
>> However, the DOM Living Standard says it is uppercase (even,
>> ASCII-uppercased) only in the HTML namespace. For XML documents, the casing
>> is not modified.
>>
> You are absolutely right, i missed that in the convoluted description of
> the behavior :-) I need to rethink how this would fit with the
> compatibility flags, it might cause a problem given that loadHTML for
> example doesn't automatically put the elements into HTML namespace. I
> updated the RFC to reflect this.
>
> To be honest, the compatibility thing is what i am least sure in,
> especially if this should be combined with the new methods + removal of
> unused code or should be handled separately.
>
>
>> —Claude
>>
>>
I'm still running through all the changes but my suggestion would be to
start with only new methods and then deal with the rest. At least with
the new functionality you don't cause any unintended BC breaks.

Rob


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to