Strengthened and cleaned up character bounds tests
In preparation for a big refactoring of our logic that computes character and object bounds. Important changes: 1. Wrote additional tests for scrollable editables and strengthened test for scrollable containers. 2. Tests that the height is the same across lines. More cosmetic changes: 3. Replaced all-caps constants with newer style guide constants that start with "k". 4. Used raw litteral strings (a C++ 11) feature that allows the use of quotes in HTML code without escaping or the need to remember to use single quotes. 5. Split SetUp methods into more helper functions. 6. Introduced SetUp method for creating scrollable input field and added a test for it. 7. Stopped using net::EscapeQueryParamString because it was not appropriate for escaping HTML code. R=aleventhal@chromium.org, dmazzoni@chromium.org Change-Id: I7d9387323ae35a353dc62096c151355897f925eb Reviewed-on: https://chromium-review.googlesource.com/1030842 Commit-Queue: Nektarios Paisios <nektar@chromium.org> Reviewed-by:Aaron Leventhal <aleventhal@chromium.org> Cr-Commit-Position: refs/heads/master@{#554462}
Showing
This diff is collapsed.
Please register or sign in to comment