- From: <bugzilla@jessica.w3.org>
- Date: Fri, 16 Dec 2011 23:51:09 +0000
- To: www-dom@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15239
Summary: CharacterData "replace data" documentation typeo
Product: WebAppsWG
Version: unspecified
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: minor
Priority: P2
Component: DOM Core
AssignedTo: annevk@opera.com
ReportedBy: brandonyoyoslade@gmail.com
QAContact: member-webapi-cvs@w3.org
CC: mike@w3.org, www-dom@w3.org
This is just a documentation error, since I'm sure everybody who reads it will
understand what you mean, but in the steps for replacing data (for a
CharacterData instance - see
http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-cd-replace)
steps 9 and 10 are exactly identical. They both state:
"For each range whose start node is node and start offset is greater than
offset plus count, increase its start offset by the number of code units in
data, then decrease it by count."
I believe that your intentions were for step 10 to say:
"For each range whose END NODE is node and END OFFSET is greater than offset
plus count, increase its start offset by the number of code units in data, then
decrease it by count."
I just want to point it out so that it can be fixed in the next version of the
specification.
--
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 Friday, 16 December 2011 23:51:11 UTC