Join GitHub today
Report deleted/inserted content in Chrome #8558
Link to issue number:
Summary of the issue:
Web authors are able to mark particular content as being inserted or deleted with ins and del tags respectively.
Description of how this pull request fixes the issue:
Known issues with pull request:
Change log entry:
Have you considered consistency here? We now have two separate insertion/deletion implementations, one based on control field attributes (Word and UIA) and one based on roles (IA2). It would be great if we could choose one of them, but I assume that introduces othher issues??
Yes, there is one implementation for format fields, and one for roles / controlFields. Microsoft word exposes a flat view of text, where revisions are assentially a format change. Web browsers such as Chrome expose a tree structure, where revisions (such as insertion/deletion) are just one of the nodes in the tree. We could try and massage one of them into the other, but I don't think it is worth the complication. At the end of the day they are represented topologically very different in each application. Abstraction can only go so far. I suppose you *could* argue that we should change our mshtml virtualBuffer to match Chrome... currently we are somehow faking ins/del as formatFields. But, I'm again not sure it is worth the code chirn, especially for an unmaintained browser.