WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
25193
rangeFromLocationAndLength may set a Range endpoint to a non-range compliant Position
https://bugs.webkit.org/show_bug.cgi?id=25193
Summary
rangeFromLocationAndLength may set a Range endpoint to a non-range compliant ...
Justin Garcia
Reported
2009-04-14 17:11:34 PDT
TextIterator::rangeFromLocationAndLength does: Position runEnd = VisiblePosition(runStart).next().deepEquivalent(); if (runEnd.isNotNull()) { ExceptionCode ec = 0; textRunRange->setEnd(runEnd.node(), runEnd.m_offset, ec); ASSERT(!ec); } runEnd may not be Range compliant.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-12-16 16:46:50 PST
I am only able to find "rangeFromLocationAndLength" in three files: Internals.cpp ; Internals.h ; CompositeEditCommand.cpp For the last, it was in the comment. Further, this commit delete this function -
https://github.com/WebKit/WebKit/commit/b19656cfb6c28634404b0f8f9ccaf553638bedb5
Do we need to keep this open? Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug