<p></p>
<p dir="auto">PS: I noticed that as of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2209323693" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4627" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4627/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/4627">#4627</a> the content security policy has a <code class="notranslate">nonce</code> set up<sup><a href="#user-content-fn-1-d715553440c25167e9c1187fe769b757" id="user-content-fnref-1-d715553440c25167e9c1187fe769b757" data-footnote-ref="" aria-describedby="footnote-label">1</a></sup> for the <code class="notranslate">style-src</code> attribute . This makes specifying <code class="notranslate">unsafe-inline</code> for iD essentially obsolete, as modern browsers will ignore it in favor of nonce'd inline styles.</p>
<p dir="auto">Inline styles were allowed in iD's CSP since <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/openstreetmap/openstreetmap-website/commit/c5d3335a6c5d4a1b74d3f9d509bbc6c7dba65fb2/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/commit/c5d3335a6c5d4a1b74d3f9d509bbc6c7dba65fb2"><tt>c5d3335</tt></a>, but I don't think we still need them today<sup><a href="#user-content-fn-2-d715553440c25167e9c1187fe769b757" id="user-content-fnref-2-d715553440c25167e9c1187fe769b757" data-footnote-ref="" aria-describedby="footnote-label">2</a></sup>. But maybe I'm overlooking something? 🤔</p>
<section data-footnotes="" class="footnotes"><h2 id="footnote-label" class="sr-only" dir="auto">Footnotes</h2>
<ol dir="auto">
<li id="user-content-fn-1-d715553440c25167e9c1187fe769b757">
<p dir="auto">See <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4627/files#diff-c1c619ffb7b249550067cb696b8e7d6c29d1efe2ed4cf5b7a8bb6bed47b409d1R41">https://github.com/openstreetmap/openstreetmap-website/pull/4627/files#diff-c1c619ffb7b249550067cb696b8e7d6c29d1efe2ed4cf5b7a8bb6bed47b409d1R41</a> <a href="#user-content-fnref-1-d715553440c25167e9c1187fe769b757" data-footnote-backref="" aria-label="Back to reference 1" class="data-footnote-backref">↩</a></p>
</li>
<li id="user-content-fn-2-d715553440c25167e9c1187fe769b757">
<p dir="auto">Apart from some unnecessary inline-styles in with some of the bundled icons, which I just transformed into proper svg attributes with <a href="https://github.com/openstreetmap/iD/commit/3de2840ac3b5849bfdecd5f0b9b9a83be262e7e2">https://github.com/openstreetmap/iD/commit/3de2840ac3b5849bfdecd5f0b9b9a83be262e7e2</a> <a href="#user-content-fnref-2-d715553440c25167e9c1187fe769b757" data-footnote-backref="" aria-label="Back to reference 2" class="data-footnote-backref">↩</a></p>
</li>
</ol>
</section>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4841#issuecomment-2132253415">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNVA47T36QLHRBFSZ3ZEH3DDAVCNFSM6AAAAABIJZ2ZJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZSGI2TGNBRGU">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPD725TAPTIE5K4Y63ZEH3DDA5CNFSM6AAAAABIJZ2ZJ2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT7C6NOO.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4841/c2132253415</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4841#issuecomment-2132253415",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4841#issuecomment-2132253415",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>