Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/semantics/permission-element/permission-icon/icon-restricted-css-no-effect-reftest.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>The icon of the usermedia element should not change when any of the restricted CSS properties are changed.</title>
<!-- TODO: Update the link to the usermedia icon spec -->
<link rel="help" href="https://github.com/WICG/PEPC/blob/main/explainer.md">
<link rel="match" href="standard-camera-usermedia-element-ref.html">
<style>
::permission-icon {
margin-inline-start: 100px;
float: inline-end;
padding: 50px;
opacity: 0.5;
stroke-opacity: 0.5;
fill-rule: evenodd;
}
</style>
<usermedia id="camera" type="camera"></usermedia>