Menu

#228 Add support for Document.adoptNode

Latest SVN
closed
None
1
2016-04-12
2016-04-12
Madis Pärn
No

As per https://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-adoptNode adoptNode function should be supported.

Discussion

  • Madis Pärn

    Madis Pärn - 2016-04-12

    I think the simplest solution is to reuse Document.importNode.

     
  • Ahmed Ashour

    Ahmed Ashour - 2016-04-12
    • status: open --> closed
    • assigned_to: Ahmed Ashour
     
  • Ahmed Ashour

    Ahmed Ashour - 2016-04-12

    Thanks a lot for the patch. It was committed in SVN.

    Few hints:
    * Regardless of the specs, HtmlUnit follows the real browsers
    * test case fails with real IE, as createHTMLDocument mandates a title parameter
    * You can add your name in the author of modified sources

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.