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
1 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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue