canonical / canonical/vanilla-framework
[Bug]: data URI syntax errors and percent-encoding errors
- Dominant language
- HTML
- Stars
- 983
- Forks
- 216
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 3
Description
While testing https://assets.ubuntu.com/v1/vanilla_framework_version_4_44_0_min.css with CSS HTML Validator, there were 6 errors and they were all data URI errors. Maybe no one cares because browsers seem to work with/understand the common error but I would recommend fixing it anyway.
It's easy to fix by changing:
'data:image/svg+xml;utf8,'
to
'data:image/svg+xml;charset=utf-8,'
Two data: URI's also had percent-encoding issues.
'style="text-align:center;line-height:125%;-inkscape-font-specification:Ubuntu'
should be
'style="text-align:center;line-height:125%25;-inkscape-font-specification:Ubuntu'
I hope this helps.
Contributor guide
Research direction
Start by locating the source that generates the linked vanilla_framework_version_4_44_0_min.css asset and inspect its data URI strings. Apply the reported charset and percent-encoding corrections, then rerun CSS HTML Validator and confirm the six data URI errors and the two percent-encoding errors are resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100