[Webkit-unassigned] [Bug 40886] Web Inspector: Backend Should Provide Full Supported CSS Properties List
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jun 20 21:58:34 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=40886
--- Comment #1 from Joseph Pecoraro <joepeck at webkit.org> 2010-06-20 21:58:33 PST ---
This is what I see so far:
window.getComputedStyle (no shorthands)
- provides a list without shorthands, but with non-typical CSS properties
such as SVG and dashboard styles. This is in effect using properties from
any .in file with "CSSProperty" in the name, but it then strips shorthand
properties.
CSSTokenizer's list (shorthands, but missing some)
- this is using everything from CSSProperty.in but not SVG, etc.
So, a total list of all styles, including shorthands, can come from:
shell> find . -name '*CSSProperty*.in'
./css/CSSPropertyNames.in
./css/DashboardSupportCSSPropertyNames.in
./css/SVGCSSPropertyNames.in
./css/WCSSPropertyNames.in
There is already a global list generated with all of the above, it
is generated via css/makeprop.pl. The derived files are:
.../DerivedSources/WebCore/CSSPropertyNames.cpp
.../DerivedSources/WebCore/CSSPropertyNames.gperf
.../DerivedSources/WebCore/CSSPropertyNames.h
.../DerivedSources/WebCore/CSSPropertyNames.in
Inside .cpp we have this nice, global, list of all the CSS properties
that getComputedStyle provides, including shorthands!
Was it that easy?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list