Changeset 87453 in webkit
- Timestamp:
- May 26, 2011 5:08:09 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r87451 r87453 1 2011-05-26 Annie Sullivan <sullivan@chromium.org> 2 3 Reviewed by Ryosuke Niwa. 4 5 [debug feature] CSSStyleDeclaration should have a way to print cssText 6 https://bugs.webkit.org/show_bug.cgi?id=61570 7 8 Adds a method to print the cssText to stderr for debugging. 9 10 * css/CSSStyleDeclaration.cpp: 11 (WebCore::CSSStyleDeclaration::showStyle): New method to print cssText to stderr 12 * css/CSSStyleDeclaration.h: New method declaration 13 1 14 2011-05-26 Syed Idris Shah <syed.idris-shah@nokia.com> 2 15 -
trunk/Source/WebCore/css/CSSStyleDeclaration.cpp
r83118 r87453 184 184 } 185 185 186 #ifndef NDEBUG 187 void CSSStyleDeclaration::showStyle() 188 { 189 fprintf(stderr, "%s\n", cssText().ascii().data()); 190 } 191 #endif 192 186 193 } // namespace WebCore -
trunk/Source/WebCore/css/CSSStyleDeclaration.h
r58273 r87453 73 73 PassRefPtr<CSSMutableStyleDeclaration> copyPropertiesInSet(const int* set, unsigned length) const; 74 74 75 #ifndef NDEBUG 76 void showStyle(); 77 #endif 78 75 79 protected: 76 80 CSSStyleDeclaration(CSSRule* parentRule = 0);
Note: See TracChangeset
for help on using the changeset viewer.