Files
tubestation/testing
Daniel Holbert b90db4cb46 Bug 1969000: Change WPT naturalWidth-naturalHeight-unavailable.tentative.html to append its img elements dynamically with JS. a=RyanVM
This patch doesn't fundamentally change the behavior or expectations of this
test.

This patch simply moves all of the img elements to a <template> (which is not
rendered), and then appends a clone of those elements to a container within
the body; and then those cloned img elements are what get tested.

This sets the stage for later patches to append additional modified copies of
these img elements, with small modifications (e.g. using 'srcset' rather than
'src').

Original Revision: https://phabricator.services.mozilla.com/D251659

Differential Revision: https://phabricator.services.mozilla.com/D267118
2025-10-02 01:01:39 +00:00
..

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