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

Difference between css stylesheet and document #6978

Closed
MrHBS opened this issue Jan 23, 2022 · 5 comments
Closed

Difference between css stylesheet and document #6978

MrHBS opened this issue Jan 23, 2022 · 5 comments
Labels

Comments

@MrHBS
Copy link
Contributor

MrHBS commented Jan 23, 2022

I see CSS stylesheet and CSS document being used in the spec but I can't tell the difference

@ByteEater-pl
Copy link

My take: it should be just stylesheet. CSS isn't a markup language, or a data modelling language, more generally. It's a special purpose programming language. Whatever you write in it, it's not a document.

@frivoal frivoal added the meta label Jan 31, 2022
@frivoal
Copy link
Collaborator

frivoal commented Jan 31, 2022

@MrHBS Can you clarify which document you're talking about? Generally, we distinguish the (CSS) stylesheet and the (HTML) document, but maybe there are cases where it's not clear, or with unusual phrasing. Could you point out some examples of what's troubling you?

@MrHBS
Copy link
Contributor Author

MrHBS commented Apr 19, 2023

@frivoal So sorry for the very late reply. I opened a PR to address this

@tabatkins
Copy link
Member

There is no difference between the two terms.

@MrHBS MrHBS closed this as completed May 4, 2023
@Crissov
Copy link
Contributor

Crissov commented May 7, 2023

Since #5629 has been accepted recently, won’t stylesheet soon be restricted to (possibly implied) @sheet blocks, while document will still refer to the whole file? Or will there be new terms?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants