Get the latest tech news

An origin trial for a new HTML <permission> element (2024)


The Chrome team is experimenting with a new declarative HTML &lt;permission&gt; element for asking the user for access to powerful features.

Another challenge, especially on big screens, is the way the permission prompt gets commonly displayed: above the line of death, that is, outside of the area of the browser window that the app can draw onto. To ensure users can easily recognize the button as a surface to access powerful capabilities, the<permission> element's styling is restricted. font-kerning font-optical-sizing font-stretch font-synthesis-weight font-synthesis-style font-synthesis-small-caps font-feature-settings forced-color-adjust text-rendering align-self anchor-name aspect-ratio border(and all border-* properties) clear color-scheme contain contain-intrinsic-width contain-intrinsic-height container-name container-type counter-* flex-* float height isolation justify-self left order orphans outline-*(with the exception noted before for outline-offset) overflow-anchor overscroll-behavior-* page position position-anchor content-visibility right scroll-margin-* scroll-padding-* text-spacing-trim top visibility x y ruby-position user-select width will-change z-index

Get the Android app

Or read this on Hacker News

Read more on:

Photo of permission

permission

Photo of element

element

Photo of origin trial

origin trial

Related news:

News photo

UK court to decide if AI companies can scrape copyrighted images without permission as Getty case begins

News photo

Reddit is suing Anthropic for allegedly scraping its data without permission

News photo

Nick Clegg: Artists’ demands over copyright are unworkable | The former Meta executive claims that a law requiring tech companies to ask permission to train AI on copyrighted work would ‘kill’ the industry