This is a page from the Cascading Style Sheets Working Group Blog. Some other places to find information are the “current work” page, the www-style mailing list, the Future of CSS syndicator, and the issue list on Github.
Do you want to know how the CSS WG works? Fantasai has written about:csswg, An Inside View of the CSS Working Group at W3C.
The W3C published a Last Call Working Draft of the CSS Snapshot 2007. If you are following the development of CSS and you haven’t read it yet, I recommend doing so. Its goal is to put the various specs in context and create a coherent picture of the current state of CSS. The deadline for comments is June 9th.
The W3C has also published a Candidate Recommendation of the CSS Namespaces module. This module has been implemented for years based on a 1999 draft spec, so the module is just starting to catch up with the times. The two major changes that implementors should be aware of are: prefixes are explicitly case-sensitive, in line with our resolution of CSS2.1’s case-sensitivity issue; and handling of empty-string namespaces has been clarified.
This mailing list is for technical discussion on Cascading Style Sheets
(CSS) and its specifications. All posts to this list must be about the
development of the CSS specification itself. This list is also the
preferred place for discussing working drafts that are published by W3C’s
CSS Working Group.
caretRangeFromPoint to be added to CSSOM View and marked at-risk; the CSSOM spec will then be republished as LC.Discussed media queries, should be ready for LC soon, but still has a couple open issue. Main one is whether to use
@media (portrait) { ... }
@media (landscape) { ... }
or
@media (orientation: portrait) { ... }
@media (orientation: landscape) { ... }
Discussed CSS2.1 Issue 8. Anne needs to come up with better wording before we discuss the two wording proposals. Seem to have agreement on the end result.
Discussed CSS2.1 Issue 24. Interest in making {(['" matching style sheet global, need a wording proposal to continue discussion.
Resolved: For CSS2.1 Issue 31 David Baron’s proposal is accepted.
Resolved: For (CSS2.1) ISSUE-1, second wording proposal is accepted:
Insert before "It is recommended that the reference pixel be..." the sentence "It is recommended that the pixel unit refer to the whole number of device pixels that best approximates the reference pixel."
Resolved: Add John Daggett (Mozilla Corporation) as CSS3 Fonts module editor.
Resolved: Take CSSOM View spec to last call after edits described in the minutes are made.
Noted: General agreement that the current CSSOM is badly designed and should be extended, but standardizing existing interfaces is the priority right now.
Resolved: CSS specs below CR level should add canonicalization info to their property definitions once a canonicalization table for existing properties has been created.
Resolved: If the CSSWG chooses to specify CSSOM interfaces for editors, that will be a separate spec from the main CSSOM.
Highly experimental brainstorming-level stuff. No resolutions, just notes.
Discussed tree lists styling prompted by Andrew Fedoniouk.
Noted: Solution should satisfy 80-90% case; no point in adopting if it only solves 10%.
Noted: Designers will want control over color, width, style of lines. Using ‘outline’ or ‘border’ precludes giving the element a real outline or border.
Idea: A pseudo-element could provide a place to put styling.
Idea: One possible model is each list item has a T-shaped or L-shaped marker that connects with the previous.
Idea: Another possible model is each list item has a horizontal bar marker and the vertical line belongs to the parent.
Idea was to have two pseudo-classes, one :normal and one :alternate. UA toggles between styles. (N styles also possible.)
Existence of the pseudos makes the element toggleable. There were strong reservations about that.
Bert’s writeup is still Member’s only.
Idea was that a selector accepts a JavaScript function that returns true or false, determining whether the selector matches or not. VERY strong reservations about this from implementors: executing functions during selector matching is scary, particularly if those functions are allowed to modify the elements during matching!
Alternate idea is to define a set of tokens on the element node, allow scripts to add and remove tokens, and match against that set.. thereby avoiding the execution of any functions during style matching.
Clear use case for importing colors from a site-wide style sheet. CSSWG wants more concrete use cases for anything beyond that.
fantasai points to webstandards.org comments and suggests macros for selectors, values, and declaration sets would fulfill most requests there.
CSSWG will post a simple proposal macros for values only, and see if that will cause web designers to post real examples of where more powerful macros are needed.
Suggested to add this to Selectors 4. Need implementors’ “strong interest”.
Steve reports on conclusions from joint meeting with Paul and fantasai: plan is to introduce text-orientation, which operates on runs of tex–unlike XSLFO/SVG’s glyph-orientation, which operates on individual glyphs. Glyph-orientation’s behavior causes characters to be in the wrong order for some of its values. text-orientation will take keywords for common effects in vertical text.
Noted: It was proposed that the overflow and marquee properties be split off to form their own module. These properties are needed by the Mobile Profile and are reasonably independent of the box model details. Splitting them off allows them to move forward to CR without being held back by the rest of the box module, which is quite complex and will need significantly more review. There seemed to be consensus on this idea, but no formal resolution was made.
Noted: fantasai’s proposal for adding box-sizing keywords to the ‘width’ and ‘height’ properties was discussed. Most of the working group was strongly in favor, 1/2 of one company’s representation was opposed. No resolution was recorded wrt adopting the proposal.
Resolved:: That should the proposal be adopted, its keywords must be consistent with box-sizing.
Noted: That the proposed keywords are applied to min-width, max-width, width, min-height, max-height, and height.
Noted: That the proposed keywords, like box-sizing, have no effect on the behavior of auto, fit-content, min-content, max-content, and none (max-width/height only) values for these properties.
There was much discussion of horizontal and vertical centering, but no resolution on the issue. The discussion closed with fantasai and Alex assigned to write concrete proposals for horizontal and vertical alignment, respectively.
For horizontal centering, there seem to be two distinct use cases:
<CENTER> tag. The <CENTER> tag centers all its children, but not itself, and this centering behavior is inherited.For vertical centering, it was agreed that alignment affects the element’s children (because there’s no way to center an element
in its parent without taking it out of the normal flow). Also, it was agreed that vertical alignment of an element’s children
should cause it to create a new block formatting context. This greatly simplifies things by avoiding margin-collapsing and float
complications. The default value of the new property will need to be a special value that doesn’t turn the block into a BFC.
A proposal to change the way page-break-inside affects descendent elements was discussed.
Bert reported that designers want non-rectangular regions, to put images in corners or in the center. However, auto-sizing non-rectangular slots (such as a C shape that has as much text above as below) is very difficult. In the interest of moving forward and getting implementations, fantasai suggested leaving the slots rectangular for this version.
Resolved: Rename CSS Advanced Layout Module to CSS Template Layout Module.
Noted: To avoid overlapping constraints, width and height should not apply to slots, only to columns and rows respectively.
Resolved: David Baron’s proposal accepted as editorially amended by fantasai.
Rationale:
Authors are used to CSS allowing spaces almost everywhere, and will most likely expect them to work here as well. Also calc() will either allow or require spaces, and :nth-child()‘s syntax should be consistent with that.
Resolved:: Copy attribute selector wording from Selectors into CSS2.1 to resolve incompatibility.
Resolved:: *=, ~=, ^=, $= all accept the empty string, but match nothing. Note that this overrides a previous resolution which stated that such attribute selectors are invalid.
Rationale:: These selectors are meaningless. This resolution matches existing implementations for ~=, which was introduced in CSS2.1, and makes *=, ^=, and $=, which were introduced in Level 3, consistent with that.
[Note:
see also Alan Gresley’s comment which was posted in response to this resolution]
Browse by date:
Browse by category: