Bug 190069

Summary: Replace every use of Node::offsetInCharacters() by Node::isCharacterDataNode()
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: DOMAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, darin, koivisto, sam, webkit-bug-importer, wenson_hsieh, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Cleanup zalan: review+

Ryosuke Niwa
Reported 2018-09-27 21:39:48 PDT
The implementation of Node::offsetInCharacters() is identical to Node::isCharacterDataNode(). It's super confusing because offsetInCharacters() sounds like a function which returns the number of characters in the node, or some kind of an offset within the characters.
Attachments
Cleanup (13.82 KB, patch)
2018-09-27 21:45 PDT, Ryosuke Niwa
zalan: review+
Ryosuke Niwa
Comment 1 2018-09-27 21:45:19 PDT
Ryosuke Niwa
Comment 2 2018-09-28 12:47:25 PDT
Radar WebKit Bug Importer
Comment 3 2018-09-28 12:48:31 PDT
Note You need to log in before you can comment on or make changes to this bug.