Bug 116966 - [css3-cascade] Add support for "all" shorthand property
Summary: [css3-cascade] Add support for "all" shorthand property
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Dave Hyatt
URL: http://dev.w3.org/csswg/css-cascade/#...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-05-29 09:32 PDT by Jared Jacobs
Modified: 2015-12-04 18:17 PST (History)
6 users (show)

See Also:


Attachments
Patch (13.50 KB, patch)
2015-10-16 08:39 PDT, Dave Hyatt
zalan: review+
Details | Formatted Diff | Diff

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
Comment 3 Dave Hyatt 2015-10-16 08:39:17 PDT
Created attachment 263270 [details]
Patch
Comment 4 Dave Hyatt 2015-10-16 09:12:50 PDT
Landed in r191178.
Comment 5 Radar WebKit Bug Importer 2015-12-04 18:17:47 PST
<rdar://problem/23771229>