- From: <bugzilla@jessica.w3.org>
- Date: Wed, 25 Feb 2015 02:28:50 +0000
- To: www-dom@w3.org
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