Bug 116966 - [css3-cascade] Add support for "all" shorthand property
: [css3-cascade] Add support for "all" shorthand property
Status: UNCONFIRMED
Product: WebKit
Classification: Unclassified
Component: CSS
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To: Nobody
http://dev.w3.org/csswg/css-cascade/#...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-29 09:32 PDT by Jared Jacobs
Modified: 2014-12-22 09:36 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Jacobs 2013-05-29 09:32:30 PDT
Would be great, especially for developers of extensions and third-party scripts, to add support for the "all" shorthand property (e.g. "all: initial" or "all: default").
Comment 1 SFFC 2013-06-13 23:50:26 PDT
Seconded.  With Safari extensions, injected stylesheets are treated as "user stylesheets", so any "general" styles on the host site (e.g., h3{padding:none} ) takes precedence over injected style declarations, even if the injected style declarations have higher specificity.  Implementing the `all` property in WebKit will open the doors for more reliably-styled Safari extensions.
Comment 2 Jared Jacobs 2014-12-22 09:36:30 PST
Update: This feature shipped in Firefox 27 (10/2013), Chrome 37 (06/2014), Opera 24.

Other browser issue links:
https://code.google.com/p/chromium/issues/detail?id=172051
https://bugzilla.mozilla.org/show_bug.cgi?id=842329

MDN page:
https://developer.mozilla.org/en-US/docs/Web/CSS/all