• Nektarios Paisios's avatar
    Strengthened and cleaned up character bounds tests · 6b6c0c39
    Nektarios Paisios authored
    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: default avatarAaron Leventhal <aleventhal@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#554462}
    6b6c0c39
blink_ax_tree_source.cc 35.3 KB