Skip to content

Commit

Permalink
Mark as at risk
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed Feb 21, 2018
1 parent 2c16356 commit a5dbf13
Showing 1 changed file with 60 additions and 33 deletions.
93 changes: 60 additions & 33 deletions index.html
Expand Up @@ -124,6 +124,11 @@ <h2>
<a href="https://github.com/w3c/payment-request/issues/617">issue
617</a>).
</li>
<li data-link-for="PaymentItem">
<a>PaymentItem</a>'s <a>type</a> member and the
<a>PaymentItemType</a> enum (see <a href=
"https://github.com/w3c/payment-request/issues/163">issue 163</a>).
</li>
</ul>
</section>
</section>
Expand Down Expand Up @@ -1849,6 +1854,7 @@ <h2>
required DOMString label;
required PaymentCurrencyAmount amount;
boolean pending = false;
// Note: type member is "at risk" of being removed!
PaymentItemType type;
};
</pre>
Expand Down Expand Up @@ -1882,43 +1888,64 @@ <h2>
shipping option. <a>User agents</a> MAY indicate pending fields in
the user interface for the payment request.
</dd>
<dt>
<dfn>type</dfn> member
</dt>
<dd data-tests="PaymentItem/type_member.https.html">
A <a>PaymentItemType</a> enum value, which a developer can use to
explicitly indicate that this member is of a particular type. A user
agent MAY use the value of <a>type</a> to assist in the presentation
of <a>PaymentItem</a> by, for example, visually grouping types
together or other otherwise distinguishing them from other types (or
from items that have no associated type).
</dd>
</dl>
<div class="issue atrisk">
<p>
This feature has been marked "<a>at risk</a>". Firefox plans to
experiment with this feature during the Candidate Recommendation
phase. If you'd like for this feature to remain in the specification,
please signal your support for it to remain in <a href=
"https://github.com/w3c/payment-request/issues/163">issue 163</a>.
</p>
<dl>
<dt>
<dfn>type</dfn> member
</dt>
<dd data-tests="PaymentItem/type_member.https.html">
A <a>PaymentItemType</a> enum value, which a developer can use to
explicitly indicate that this member is of a particular type. A
user agent MAY use the value of <a>type</a> to assist in the
presentation of <a>PaymentItem</a> by, for example, visually
grouping types together or other otherwise distinguishing them from
other types (or from items that have no associated type).
</dd>
<dd></dd>
</dl>
</div>
</section>
<section data-dfn-for="PaymentItemType">
<h2>
<dfn>PaymentItemType</dfn> enum
</h2>
<pre class="idl">
enum PaymentItemType {
"tax"
};
</pre>
<div class="issue atrisk">
<p>
The <a>PaymentItemType</a> serves to categorize a <a>PaymentItem</a>
into particular types.
This feature has been marked "<a>at risk</a>". Firefox plans to
experiment with this feature during the Candidate Recommendation phase.
If you'd like for this feature to remain in the specification, please
signal your support for it to remain in <a href=
"https://github.com/w3c/payment-request/issues/163">issue 163</a>.
</p>
<dl>
<dt>
"<dfn>tax</dfn>"
</dt>
<dd>
Indicates that the corresponding <a>PaymentItem</a> represents a form
of taxation. Examples include sales tax, goods and services tax,
value added tax, an so on.
</dd>
</dl>
</section>
<section data-dfn-for="PaymentItemType">
<h2>
<dfn>PaymentItemType</dfn> enum
</h2>
<pre class="idl">
enum PaymentItemType {
"tax"
};
</pre>
<p>
The <a>PaymentItemType</a> serves to categorize a <a>PaymentItem</a>
into particular types.
</p>
<dl>
<dt>
"<dfn>tax</dfn>"
</dt>
<dd>
Indicates that the corresponding <a>PaymentItem</a> represents a form
of taxation. Examples include sales tax, goods and services tax,
value added tax, an so on.
</dd>
</dl>
</section>
</div>
<section data-dfn-for="PaymentAddress" data-link-for="PaymentAddress">
<h2>
<dfn>PaymentAddress</dfn> interface
Expand Down

0 comments on commit a5dbf13

Please sign in to comment.