Bug 216748
Summary: | Fix dump-as-markup.js to dump selection endpoints even when they are not in text nodes | ||
---|---|---|---|
Product: | WebKit | Reporter: | Darin Adler <darin> |
Component: | Tools / Tests | Assignee: | Darin Adler <darin> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | ap |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=216739 |
Darin Adler
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
Strange, there does seem to be code to to this in dump-as-markup; not sure why it's not working.
Darin Adler
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!