Adds a unit test for testing upstream affinity in content editables
This currently doesn't work. Any help appreciated. 1. Modifying the selection by moving forward to the end of the current line works. I verified by using the same HTML in Chrome. 2. The affinity of the DOM selection is not set to upstream as it should have been. 3. As expected, the affinity of the AXSelection is also not set to upstream. 4. The width of the first line is not 15 characters, even though the width in the style rule is set to "15ch" and the font is a monospace one. R=dmazzoni@chromium.org, yosin@chromium.org Bug: 639340 Change-Id: I6b7254107c5f7ca96bf6bd38fe55e6824d05e614 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1536752 Commit-Queue: Nektarios Paisios <nektar@chromium.org> Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#644817}
Showing
Please register or sign in to comment