When the image isn't rendered, the values returned by img.width and img.height are supposed to be different in many cases, and that's what we're testing for here. Relevant spec text on these differences is here: https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-width "if the image is being rendered; or else ..." (though that spec text needs some nuance added per https://github.com/whatwg/html/issues/11287#issuecomment-2923467541 ) Firefox Nightly fails a bunch of the new tests added here, and those failures will be fixed in bug 1965560 as noted in the .ini file. Original Revision: https://phabricator.services.mozilla.com/D251972 Differential Revision: https://phabricator.services.mozilla.com/D267123
Common testing tools for mozilla codebase projects, test suite definitions for automated test runs, tests that don't fit anywhere else, and other fun stuff