comctl32/test: Adapt the edit tests for height to Win10+.
commit0d8b477b1fbf650c74227004703b0190689288da
authorEric Pouech <eric.pouech@gmail.com>
Fri, 23 Dec 2022 08:47:21 +0000 (23 09:47 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 6 Jan 2023 09:43:20 +0000 (6 10:43 +0100)
treeef5d755f2067bcd26cfc24f9e0854b4313926843
parente439373f599bea527797dda8b34b31c2131bad32
comctl32/test: Adapt the edit tests for height to Win10+.

Starting with Win10, height of multiline edit controls no longer seems
to be hardwired to a multiple of the font height (when larger than
font height).

- Adapt the tests accordingly (detecting how to compute the expected
  height of a control).
- Extend the ranges of the tested heights.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52152
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
dlls/comctl32/tests/edit.c