Make fast/dom/Range/range-expand.html match its intention
The layout test has a "multiline" test case which isn't really multiline, as the linebreak characters in HTML are turned into whitespaces. This patch changes the <p> element into <pre> so that the linebreak characters are really breaking text into lines, and the test case is a multiline test case. This patch is a preparation for changing StartOfSentence() to use TextOffsetMapping (crrev.com/c/1335959). Bug: 778507 Change-Id: I77cd48eb13a1ff442e7ecbe1c71819055bccf078 Reviewed-on: https://chromium-review.googlesource.com/c/1336785 Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Reviewed-by:Yoichi Osato <yoichio@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#608263}
Showing
Please register or sign in to comment