diff options
Diffstat (limited to 'testing/web-platform/tests/webdriver/tests/bidi/browsing_context/set_viewport/viewport.py')
-rw-r--r-- | testing/web-platform/tests/webdriver/tests/bidi/browsing_context/set_viewport/viewport.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/web-platform/tests/webdriver/tests/bidi/browsing_context/set_viewport/viewport.py b/testing/web-platform/tests/webdriver/tests/bidi/browsing_context/set_viewport/viewport.py index 2e8126b1f8..e9ff8517f2 100644 --- a/testing/web-platform/tests/webdriver/tests/bidi/browsing_context/set_viewport/viewport.py +++ b/testing/web-platform/tests/webdriver/tests/bidi/browsing_context/set_viewport/viewport.py @@ -243,6 +243,6 @@ async def test_with_scrollbars( # The side which has scrollbar takes up space on the other side # (e.g. if we have a horizontal scroll height is going to be smaller than viewport height) if use_horizontal_scrollbar: - assert viewport_without_scrollbar["height"] < test_viewport["height"] + assert viewport_without_scrollbar["height"] <= test_viewport["height"] if use_vertical_scrollbar: - assert viewport_without_scrollbar["width"] < test_viewport["width"] + assert viewport_without_scrollbar["width"] <= test_viewport["width"] |