NodeTypeId is supposed to reflect the WebIDL inheritance hierarchy. All of Text/ProcessingInstruction/Comment inherit from CharacterData, which inherits from Node. There should be a CharacterDataTypeId value that differentiates between those, instead. r? @jdm cc @yichoi Source-Repo: https://github.com/servo/servo Source-Revision: 5b0c6c9d31973aabdb820f16237e1a7c2a6524ad