CSS: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(→‎See Also: organize a bit, wiki pages first, add CSSWG wiki)
(Reprioritize some items for 2018 - in progress)
Line 4: Line 4:
= CSS =
= CSS =
== Platform priorities ==
== Platform priorities ==
The following CSS specs/proposal are a priority for the [[Platform]].
The following CSS specs/proposals are a priority for the [[Platform]].
 
=== 2018 Priorities ===
These are *in progress* 2018 Priorities for CSS features in Firefox.
 
(currently being discussed at [[Yallhands]] in Austin, Texas)
 
Some public discussion here:
* https://twitter.com/t/status/939273644043366400
 
==== Grid Level 2 ====
Grid Level 2 AKA subgrid
* [https://drafts.csswg.org/css-grid-2/ CSS Grid level 2] specifically [https://bugzilla.mozilla.org/buglist.cgi?quicksearch=subgrid for subgrid]
* doing some exploratory implementing, design may (hopefully likely) change accordingly
 
==== Shapes ====
* [https://drafts.csswg.org/css-shapes/ CSS Shapes] (CR, another CR expected any moment now in 2017) [https://bugzilla.mozilla.org/show_bug.cgi?id=1040714 metabug]
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1098939 shape-outside]
 
==== Containment ====
* [https://drafts.csswg.org/css-containment/ CSS Containment Module Level 1] ([https://www.w3.org/TR/2017/WD-css-contain-1-20170221/ FPWD]) 'contain' property, size/layout, style, paint
** Main bug: [https://bugzilla.mozilla.org/show_bug.cgi?id=1150081 bug 1150081]
 
==== Multi-column ====
* [https://www.w3.org/TR/css3-multicol/ CSS Multi-column Layout] (2011 CR, but [https://drafts.csswg.org/css-multicol/ multicol editor's draft has changes]), [https://bugzilla.mozilla.org/show_bug.cgi?id=684062 metabug]
** unprefixing, column-span, a11y bug hack removal, column-break
** Alias page-break-* to break-*: https://bugzilla.mozilla.org/show_bug.cgi?id=775618
(Jen has a demo of bugs / test page at http://labs.jensimmons.com/examples/multicolumn-3-bug-demo.html)
 
==== CSS Color Level 4 ====
[https://drafts.csswg.org/css-color-4/ CSS Color Module Level 4] (ED), [https://bugzilla.mozilla.org/show_bug.cgi?id=1352753 metabug]
* Color improvements (wide gamut, color correction, note CSS color correction preffed off)
 
==== Media Queries 4 ====
* [https://drafts.csswg.org/mediaqueries-4/ Media Queries 4] (note: [https://drafts.csswg.org/mediaqueries-4/#changes-2012 new features in 4]), [https://bugzilla.mozilla.org/show_bug.cgi?id=1312621 metabug]
** full support of numerical comparators (<, <=, =>, >)
** expansion of negation syntax (and, or, not)
** [https://drafts.csswg.org/mediaqueries-4/#mf-interaction interaction features]  [https://bugzilla.mozilla.org/show_bug.cgi?id=1035774 #1035774]
** [https://logs.csswg.org/irc.w3.org/css/2017-08-02/#e841291 2017-08-02 CSSWG resolved to take to CR]


=== Actively Implementing ===
=== Actively Implementing ===
Beyond the above priorities, we should continue to actively implement, fix bugs on the following:
* [[Stylo]] ([https://bugzilla.mozilla.org/show_bug.cgi?id=1243581 metabug])
* [[Stylo]] ([https://bugzilla.mozilla.org/show_bug.cgi?id=1243581 metabug])


Line 16: Line 56:
* [https://drafts.csswg.org/css-grid/ CSS Grid] ([https://www.w3.org/TR/2017/CR-css-grid-1-20170509/ CR]) [https://bugzilla.mozilla.org/show_bug.cgi?id=1312610 metabug]
* [https://drafts.csswg.org/css-grid/ CSS Grid] ([https://www.w3.org/TR/2017/CR-css-grid-1-20170509/ CR]) [https://bugzilla.mozilla.org/show_bug.cgi?id=1312610 metabug]
** [https://bugzilla.mozilla.org/buglist.cgi?quicksearch=%5Bcss-grid%5D lots of work]  
** [https://bugzilla.mozilla.org/buglist.cgi?quicksearch=%5Bcss-grid%5D lots of work]  
===== Grid Level 2 =====
* [https://drafts.csswg.org/css-grid-2/ CSS Grid level 2] specifically [https://bugzilla.mozilla.org/buglist.cgi?quicksearch=subgrid for subgrid]
* doing some exploratory implementing, design may (hopefully likely) change accordingly
==== Shapes ====
* [https://drafts.csswg.org/css-shapes/ CSS Shapes] (CR, another CR expected any moment now in 2017) [https://bugzilla.mozilla.org/show_bug.cgi?id=1040714 metabug]
** [https://bugzilla.mozilla.org/show_bug.cgi?id=1098939 shape-outside]


==== Box Alignment ====
==== Box Alignment ====
Line 29: Line 62:
** and some details for flexbox (see metabug 1105570 Depends on)
** and some details for flexbox (see metabug 1105570 Depends on)
** spec CR depends on resolving [https://github.com/w3c/csswg-drafts/labels/css-align-3 open css-align-3 issues]
** spec CR depends on resolving [https://github.com/w3c/csswg-drafts/labels/css-align-3 open css-align-3 issues]
==== Multi-column ====
* [https://www.w3.org/TR/css3-multicol/ CSS Multi-column Layout] (2011 CR, but [https://drafts.csswg.org/css-multicol/ multicol editor's draft has changes]), [https://bugzilla.mozilla.org/show_bug.cgi?id=684062 metabug]
** unprefixing, column-span, a11y bug hack removal, column-break
** Alias page-break-* to break-*: https://bugzilla.mozilla.org/show_bug.cgi?id=775618
(Jen has a demo of bugs / test page at http://labs.jensimmons.com/examples/multicolumn-3-bug-demo.html)
==== Containment ====
* [https://drafts.csswg.org/css-containment/ CSS Containment Module Level 1] ([https://www.w3.org/TR/2017/WD-css-contain-1-20170221/ FPWD]) 'contain' property, size/layout, style, paint
** Main bug: [https://bugzilla.mozilla.org/show_bug.cgi?id=1150081 bug 1150081]


==== 3D Transforms ====
==== 3D Transforms ====
Line 123: Line 146:
=== Shipping Soon ===
=== Shipping Soon ===
As the above priorities get implemented, moving down here to note we're waiting for them to ship.
As the above priorities get implemented, moving down here to note we're waiting for them to ship.
=== Post Stylo Integration ===
==== CSS Color Level 4 ====
[https://drafts.csswg.org/css-color-4/ CSS Color Module Level 4] (ED), [https://bugzilla.mozilla.org/show_bug.cgi?id=1352753 metabug]
* Color improvements (wide gamut, color correction, note CSS color correction preffed off)
==== Media Queries 4 ====
* [https://drafts.csswg.org/mediaqueries-4/ Media Queries 4] (note: [https://drafts.csswg.org/mediaqueries-4/#changes-2012 new features in 4]), [https://bugzilla.mozilla.org/show_bug.cgi?id=1312621 metabug]
** full support of numerical comparators (<, <=, =>, >)
** expansion of negation syntax (and, or, not)
** [https://drafts.csswg.org/mediaqueries-4/#mf-interaction interaction features]  [https://bugzilla.mozilla.org/show_bug.cgi?id=1035774 #1035774]
** [https://logs.csswg.org/irc.w3.org/css/2017-08-02/#e841291 2017-08-02 CSSWG resolved to take to CR]


==== Values and Units 3 ====
==== Values and Units 3 ====

Revision as of 21:02, 12 December 2017

This is the Mozilla wiki home page for Cascading Style Sheets (CSS), one of several areas of Open Web Standards.

CSS

Platform priorities

The following CSS specs/proposals are a priority for the Platform.

2018 Priorities

These are *in progress* 2018 Priorities for CSS features in Firefox.

(currently being discussed at Yallhands in Austin, Texas)

Some public discussion here:

Grid Level 2

Grid Level 2 AKA subgrid

Shapes

Containment

Multi-column

(Jen has a demo of bugs / test page at http://labs.jensimmons.com/examples/multicolumn-3-bug-demo.html)

CSS Color Level 4

CSS Color Module Level 4 (ED), metabug

  • Color improvements (wide gamut, color correction, note CSS color correction preffed off)

Media Queries 4

Actively Implementing

Beyond the above priorities, we should continue to actively implement, fix bugs on the following:

Flexbox

Mozilla has a pretty solid complete Flexbox (W3C CR, just waiting on feature-interaction tests to go PR) implementation. We are working on some fixes to make it even better, e.g.

Grid

Box Alignment

3D Transforms

Inline Layout

Masking

Sizing

CSS Intrinsic & Extrinsic Sizing Module Level 3 (WD)

Text Decoration

CSS Text Decoration Module Level 3 (2013 CR) (metabug), e.g.:

Writing Modes

CSS Writing Modes Level 3 (2015 CR) (metabug)

Under the hood and related

Evaluating

Font Rendering Controls

CSS Font Rendering Controls Module Level 1 (ED)

Font Loading

CSS Font Loading Module Level 3 https://developer.mozilla.org/en-US/docs/Web/API/CSS_Font_Loading_API shipped in 41

  • CSS Font Loading Improvements, Multiple bugs

Other

  • font inflation removed
  • CSS Transform properties (shorthands)

Related HTML5

HTML5 layout and presentation related work:

Recent CRs

Cascading and Inheritance

Upcoming CRs

These CRs are expected in 2017:

For all potential CRs:

  • Which browsers have openly announced implementations or intent to implement? (links?)
  • Box Alignment (see above)

Fonts Level 3

Text Level 3

Selectors 4

Selectors 4 (need list of changes since 3), metabug

  • No explicit dependency on Stylo, just lower priority
  • Selectors4 remaining features
    • CSS ::selection fixes + unprefixing
    • ... remaining new features? (JS)

Shipping Soon

As the above priorities get implemented, moving down here to note we're waiting for them to ship.

Values and Units 3

CSS Values and Units Module Level 3 (CR)

  • [ ] attr function (at risk) — very useful in combination with CSS Shapes, in the context of a CMS

Image Values and Replaced Content

CSS Image Values and Replaced Content Module Level 3 (CR)

  • image() function
  • [ ] xywh fragment syntax

Style sheet APIs for Add-ons

  • style sheet APIs in add-ons SDK / loading async APIs (to be handled by stylo)

Filter Effects Level 2

Motion Path Module

https://www.w3.org/TR/motion-1/ (currently Working Draft)

Device Adaptation

CSS Device Adaptation Module Level 1 (WD)

Houdini

  • CSS Houdini - see inside for Houdini implementation thoughts/plan

properties

Please add subpages for each (unprefixed) CSS property in alphabetical order.

in development

CSS properties which have not yet made it to a Candidate Recommendation (or later), or are only implemented in the wild in prefixed form.

new pseudo-classes

new properties

See Also