gildas-lormeau / gildas-lormeau/SingleFile

CSS selectors including (a fragment of) a resource URL are broken

Open
#439 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
22.4k
Forks
1.4k
Avg merge
1h 32m
Merged PRs (30d)
5

Description

Hello
I have a problem with svg emoticons.
I backup some pages of a forum and as long as the emoticons were in gif format all ok, when they were changed to svg these instead of being 20X20 pixels were solved by SingleFile in 704X704 pixels, becoming huge.

Can you solve this problem by intervening on the files I downloaded?

Link test: https://delittoviapoma.forumfree.it/?t=76776418&st=210#newpost
--> SingleFile https://images2.imgbox.com/8c/e9/RWys1h2r_o.png

Thank you

https://img.forumfree.net/html/emoticons/smile.gif (img 20x20) --> SingleFile (img 20x20)

https://img.forumfree.net/html/emoticons/new/smile.svg (real 704x704, in thread 20x20) --> SingleFile (img 704x704)

  • OS: Mac OS 13.6
  • Browser: Firefox
  • Version: 78.0.1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the linked forum page in Firefox and compare the archived GIF and SVG emoticons. Trace the CSS selector handling for resources whose URLs include fragments, then verify that the archived SVG remains displayed at 20x20 pixels rather than 704x704.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.