Revert r150339 since it causes a hang while paused in the Web Inspector in other apps.

https://bugs.webkit.org/show_bug.cgi?id=117596

Reviewed by Joseph Pecoraro.

* platform/mac/EventLoopMac.mm:
(WebCore::EventLoop::cycle):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Support byte and octet types in bindings generators
https://bugs.webkit.org/show_bug.cgi?id=117547

Reviewed by Kentaro Hara.

Source/WebCore:

Add support for byte and octet IDL types to the bindings
generator:
http://dev.w3.org/2006/webapi/WebIDL/#idl-byte
http://dev.w3.org/2006/webapi/WebIDL/#idl-octet

No new tests, covered by existing layout tests and by new
bindings tests.

No new tests, covered by bindings tests and:
fast/js/webidl-type-mapping.html

* WebCore.exp.in: Export new symbols for mac port.
* bindings/js/JSDOMBinding.cpp:
* bindings/js/JSDOMBinding.h: Add toInt8() / toUInt8()
methods to convert from JSValue to int8_t / uint8_t as
specified by Web IDL.

* bindings/js/JSDataViewCustom.cpp: Remove custom code for
getInt8, getUInt8, setInt8, setUInt8 now that byte and octet
types are supported by the bindings generator.

* bindings/scripts/CodeGeneratorCPP.pm:
* bindings/scripts/CodeGeneratorGObject.pm:
* bindings/scripts/CodeGeneratorJS.pm:
* bindings/scripts/CodeGeneratorObjC.pm:
* bindings/scripts/test/CPP/WebDOMTestObj.cpp:
* bindings/scripts/test/CPP/WebDOMTestObj.h:
* bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
* bindings/scripts/test/GObject/WebKitDOMTestObj.h:
* bindings/scripts/test/JS/JSTestObj.cpp:
* bindings/scripts/test/JS/JSTestObj.h:
* bindings/scripts/test/ObjC/DOMTestObj.h:
* bindings/scripts/test/ObjC/DOMTestObj.mm:
* bindings/scripts/test/TestObj.idl: Add tests for byte and octet types.
* html/canvas/DataView.idl: Remove [Custom] extended attribute for
getInt8, getUInt8, setInt8, setUInt8 and use newly supported byte / octet
types.

LayoutTests:

Update fast/js/webidl-type-mapping.html to cover byte and octet
Web IDL types with and without [EnforceRange].

* fast/js/webidl-type-mapping-expected.txt:
* fast/js/webidl-type-mapping.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Headers and footers should be pinned to the left edge of the window when scrolling 
horizontally, even when zoomed
https://bugs.webkit.org/show_bug.cgi?id=117562
-and corresponding-
<rdar://problem/14006745>

Reviewed by Sam Weinig.

We really want to use the width value from scrollOffsetForFixedPosition() for the 
banner with a scaled factor of 1. So if there is a different scale factor, re-
compute this value specifically for the banners. 
* page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
(WebCore::ScrollingTreeScrollingNodeMac::setScrollLayerPosition):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Updating the -webkit-background-blend-mode property dynamically does not trigger a redraw of the element.

Source/WebCore:

Adding krit's fix: actual blending values should be compared, not the sets.
https://bugs.webkit.org/show_bug.cgi?id=117223

Patch by Mihai Tica <mitica@adobe.com> on 2013-06-13
Reviewed by Dirk Schulze.

Test: css3/compositing/background-blend-mode-image-color-dynamic.html

* rendering/style/FillLayer.cpp:
(WebCore::FillLayer::operator==):

LayoutTests:

Adding test that sets background blend modes from script, after the page is loaded.
https://bugs.webkit.org/show_bug.cgi?id=117223

Patch by Mihai Tica <mitica@adobe.com> on 2013-06-13
Reviewed by Dirk Schulze.

* fast/repaint/background-blend-mode-image-color-dynamic-expected.html: Added.
* fast/repaint/background-blend-mode-image-color-dynamic.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Background Blending] Enable CSS Background blending for layers with SVGs.

Source/WebCore:

The change implies adding the blending parameter for SVGImage
https://bugs.webkit.org/show_bug.cgi?id=117588

Patch by Mihai Tica <mitica@adobe.com> on 2013-06-13
Reviewed by Dirk Schulze.

Tests: css3/compositing/background-blend-mode-image-svg.html
       css3/compositing/background-blend-mode-svg-color.html

* svg/graphics/SVGImage.cpp:
(WebCore::SVGImage::draw):

LayoutTests:

Adding tests for SVGs over simple background colors and images blending with SVGs.
https://bugs.webkit.org/show_bug.cgi?id=117588

Patch by Mihai Tica <mitica@adobe.com> on 2013-06-13
Reviewed by Dirk Schulze.

* css3/compositing/background-blend-mode-image-svg-expected.txt: Added.
* css3/compositing/background-blend-mode-image-svg.html: Added.
* css3/compositing/background-blend-mode-svg-color-expected.txt: Added.
* css3/compositing/background-blend-mode-svg-color.html: Added.
* css3/compositing/resources/red-circle.svg: Added.
* platform/mac/css3/compositing/background-blend-mode-image-svg-expected.png: Added.
* platform/mac/css3/compositing/background-blend-mode-svg-color-expected.png: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add tests to validate CSS Background Blending

This patch set removes the test case of adding bg blend mode through script, as it
is now part of bug#117223

https://bugs.webkit.org/show_bug.cgi?id=117537

Patch by Mihai Tica <mitica@adobe.com> on 2013-06-13
Reviewed by Dirk Schulze.

* css3/compositing/background-blend-mode-default-value.html: Added.
* css3/compositing/background-blend-mode-different-image-formats.html: Added.
* css3/compositing/background-blend-mode-image-color.html: Added.
* css3/compositing/background-blend-mode-image-image.html: Added.
* css3/compositing/background-blend-mode-single-layer-no-blending.html: Added.
* css3/compositing/resources/ducky.jpg: Added.
* platform/mac/css3/compositing/background-blend-mode-default-value-expected.png: Added.
* platform/mac/css3/compositing/background-blend-mode-default-value-expected.txt: Added.
* platform/mac/css3/compositing/background-blend-mode-different-image-formats-expected.png: Added.
* platform/mac/css3/compositing/background-blend-mode-different-image-formats-expected.txt: Added.
* platform/mac/css3/compositing/background-blend-mode-image-color-expected.png: Added.
* platform/mac/css3/compositing/background-blend-mode-image-color-expected.txt: Added.
* platform/mac/css3/compositing/background-blend-mode-image-image-expected.png: Added.
* platform/mac/css3/compositing/background-blend-mode-image-image-expected.txt: Added.
* platform/mac/css3/compositing/background-blend-mode-single-layer-no-blending-expected.png: Added.
* platform/mac/css3/compositing/background-blend-mode-single-layer-no-blending-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed build fix after rr151563.

Export needed symbols for Windows.

* WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

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