Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid asserting default sizes in {progress,meter}-native-computed-style.optional.html writing mode tests #41997

Conversation

pxlcoder
Copy link
Contributor

These tests currently assume that the default inline and block sizes of and are the same across all browsers. That is not the case, and is irrelevant to the purpose of the test, which is to assert that the block size should match height/width and inline size should match width/height depending on the writing mode.

Replace the exact value assertions with assertions that test for an appropriate aspect ratio (inline size greater than block size).

…le.optional.html writing mode tests

These tests currently assume that the default inline and block sizes of <progress>
and <meter> are the same across all browsers. That is not the case, and is irrelevant
to the purpose of the test, which is to assert that the block size should match
height/width and inline size should match width/height depending on the writing mode.

Replace the exact value assertions with assertions that test for an appropriate
aspect ratio (inline size greater than block size).
@pxlcoder
Copy link
Contributor Author

cc @nt1m

@nt1m nt1m merged commit cfdfe71 into web-platform-tests:master Sep 16, 2023
20 checks passed
OrKoN pushed a commit that referenced this pull request Sep 18, 2023
…le.optional.html writing mode tests (#41997)

These tests currently assume that the default inline and block sizes of <progress>
and <meter> are the same across all browsers. That is not the case, and is irrelevant
to the purpose of the test, which is to assert that the block size should match
height/width and inline size should match width/height depending on the writing mode.

Replace the exact value assertions with assertions that test for an appropriate
aspect ratio (inline size greater than block size).
Lightning00Blade pushed a commit to Lightning00Blade/wpt that referenced this pull request Dec 11, 2023
…le.optional.html writing mode tests (web-platform-tests#41997)

These tests currently assume that the default inline and block sizes of <progress>
and <meter> are the same across all browsers. That is not the case, and is irrelevant
to the purpose of the test, which is to assert that the block size should match
height/width and inline size should match width/height depending on the writing mode.

Replace the exact value assertions with assertions that test for an appropriate
aspect ratio (inline size greater than block size).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants