summaryrefslogtreecommitdiff
path: root/Base
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@gmail.com>2021-07-28 17:01:36 +0100
committerAndreas Kling <kling@serenityos.org>2021-07-31 00:18:11 +0200
commitd113bc7704db9e1356c9575152c6d3c78d0c4fc6 (patch)
treeb839328c632f7bb7ad1ed1f84dc427b869b8358e /Base
parent23d869138f0b884aeff6e2f5d8b12a87f17c4f68 (diff)
downloadserenity-d113bc7704db9e1356c9575152c6d3c78d0c4fc6.zip
Base: Add CSS url(data:...) cases to test page
Also, it wasn't linked to from welcome.html, so now it is.
Diffstat (limited to 'Base')
-rw-r--r--Base/res/html/misc/data-url.html23
-rw-r--r--Base/res/html/misc/welcome.html1
2 files changed, 23 insertions, 1 deletions
diff --git a/Base/res/html/misc/data-url.html b/Base/res/html/misc/data-url.html
index 0f6e4988d0..c547a4a65b 100644
--- a/Base/res/html/misc/data-url.html
+++ b/Base/res/html/misc/data-url.html
@@ -1,8 +1,29 @@
+<!doctype html>
<html>
- <head></head>
+ <head>
+ <style>
+ .star {
+ background-image: url(data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7);
+ width: 16px;
+ height: 16px;
+ }
+ .browser-icon {
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAFqElEQVRYw9VXa0wUVxT+9gUs+FgoGsHUJdUK1SpsLNKqVKItitJKaAW1tlZSMNHYxvLDGhrdptZHGtukD9tuE2y0gI/Yoq26gqgprI3SdhV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KWvZvvPAwBAiUMLi9EFmylb9lGJQxs2+fQag5ho0vtkdRp4VsA1clFWAZUA4PUwXW4PL4L7ASuTmSBwvz9cKAKJSJOPcwvi/bXad9pFBW437Zqsm1KAJABOUzaSANRKJssaRiJK9z4AEE4A7x0gILAuu6wfcPpWWhsAet53ZUXYVsnqNACAg28LWrWfiMclz2bW2dkSdBpKV50kuS8AcELeM6C6Yqc4dvBtcPBtMlA7ZxXfadp8HLfcNvF5h5kgMbP0AzEXkgBa6wMKJFIAoFIyzvMlYWUyg9SyxrBhkCYm8TpBCQv/MX/yrSVHei8fKAhSINCyfOB5vitSEoY2CoF1ycA7zAQJ04tLZP2AX4FA8BOSVcM3zhO3Z+S6L/BAU8UBPPd+kcx/vDjnG+dV81pZHeiKAI4QRCzGOthM2Sj8xIqJ42Jx9PydAUW2mCHwHggcg8xyOXh9ydLTzqv71oZsybLCrDwvhLD+2tBqd6G9ux9T9SNg2WIG9xDgmV4IXD8yy5fJvjlVutKamFmWG6krpghYeaD0gVXQYjwJyrMQCAtKWP8UovnjXl9SdDYxs/SlQdvyJIB2BZBAgAqrrmshcIDAUxBfV9a8qyZIpczy5egwE/y9Z74s5kP5MwrZCq1oiUH1dI84XmaNCZv7HWaCKzWvHU2YVrS6vaqw57H8nKYs3Rt1/88fdqSva9xACUDJAFMFAIUKuFJd3MA5HS2JM0s33di/3Iv/g/0DlSqwIPvu0LgAAAAASUVORK5CYII=");
+ width: 32px;
+ height: 32px;
+ }
+ </style>
+ </head>
<body>
+ <h1>In &lt;img&gt; tags:</h1>
<img src="data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQ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class="browser-icon"></div>
</body>
</html>
diff --git a/Base/res/html/misc/welcome.html b/Base/res/html/misc/welcome.html
index 90e110d2a0..2bae26070a 100644
--- a/Base/res/html/misc/welcome.html
+++ b/Base/res/html/misc/welcome.html
@@ -139,6 +139,7 @@
<li><a href="pbmsuite.html">PBM test suite</a></li>
<li><a href="pgmsuite.html">PGM test suite</a></li>
<li><a href="ppmsuite.html">PPM test suite</a></li>
+ <li><a href="data-url.html">data: url images</a></li>
</ul>
<script>
document.getElementById("loadtime").innerHTML = performance.now();