Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly linked insertBefore with fragments. #12

Merged
merged 1 commit into from
Jun 11, 2012
Merged

Properly linked insertBefore with fragments. #12

merged 1 commit into from
Jun 11, 2012

Conversation

bigeasy
Copy link
Collaborator

@bigeasy bigeasy commented Jun 10, 2012

Updated insertBefore to accept a DocumentFragment. Apparently, that branch of logic was not tested. It called the non-existant Node.firstNode instead of Node.firstChild.

Updated appendChild and insertBefore to return the inserted Node according to the WC3 DOM Level 2.

Set the nodeType property of DocumentFragment objects.

Created an example of what to expect when you insert a DocumentFragment.

Updated `insertBefore` to accept a `DocumentFragment`. Apparently, that
branch of logic was not tested. It called the non-existent
`Node.firstNode` instead of `Node.firstChild`.

Updated `appendChild` and `insertBefore` to return the inserted `Node`
according to the WC3 DOM Level 2.

Set the `nodeType` property of `DocumentFragment` objects.
@bigeasy
Copy link
Collaborator Author

bigeasy commented Jun 10, 2012

Fixing a spelling error in the commit message. Going to force update. Okay; done.

@jindw jindw closed this Jun 11, 2012
@jindw
Copy link
Owner

jindw commented Jun 11, 2012

Well done
thank you.

@jindw jindw reopened this Jun 11, 2012
@ghost ghost assigned jindw Jun 11, 2012
jindw added a commit that referenced this pull request Jun 11, 2012
Properly linked `insertBefore` with fragments.
@jindw jindw merged commit 1a03b73 into jindw:master Jun 11, 2012
emmkimme pushed a commit to emmkimme/xmldom that referenced this pull request Jul 8, 2020
* Various maintenance

- More package.json refactoring.
- Removed .npmignore in favor of `files` entry in package.json.
- Renamed dom-parser.js to domParser.js.
- Replaced CHANGELOG with more rigorous file.
- Replaced LICENSE with more rigorous file.
- Removed component.json (deprecated package manager https://github.com/componentjs/guide)
- `proof` devDep updated to latest.

Closes jindw#2.
Closes jindw#12.
Closes jindw#20.

Requesting review from @brodybits @timbru31.

Pending approval and merge, we should release this as 0.2.2.

* CHANGELOG tweak

* Bump minor instead of patch

* Bump minor instead of patch

* fix tests?

* fix tests

* rename...

* fix tests

* fix package lock

* update CHANGELOG

and tilda proof.

* rename back

* update CHANGELOG

* consistency

* moving files to lib

* Update lib/dom-parser.js

Co-Authored-By: Chris Brody <[email protected]>

* Update CHANGELOG.md

Co-Authored-By: Chris Brody <[email protected]>

* past tense

Co-authored-by: Chris Brody <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants