Skip to content

Commit f385c03

Browse files
committed
Fix #545: SP overrides URI records
Signed-off-by: Zoltan Kis <[email protected]>
1 parent e3ac391 commit f385c03

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

index.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,8 @@ <h4>
575575
<ul>
576576
<li>
577577
A single mandatory <a>URI record</a> that refers to the
578-
<a>smart poster</a> content.
578+
<a>smart poster</a> content. A <a>smart poster</a> overrides any
579+
other <a>URI records</a> in an <a>NDEF message</a>.
579580
</li>
580581
<li>
581582
Zero or more <a>Text records</a> that act as a <dfn>title record</dfn>
@@ -3705,6 +3706,14 @@ <h3>Parsing content</h3>
37053706
<a>type record</a>, <a>size record</a> or <a>action record</a>,
37063707
throw {{TypeError}} and abort these steps.
37073708
</li>
3709+
<li>
3710+
If |context| is `"smart-poster"` and |records| contain
3711+
[=absolute-URL records=], remove them rom |records|.
3712+
</li>
3713+
<li>
3714+
If any record in |records| is a <a>smart poster</a>, then remove
3715+
all <a>URI records</a> and [=absolute-URL records=] from |records|.
3716+
</li>
37083717
<li>
37093718
Otherwise return `true`.
37103719
</li>

0 commit comments

Comments
 (0)