Summary: | [debug feature] CSSStyleDeclaration should have a way to print cssText | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Blocker | CC: | eric, hyatt, jamesr, lars.knoll, leviw, mitz, simon.fraser, sullivan | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Ryosuke Niwa
2011-05-26 15:14:57 PDT
Sounds good, just like showTree(). Created attachment 95066 [details]
Patch
Comment on attachment 95066 [details]
Patch
maybe showStyle or showCssText to follow the convention?
(In reply to comment #3) > (From update of attachment 95066 [details]) > maybe showStyle or showCssText to follow the convention? Either show or showStyle have my vote :) Comment on attachment 95066 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=95066&action=review > Source/WebCore/css/CSSStyleDeclaration.cpp:189 > + fprintf(stderr, "%s", cssText().ascii().data()); Yu need \n after %s. Created attachment 95069 [details]
Patch
Committed r87453: <http://trac.webkit.org/changeset/87453> |