Improve fast/dom/Range/get-bounding-client-rect-empty-and-non-empty.html
The layout has unclear test flow, as it uses a big test function with different branches with different assertions for all test cases. As a result, the expectations for the test cases are unclear. This patch removes all branching from the test flow, so that it becomes clear what we expect on each test case. It also reveals that LayoutNG has different behavior and should be marked failure here. Bug: 755750 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I7d1a22a5805cc7ad031bf3c7bc24f0b822a3a0da Reviewed-on: https://chromium-review.googlesource.com/1142573 Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Reviewed-by:Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#576289}
Showing
Please register or sign in to comment