Use StringBuilder in WebKitCSSTransformValue::customCssText() to allow code reuse with CSS Variables.
Created attachment 143977 [details] Patch
Comment on attachment 143977 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=143977&action=review > Source/WebCore/css/WebKitCSSTransformValue.cpp:70 > + if (m_type != UnknownTransformOperation) { Do we need to ASSERT the expected range of m_type somewhere around here?
Created attachment 144254 [details] Patch for landing
Comment on attachment 144254 [details] Patch for landing Clearing flags on attachment: 144254 Committed r118639: <http://trac.webkit.org/changeset/118639>
All reviewed patches have been landed. Closing bug.
Comment on attachment 144254 [details] Patch for landing View in context: https://bugs.webkit.org/attachment.cgi?id=144254&action=review > Source/WebCore/css/WebKitCSSTransformValue.cpp:36 > +const int transformNameSize = 22; Seems a shame to hard-code that 22 value when we have WTF_ARRAY_LENGTH to compute such things for us. > Source/WebCore/css/WebKitCSSTransformValue.cpp:38 > + "", Why "" instead of 0 here?
(In reply to comment #6) > (From update of attachment 144254 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=144254&action=review > > > Source/WebCore/css/WebKitCSSTransformValue.cpp:36 > > +const int transformNameSize = 22; > > Seems a shame to hard-code that 22 value when we have WTF_ARRAY_LENGTH to compute such things for us. > > > Source/WebCore/css/WebKitCSSTransformValue.cpp:38 > > + "", > > Why "" instead of 0 here? Fair points, I'll post a follow-up patch.