Talk:CSS

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Former featured article candidateCSS is a former featured article candidate. Please view the links under Article milestones below to see why the nomination failed. For older candidates, please check the archive.
Article milestones
DateProcessResult
February 10, 2005Featured article candidateNot promoted

Colour values[edit]

I have removed a recently-added paragraph from the Declaration block section. This is overly detailed for that section, which describes various kinds of property value in general terms, it should not go into specifics. There are many more values than are given here as examples.

Regarding the weasel-phrase "At some point", that would be CSS Color Module Level 4, which as of 28 April 2022 is still a W3C Working Draft, and therefore not finalised. Some of the relevant sections are: 5.2. The RGB hexadecimal notations: #RRGGBB; 4.8. Serializing <color> Values; 5. sRGB Colors. --Redrose64 🌹 (talk) 05:51, 18 May 2022 (UTC)[reply]

Latest release section[edit]

While CSS 3 has been out for a while, the "Latest release" section still only notes CSS 2.1. I see that the release status of CSS3 is complicated, as described in the CSS 3 section, so there's no single "CSS 3 release", but I think there should be some mention of that fact in the section. Otherwise, it looks like an oversight/mistake/error.

Got no idea what the right thing to put in that section is, given its complicated nature, so the best I can do is bring this problem up so someone else can help rectify it. Jordanlees2 (talk) 23:04, 1 August 2023 (UTC)[reply]

@Jordanlees2: There is no "CSS 3" specification, and there never will be. The current full CSS spec is CSS 2.1 plus a number of modules, some of which replace parts of CSS 2.1 and are at level 3 or higher; other modules are entirely additional to CSS 2.1, and these are at level 1 or higher. There is no plan to bring everything to the same level, short or long term. See CSS Snapshot 2022], particularly sections 1. Introduction through to 2.4. CSS Levels inclusive.
Browser vendors should implement CSS 2.1 in full, plus any modules that they see fit; but any module that they do implement must also be provided in full. --Redrose64 🌹 (talk) 05:54, 2 August 2023 (UTC)[reply]

Change Infobox From File Type To Programming Language[edit]

Should the infobox be changed to a programming language infobox to reflect the fact that CSS, when used with HTML, is a Turing complete programming language that can be used to create complex programs? This would allow adding more information, like what programming paradigm it follows. User1042💬✒️ 16:57, 9 August 2023 (UTC)[reply]

A strange statement[edit]

The article states:

The style sheet with the highest priority controls the content display. Declarations not set in the highest priority source are passed on to a source of lower priority, such as the user agent style.

I cannot see any sense with the word "not" in the above statement. According to Wikipedia, undefined declarations are passed on to a source of lower priority. Which means that the lack of declarations is passed, then consequently, nothing is passed. Besides, what happens with the declarations that are actually defined? Are they passed on to a source of lower priority or not? The Wikipedia statement suggests that they are not. As a programmer, I use CSS everyday, but if you can enlighten me, please do so. 85.193.240.163 (talk) 11:02, 4 September 2023 (UTC)[reply]

User agent styling[edit]

Expanding on user agent style sheets could be helpful to better explain the cascade and illustrate where default styling is coming from, especially when pointing to actual user agent style sheets. For example, User Agent Style Sheets: Basics and Samples provides context and style sheets. Although I couldn‘t find an article with more examples, I’m also the owner of this particular one (SME challenge), and therefore like to raise topic and resource here: Could user agent style sheets be worth explaining more? With or without references to sample style sheets? —j9t (talk) 12:06, 30 September 2023 (UTC)[reply]