In the Styles pane, add a new CSS rule with the selector "@-webkit-keyframes shake" (unquoted). Bam! Upstreaming http://code.google.com/p/chromium/issues/detail?id=156516
Created attachment 169605 [details] Patch
Comment on attachment 169605 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=169605&action=review > Source/WebCore/inspector/InspectorStyleSheet.cpp:816 > + CSSParser p(m_pageStyleSheet->ownerDocument() ? CSSParserContext(m_pageStyleSheet->ownerDocument()) : strictCSSParserContext()); We use different parser constructors in this class. Why? Could we introduce factory methods with descriptive names? > Source/WebCore/inspector/InspectorStyleSheet.cpp:821 > + return 0; Do you want to extract this into a separate method? > Source/WebCore/inspector/InspectorStyleSheet.cpp:845 > + m_pageStyleSheet->deleteRule(lastRuleIndex, ec); You should assign exception code there. > LayoutTests/inspector/styles/styles-add-new-rule.html:59 > + function step6() Please add test per case.
Created attachment 169610 [details] Patch
Comment on attachment 169610 [details] Patch Clearing flags on attachment: 169610 Committed r132229: <http://trac.webkit.org/changeset/132229>
All reviewed patches have been landed. Closing bug.