Release Preview 20 shared desktop, Android and Sargo updates
Restore Gaia settings and media workflows, extend native network adapters, and align the APK payload. Generate French/English changelogs and website entries from the simplified JSON source. Validation: shared JS and Tundra unit tests; desktop workflows and persistence; signed APK payload parity; Sargo RAM and installed startup with boot readback. Android runtime qualification is recorded separately.
This commit is contained in:
parent
be2cdce823
commit
1311bed5e9
170 changed files with 19698 additions and 2495 deletions
|
|
@ -109,6 +109,14 @@
|
|||
// Only a custom element's type selector names the scope root. A div
|
||||
// scope still contains ordinary div descendants (notably Lockscreen).
|
||||
if (owner.localName.includes('-')) text = text.replace(tag, ':scope');
|
||||
if (owner.id) {
|
||||
const rootId = '#' + CSS.escape(owner.id);
|
||||
const pattern = new RegExp(rootId.replace(/[.*+?^${}()|[\]\\]/g, '\\$&') + '(?![\\w-])', 'g');
|
||||
// Old scoped sheets could style their owner by ID. Modern @scope
|
||||
// requires :scope for that element (for example the volume HUD).
|
||||
text = text.replace(/([^{}]+)\{/g, (rule, selector) =>
|
||||
selector.replace(pattern, ':scope') + '{');
|
||||
}
|
||||
text = text.replace(/\.-(?:host|content)(?![\w-])/g, (match) => ':scope' + match);
|
||||
style.textContent = '@scope ([data-vulpes-scope="' + id + '"]) {' + text + '}';
|
||||
style.removeAttribute('scoped');
|
||||
|
|
|
|||
Loading…
Reference in a new issue