WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
Bug 216748
Fix dump-as-markup.js to dump selection endpoints even when they are not in text nodes
https://bugs.webkit.org/show_bug.cgi?id=216748
Summary
Fix dump-as-markup.js to dump selection endpoints even when they are not in t...
Darin Adler
Reported
2020-09-20 12:06:06 PDT
Currently dump-as-markup.js only dumps selection endpoints when they are in text nodes. Should fix it so they get dumped even when they are not in text nodes.
Attachments
Add attachment
proposed patch, testcase, etc.
Darin Adler
Comment 1
2020-09-20 12:20:47 PDT
Strange, there does seem to be code to to this in dump-as-markup; not sure why it's not working.
Darin Adler
Comment 2
2020-09-20 12:30:16 PDT
I see what the problem is. The dump-as-markup.js script already handles this fine. The problem is that WebKit moves the selection endpoints. And it will stop doing so when we turn on the live range selection support, which means we are going to get very different results from all those tests!
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