[Bug 15532] New: Collapsing or extending to a ProcessingInstruction should be OK


           Summary: Collapsing or extending to a ProcessingInstruction
                    should be OK
           Product: WebAppsWG
           Version: unspecified
          Platform: All
               URL: http://dvcs.w3.org/hg/editing/raw-file/tip/selecttest/
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML Editing APIs
        AssignedTo: ayg@aryeh.name
        ReportedBy: stighal@opera.com
         QAContact: sideshowbarker+html-editing-api@gmail.com
                CC: mike@w3.org, public-webapps@w3.org

Created attachment 1065
  --> https://www.w3.org/Bugs/Public/attachment.cgi?id=1065
Test patch, PI

In the selecttest/collapse.html and selecttest/extend.html tests there are a
few tests that expect the browser to throw an INVALID_NODE_TYPE_ERR when trying
to collapse or extend to a PI.
According to the Selection [1] and Range [2] specs, it is not illegal to do
that, so I think the tests are wrong.

Patch attached.



Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Thursday, 12 January 2012 12:47:07 UTC