S006: R1-13 inline SVG icons take the page's colour
Servo 0.7 paints inline <svg> from its own markup, so currentColor fell back to black (DuckDuckGo's icons in dark mode). SVG_COLOR_JS copies each SVG's computed colour into its color attribute; basics.txt checks it. Engine limits (MSE, mask-image, SVG colour) in DESIGN.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
parent
7f43322ee7
commit
27b89a6f12
2 changed files with 28 additions and 4 deletions
|
|
@ -139,6 +139,11 @@ picture-in-picture, extensions, password capture, printing.
|
|||
- Chrome extensions: not possible. Replaced by user scripts and user styles (Apps -> Scripts).
|
||||
- Hardware acceleration switch: Servo needs GL; "Off" selects software GL (LIBGL_ALWAYS_SOFTWARE) on next start.
|
||||
- Printing: "Save page as PDF/PNG" through a full-page screenshot.
|
||||
- Media Source Extensions: Servo 0.7 has no `MediaSource`, so YouTube's player says "Your browser can't play this
|
||||
video" (and PiP finds no video). Plain `<video>` files (WebM, MP4 through GStreamer) play.
|
||||
- Inline `<svg>` is painted from its own markup, so `currentColor` misses the CSS colour; `SVG_COLOR_JS`
|
||||
(`inject.rs`) copies each icon's computed colour into its `color` attribute (hover colours not followed).
|
||||
- CSS `mask-image` icons (e.g. Wikipedia's) paint as solid squares. HTTP/2 header limit: see D-012.
|
||||
|
||||
## UI system (S015)
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ State tags: `[open]`, `[fixed <commit>]`, `[wontfix: reason]`. Severity: high /
|
|||
- R1-11 [fixed f99500f] Colours can't be changed after the welcome setup: once the user finished nacre://welcome, changing the browser colours (Settings → Appearance colour source / palette / custom) had no visible effect. Reproduce: fresh profile, finish the welcome flow, then change colours in Settings. Severity: high. (user, after S020) → first fix before S021 if quick, else S012. Cause found: an internal page typed into a web tab kept that site's theme-color, which won over palette picks under the Website source; the user's exact welcome path didn't reproduce (welcome + every Appearance control works in smoke).
|
||||
- R1-11 detail [fixed S016 follow-up] "System accent" differed from the desktop on niri + caelestia-niri: Nacre read kdeglobals `AccentColor` (none there), then GNOME `accent-color` (`'red'`, also what the portal reports: #E62D42), which Caelestia never updates. The desktop's real colours are in `~/.local/state/caelestia/scheme.json` (primary `#e6b6f1`). Nacre now reads that file's `colours.primary` first. Nothing missing on the desktop side; optional: set the GNOME/portal accent too for other apps. Still read once at start: a new wallpaper needs a Nacre restart (Later).
|
||||
- R1-12 [fixed S006] YouTube still doesn't open (same as R1-03; reconfirmed after the redesign). Severity: high. → S006.
|
||||
- R1-13 [open] Dark mode: icons on DuckDuckGo (the page opened in the user's test) don't use the right colours. Unclear whether it's the site's own icons under dark mode (prefers-color-scheme / colour-scheme handling) or Nacre's chrome icons; check both. Severity: medium. (user) → S006.
|
||||
- R1-13 [fixed S006] Dark mode: icons on DuckDuckGo (the page opened in the user's test) don't use the right colours. Unclear whether it's the site's own icons under dark mode (prefers-color-scheme / colour-scheme handling) or Nacre's chrome icons; check both. Severity: medium. (user) → S006. Fixed (S006): Nacre's chrome icons and the site's dark scheme were right (`prefers-color-scheme: dark` matches); Servo paints inline SVG from its own markup, so DuckDuckGo's `fill="currentColor"` icons fell back to black. `SVG_COLOR_JS` (inject.rs) sets each SVG's computed colour as its `color` attribute; `basics.txt` checks it. Not followed: hover colour changes.
|
||||
- R1-14 [open] Site compatibility pass: "more things for sites to actually work right": a proper user agent (Servo 0.7 can set the UA through its preferences even though it can't add request headers; pick a mainstream Firefox/Chrome-like UA string, check per-site overrides), JavaScript features sites expect, and a general "doctor" pass over common sites (YouTube, Google sign-in, captchas, DuckDuckGo, Reddit, GitHub). Severity: high. (user) → S006/S007; extend S006 with a site-doctor checklist.
|
||||
- R1-12 detail: the YouTube error page shows `client error (SendRequest)` for https://www.youtube.com/ (the request fails in Nacre's fetch/bridge path, not in page JS); start there.
|
||||
- R1-15 [fixed 7e6c701] One shield flyout for protection: the shield button's flyout holds Ad blocker, Privacy mode and VPN as clearly separated sections (today: ad blocker only, `docs/ui-reference/current-shield-flyout.png`; the VPN has its own button). Severity: medium. (user) → chrome follow-up.
|
||||
|
|
|
|||
Loading…
Reference in a new issue