Changes to disconnected nodes shouldn't increase DOM tree version |
||
Issue descriptionCurrently, changes (e.g., setting an attribute) to disconnected nodes increase DOM tree version directly. This is undesired and leads to troublesome behavior to clients of Document::domTreeVersion().
,
Sep 28 2016
Closing it as there is no urgent need to fix it, and it might be tricky to fix. One example is Range, which can be defined on disconnected objects but still needs to be updated when these objects are modified. Currently, Range uses DOM tree version to check if an update is needed, which will be broken if we disallow the DOM tree version to change. |
||
►
Sign in to add a comment |
||
Comment 1 by xiaoche...@chromium.org
, Sep 26 2016