summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-dim-ref.html
blob: b1adb683077ebf9f6cc2654b6670eeed528f3770 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<meta charset=utf-8>
<title>img width/height - reference</title>
<style>
p { width: 50px; height: 50px; }
</style>
<p><img src=/images/green.png>
<p><img src=/images/green.png style="width: 10px">
<p><img src=/images/green.png style="height: 10px">
<p><img src=/images/green.png style="width: 10%">
<p><img src=/images/green.png style="height: 10%">