New issue
Advanced search Search tips

Issue 650164 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Sep 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

Changes to disconnected nodes shouldn't increase DOM tree version

Project Member Reported by xiaoche...@chromium.org, Sep 26 2016

Issue description

Currently, 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().
 
Blocking: 648949
Blocking: -648949
Status: WontFix (was: Assigned)
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