summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/embedded-content/the-img-element/environment-changes/iframed.sub.html
blob: 0f7ab9ae2728fc5a18f684db506a82b71852162b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!doctype html>

<img
data-desc="img (no src)"
data-narrow=""
data-wide=""
data-no-change>

<img src=""
data-desc="img (empty src)"
data-narrow=""
data-wide=""
data-no-change>

<img src="/images/broken.png?30-{{GET[id]}}"
data-desc="img (src only) broken image"
data-narrow="/images/broken.png?30-{{GET[id]}}"
data-wide="/images/broken.png?30-{{GET[id]}}"
data-no-change>

<img src="/images/green-1x1.png?40-{{GET[id]}}"
data-desc="img (src only) valid image"
data-narrow="/images/green-1x1.png?40-{{GET[id]}}"
data-wide="/images/green-1x1.png?40-{{GET[id]}}"
data-no-change>

<img srcset="/images/broken.png?50-{{GET[id]}}"
data-desc="img (srcset 1 cand) broken image"
data-narrow="/images/broken.png?50-{{GET[id]}}"
data-wide="/images/broken.png?50-{{GET[id]}}"
data-no-change>

<img srcset="/images/green-1x1.png?60-{{GET[id]}}"
data-desc="img (srcset 1 cand) valid image"
data-narrow="/images/green-1x1.png?60-{{GET[id]}}"
data-wide="/images/green-1x1.png?60-{{GET[id]}}"
data-no-change>

<picture>
<source media="(max-width:500px)" srcset="/images/broken.png?70-{{GET[id]}}">
<img src="/images/broken.png?71-{{GET[id]}}"
data-desc="picture: source (max-width:500px) broken image, img broken image"
data-narrow="/images/broken.png?70-{{GET[id]}}"
data-wide="/images/broken.png?71-{{GET[id]}}">
</picture>

<picture>
<source media="(max-width:500px)" srcset="/images/broken.png?80-{{GET[id]}}">
<img src="/images/green-2x2.png?81-{{GET[id]}}"
data-desc="picture: source (max-width:500px) broken image, img valid image"
data-narrow="/images/broken.png?80-{{GET[id]}}"
data-wide="/images/green-2x2.png?81-{{GET[id]}}">
</picture>

<picture>
<source media="(max-width:500px)" srcset="/images/green-1x1.png?90-{{GET[id]}}">
<img src="/images/broken.png?91-{{GET[id]}}"
data-desc="picture: source (max-width:500px) valid image, img broken image"
data-narrow="/images/green-1x1.png?90-{{GET[id]}}"
data-wide="/images/broken.png?91-{{GET[id]}}">
</picture>

<picture>
<source media="(max-width:500px)" srcset="/images/green-1x1.png?100-{{GET[id]}}">
<img src="/images/green-2x2.png?101-{{GET[id]}}"
data-desc="picture: source (max-width:500px) valid image, img valid image"
data-narrow="/images/green-1x1.png?100-{{GET[id]}}"
data-wide="/images/green-2x2.png?101-{{GET[id]}}">
</picture>

<picture>
<source media="(max-width:500px)" srcset="/images/green-1x1.png?110-{{GET[id]}}">
<img src="/images/green-1x1.png?110-{{GET[id]}}"
data-desc="picture: same URL in source (max-width:500px) and img"
data-narrow="/images/green-1x1.png?110-{{GET[id]}}"
data-wide="/images/green-1x1.png?110-{{GET[id]}}"
data-no-change>
</picture>