W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2015

[Bug 28097] New: surroundContents should check host-inclusive

From: <bugzilla@jessica.w3.org>
Date: Wed, 25 Feb 2015 02:28:50 +0000
To: www-dom@w3.org
Message-ID: <bug-28097-4009@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28097

            Bug ID: 28097
           Summary: surroundContents should check host-inclusive
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
          Assignee: annevk@annevk.nl
          Reporter: kojiishi@gmail.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org

Range.surroundContents() method[1] checks "partially-contained"[2] pre-check
without using host-inclusive, but then in later step when to append[3], its
pre-check is host-inclusive.

This should be consistent.

Propose to change "partially contained" to use "host-including inclusive
ancestor".

[1] http://w3c.github.io/dom/#dom-range-surroundcontents
    https://dom.spec.whatwg.org/#dom-range-surroundcontents
[2] http://w3c.github.io/dom/#partially-contained
    https://dom.spec.whatwg.org/#dom-range-surroundcontents
[3] http://w3c.github.io/dom/#concept-node-append
    https://dom.spec.whatwg.org/#concept-node-append
[4] http://w3c.github.io/dom/#partially-contained
    https://dom.spec.whatwg.org/#partially-contained

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 25 February 2015 02:28:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:23 UTC