Bug 15584 - Test function myInsertNode() not setting end point according to spec.
Test function myInsertNode() not setting end point according to spec.
Status: RESOLVED FIXED
Product: WebAppsWG
Classification: Unclassified
Component: DOM
unspecified
All All
: P2 normal
: ---
Assigned To: Ms2ger
public-webapps-bugzilla
http://w3c-test.org/webapps/DOMCore/t...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-16 12:17 UTC by Stig Halvorsen
Modified: 2012-01-16 14:46 UTC (History)
4 users (show)

See Also:


Attachments
Test patch (1.64 KB, patch)
2012-01-16 12:17 UTC, Stig Halvorsen
Details | Diff
Test patch fixup (958 bytes, patch)
2012-01-16 12:18 UTC, Stig Halvorsen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stig Halvorsen 2012-01-16 12:17:38 UTC
Created attachment 1069 [details]
Test patch

The helper function myInsertNode() in common.js in the Range tests [1] does not set the end point according to point 10 in the insertNode() spec [2].

Patches attached.

[1] http://w3c-test.org/webapps/DOMCore/tests/approved/
[2] http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-range-insertnode
Comment 1 Stig Halvorsen 2012-01-16 12:18:11 UTC
Created attachment 1070 [details]
Test patch fixup
Comment 2 Ms2ger 2012-01-16 14:46:47 UTC
Aryeh had already fixed it in the submission copy, so I just moved that over.

http://dvcs.w3.org/hg/webapps/rev/be529cd661f8