WebKitCSSTransformValue::customCssText() should always allocate once
https://bugs.webkit.org/show_bug.cgi?id=105445

Reviewed by Alexis Menard.

When converting a WebKitCSSTransformValue to a String representation,
it was typically done with 2 memory allocations due to the string size in StringBuilder.

This patch changes the code to use the String Concatenate operations in order
to create the string at once.

The opening parenthesis is also moved in the prefix name in order to maximize
the range copied with memcopy.

* css/WebKitCSSTransformValue.cpp:
(WebCore::transformValueToCssString): New generic function for boxing values.
(WebCore::WebKitCSSTransformValue::customCssText):
(WebCore::WebKitCSSTransformValue::customSerializeResolvingVariables):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138829 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed gardening. Adding Lion image baseline for
fast/regions/full-screen-video-from-region.html

* platform/chromium-mac-lion/fast/regions/full-screen-video-from-region-expected.png: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138830 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Remove static create functions from types WebCompositorSupport can construct
https://bugs.webkit.org/show_bug.cgi?id=99877

Patch by James Robinson <jamesr@chromium.org> on 2013-01-04
Reviewed by Adrienne Walker.

* chromium/public/WebAnimation.h:
* chromium/public/WebContentLayer.h:
* chromium/public/WebExternalTextureLayer.h:
* chromium/public/WebFloatAnimationCurve.h:
* chromium/public/WebIOSurfaceLayer.h:
* chromium/public/WebImageLayer.h:
* chromium/public/WebLayer.h:
* chromium/public/WebLayerTreeView.h:
* chromium/public/WebScrollbarLayer.h:
* chromium/public/WebSolidColorLayer.h:
* chromium/public/WebTransformAnimationCurve.h:
* chromium/public/WebVideoLayer.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138831 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PseudoElement should never dispatch events
https://bugs.webkit.org/show_bug.cgi?id=106048

Reviewed by Ojan Vafai.

Source/WebCore:

The new DOM based generated content can sometimes dispatch events
as a result of animations or transitions which is incorrect as it
exposes the PseudoElement to script. All event dispatch from a
PseudoElement should be ignored.

Per discussions with Tab Atkins in the future we might add support
by making events dispatched from a pseudo element fire with the
target as the parent element and add a new pseudo property to
events that has the value "before" or "after".

Test: fast/css-generated-content/pseudo-element-events.html

* dom/PseudoElement.h:

LayoutTests:

Add a test that events don't get dispatched from pseudo elements. The
only way right now to cause this is with transitions or animations.

* fast/css-generated-content/pseudo-element-events-expected.txt: Added.
* fast/css-generated-content/pseudo-element-events.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138832 268f45cc-cd09-0410-ab3c-d52691b4dbfc