Add tests for content-dpr, separate from client-hints (#20497)

* Add tests for content-dpr, separate from client-hints

Using simple ref-tests to assert that the browser renders natural-size correctly for content-dpr images.

* Move image-with-dpr-headers to content-dpr folder

* Consolidate rendering tests for content-dpr and remove cases already tested by existing test

* Use dpr.py for new test
diff --git a/content-dpr/image-with-content-dpr-and-explicit-dimensions-ref.html b/content-dpr/image-with-content-dpr-and-explicit-dimensions-ref.html
new file mode 100644
index 0000000..27ce1be
--- /dev/null
+++ b/content-dpr/image-with-content-dpr-and-explicit-dimensions-ref.html
@@ -0,0 +1,10 @@
+<html>
+  <head>
+    <title>Content-DPR: render natural size</title>
+    <link rel="author" title="Noam Rosenthal" href="noam@webkit.org">
+  </head>
+  <body>
+    <img src="resources/square.png" style="width: 100px; height: 120px" />
+    <img src="resources/square.png" style="width: 100px; height: 120px" />
+  </body>
+</html>
diff --git a/content-dpr/image-with-content-dpr-and-explicit-dimensions.html b/content-dpr/image-with-content-dpr-and-explicit-dimensions.html
new file mode 100644
index 0000000..783fb03
--- /dev/null
+++ b/content-dpr/image-with-content-dpr-and-explicit-dimensions.html
@@ -0,0 +1,12 @@
+<html>
+  <head>
+    <title>Content-DPR: with size attributes</title>
+    <link rel="author" title="Noam Rosenthal" href="noam@webkit.org">
+    <link rel="match" href="image-with-content-dpr-and-explicit-dimensions-ref.html" />
+    <meta name="assert" content="Assert explicit width/height attributes to supercede content-dpr">
+  </head>
+  <body>
+    <img src="resources/dpr.py?name=square.png&mimeType=image/png&dpr=4.0" width="100px" height="120px" />
+    <img src="resources/dpr.py?name=square.png&mimeType=image/png&dpr=4.0" style="width: 100px; height: 120px;" />
+  </body>
+</html>
diff --git a/client-hints/image-with-dpr-header.html b/content-dpr/image-with-dpr-header.html
similarity index 100%
rename from client-hints/image-with-dpr-header.html
rename to content-dpr/image-with-dpr-header.html
diff --git a/client-hints/resources/dpr.py b/content-dpr/resources/dpr.py
similarity index 100%
rename from client-hints/resources/dpr.py
rename to content-dpr/resources/dpr.py
diff --git a/content-dpr/resources/square.png b/content-dpr/resources/square.png
new file mode 100644
index 0000000..01c9666
--- /dev/null
+++ b/content-dpr/resources/square.png
Binary files differ