Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VERY MINOR BUG] evidence of a difference in OPERA browser in interpreting css comments. #30

Open
galaara98 opened this issue Oct 5, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@galaara98
Copy link

galaara98 commented Oct 5, 2023

Describe the bug
When loading foundry where tagger is an active module, and viewing the js console in OPERA BROWSERS right at User login (possibly only GM User, but probably all):

a debugger error is thrown in the console:
blah blah blah:
Could not load content for https://foundry.node.server/modules/tagger/style.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE


in the file: tagger/style.css, in your module, there is a line
/*# sourceMappingURL=style.css.map */

according to https://www.w3schools.com/css/css_comments.asp comments in css are:

/* sdfsdfsf */

OR

/* This is
a multi-line
comment */

it would appear that in MOST browsers this rule is interpreted as
/*sdfsdfsdf*/

but in OPERA based browsers, the white space is required..., so therefore the line in your module is not a comment, in Opera based browsers (it has extra characters, but the stupid browser still reads the sourceMappingURL statement)

Im not agreeing or disagreeing with how browsers want to be, but if you wouldn't mind, would you change the comment in your style.css file to be

/* # sourceMappingURL=style.css.map */

@galaara98 galaara98 added the bug Something isn't working label Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants