gildas-lormeau / gildas-lormeau/SingleFile
CSS selectors including (a fragment of) a resource URL are broken
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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