Skip to content

Commit 4ab46a2

Browse files
BREAKING CHANGE: remove platform from ManifestImageResource (#913)
As pointed out in #909, the manifest provides other ways to adapt to platform conventions without explicitly stating a platform. Additionally, the property was never implemented by any browser.
1 parent 22cac0b commit 4ab46a2

File tree

1 file changed

+7
-77
lines changed

1 file changed

+7
-77
lines changed

index.html

Lines changed: 7 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -2081,7 +2081,6 @@ <h2>
20812081
</h2>
20822082
<pre class="idl">
20832083
dictionary ManifestImageResource : ImageResource {
2084-
USVString platform;
20852084
USVString purpose;
20862085
};
20872086
</pre>
@@ -2148,15 +2147,6 @@ <h3>
21482147
</p>
21492148
</div>
21502149
</section>
2151-
<section>
2152-
<h3>
2153-
<dfn>platform</dfn> member
2154-
</h3>
2155-
<p>
2156-
The {{ManifestImageResource/platform}} member represents the
2157-
<a>platform</a> to which a containing object applies.
2158-
</p>
2159-
</section>
21602150
<section>
21612151
<h3>
21622152
<dfn>purpose</dfn> member
@@ -2257,29 +2247,6 @@ <h3>
22572247
<li>Return |purposes|.
22582248
</li>
22592249
</ol>
2260-
<aside class="example">
2261-
<p>
2262-
In the following example, the web application is listing two icons
2263-
to be used as a monochrome icon, one of which is specifically
2264-
designed for the Android platform.
2265-
</p>
2266-
<pre class="json">
2267-
{
2268-
"name": "News",
2269-
"icons": [{
2270-
"platform": "play",
2271-
"purpose": "monochrome",
2272-
"sizes": "16x16",
2273-
"src": "icons/badges/android.png",
2274-
"type": "image/png"
2275-
}, {
2276-
"purpose": "monochrome",
2277-
"src": "icons/badges/safari.svg",
2278-
"type": "image/svg"
2279-
}]
2280-
}
2281-
</pre>
2282-
</aside>
22832250
</section>
22842251
<section id="icon-masks">
22852252
<h2>
@@ -2515,9 +2482,6 @@ <h3>
25152482
</li>
25162483
<li>Set |image|'s {{ManifestImageResource/purpose}} to |purpose|.
25172484
</li>
2518-
<li>Set |image|'s {{ManifestImageResource/platform}} to the value
2519-
of |entry|'s {{ManifestImageResource/platform}} member.
2520-
</li>
25212485
<li>[=list/Append=] |image| to |imageResources|.
25222486
</li>
25232487
</ol>
@@ -2633,46 +2597,6 @@ <h3>
26332597
</ol>
26342598
</section>
26352599
</section>
2636-
<section>
2637-
<h2>
2638-
Multi-purpose members
2639-
</h2>
2640-
<p>
2641-
This section specifies members that can be used on multiple objects.
2642-
Each member specifies which object a multi-purpose member can be used
2643-
with.
2644-
</p>
2645-
<section data-dfn-for="ExternalApplicationResource" data-link-for=
2646-
"ExternalApplicationResource">
2647-
<h3>
2648-
<dfn>platform</dfn> member
2649-
</h3>
2650-
<p>
2651-
The <a>platform</a> member represents the <a>platform</a> to which a
2652-
containing object applies.
2653-
</p>
2654-
<p>
2655-
The following object types can make use of this member:
2656-
</p>
2657-
<ul>
2658-
<li>
2659-
<a>ExternalApplicationResource</a>
2660-
</li>
2661-
<li>{{ManifestImageResource}}
2662-
</li>
2663-
</ul>
2664-
<p>
2665-
A <dfn data-dfn-for="">platform</dfn> represents a software
2666-
distribution ecosystem or possibly an operating system.
2667-
</p>
2668-
<p class="note">
2669-
This specification does not define the particular values for a the
2670-
<a>platform</a> member. However, the working group maintains a
2671-
<a href="https://github.com/w3c/manifest/wiki/Platforms">list of
2672-
known platform values</a> in our wiki.
2673-
</p>
2674-
</section>
2675-
</section>
26762600
<section data-dfn-for="ExternalApplicationResource" data-link-for=
26772601
"ExternalApplicationResource">
26782602
<h2>
@@ -2697,7 +2621,13 @@ <h2>
26972621
<code>platform</code>
26982622
</dt>
26992623
<dd>
2700-
the platform it is associated to.
2624+
the platform it is associated to. A <dfn data-dfn-for=
2625+
"">platform</dfn> represents a software distribution ecosystem or
2626+
possibly an operating system. This specification does not define the
2627+
particular values for the <a>platform</a> member. However, the
2628+
working group maintains a <a href=
2629+
"https://github.com/w3c/manifest/wiki/Platforms">list of known
2630+
platform values</a> in our wiki.
27012631
</dd>
27022632
<dt>
27032633
<code>url</code>

0 commit comments

Comments
 (0)