Add background-material explainer#1
Conversation
Introduce an explainer for a proposed background-material feature for installed web apps. The document outlines the problem and goals, presents a manifest opt-in and a CSS background-material property with example values and usage, discusses relationship to backdrop-filter, references prior work, and lists open questions about vocabulary, per-element rendering, fallbacks, and accessibility.
|
khufu-dev
left a comment
There was a problem hiding this comment.
We should probably disable changebot on this repo.
|
|
||
| - Allow installed web apps to opt into material-backed window frames. | ||
| - Provide a CSS property for material-backed page and element surfaces. | ||
| - Use abstract material names, not OS-specific names. |
There was a problem hiding this comment.
Let's be open to both. There's going to be lot of arguments on this.
| - Allow installed web apps to opt into material-backed window frames. | ||
| - Provide a CSS property for material-backed page and element surfaces. | ||
| - Use abstract material names, not OS-specific names. | ||
| - Preserve fallback behavior on platforms that do not support real materials. |
There was a problem hiding this comment.
Can we simply ignore the material property. Similar to old browsers that don't understand material-background.
| - Defining spatial layout. | ||
| - Exposing sampled environment data to script. | ||
| - Styling browser chrome. | ||
| - Standardizing vendor material names. |
There was a problem hiding this comment.
I wonder if we do want to leave this open similar generic font names.
|
|
||
| ```css | ||
| :root { | ||
| background-color: transparent; |
There was a problem hiding this comment.
I think the background-color doesn't have to be transparent for the material to work.
| background-color: transparent; |
init background-material explainer