obsproject / obsproject/obs-browser

cant @import url("C:/local/file.css")

Open
#422 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
904
Forks
267
Avg merge
1d 23h
Merged PRs (30d)
2

Description

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

29.1.3

OBS Studio Version (Other)

No response

OBS Studio Log URL

N/A

OBS Studio Crash Log URL

No response

Expected Behavior

Expect obs to grab local file and apply css attributes to custom css when linking to a local file with @import in the custom css editor

Current Behavior

@import doesnt grab local file

Steps to Reproduce
  1. have a browser source
  2. make a css file with customisations
  3. go to custom css in obs
  4. type @import url("C:/path/to/file.css")
  5. watch nothing happen
    ...
Anything else we should know?

not as far as i know. if any more input is needed please let me know

as for the log, i put N/A because i dont think it would actually help any, but if it would be i would be more than happy to provide it

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 in an OBS browser source on Windows 10 using the custom CSS editor and a local file referenced by @import. Investigate how the browser source handles local stylesheet URLs; done means the referenced CSS is loaded and its attributes apply to the source.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.