You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In general, whether a test passes should only depend on whether the used agent implements the tested feature correctly or not.
However, in some cases, for example if the viewport is not wide enough, tests may fail erroneously.
This behavior can be reproduced with the following steps:
Resize the window until the viewport is less than 230px wide (As the minimum width of the window might be limited, it might be required to dock the development tools to its side).
Reload the test.
The test result should change from passed to fail.
In this case, the containing block of the inline-grid element becomes too small. This changes the resulting layout, including the widths checked by the test.
To resolve this, a width or min-width could be applied to one the ancestors of such elements by default.
Another aspect which shows a similar behavior is pagination.
When a page break occurs inside an element, it is split into two, making it impossible to achieve the intended result.
To overcome this, the break-inside property could be set to avoid for such elements or their ancestors.
As this style only applies to paged media, this should not influence any tests run in a non paged medium.
The text was updated successfully, but these errors were encountered:
In general, whether a test passes should only depend on whether the used agent implements the tested feature correctly or not.
However, in some cases, for example if the viewport is not wide enough, tests may fail erroneously.
This behavior can be reproduced with the following steps:
passed
tofail
.In this case, the containing block of the inline-grid element becomes too small. This changes the resulting layout, including the widths checked by the test.
To resolve this, a
width
ormin-width
could be applied to one the ancestors of such elements by default.Another aspect which shows a similar behavior is pagination.
When a page break occurs inside an element, it is split into two, making it impossible to achieve the intended result.
To overcome this, the
break-inside
property could be set toavoid
for such elements or their ancestors.As this style only applies to paged media, this should not influence any tests run in a non paged medium.
The text was updated successfully, but these errors were encountered: