[cairo] Initialize the m_compositorTexture in GraphicsContext3DCairo.cpp
https://bugs.webkit.org/show_bug.cgi?id=122285

Patch by Alejandro G. Castro <alex@igalia.com> on 2013-10-03
Reviewed by Noam Rosenthal.

Initialize to the default texture to avoid the random texture name
and generate the texture name.

* platform/graphics/cairo/GraphicsContext3DCairo.cpp:
(WebCore::GraphicsContext3D::GraphicsContext3D): Initialize
m_compositorTexture.
(WebCore::GraphicsContext3D::~GraphicsContext3D): Delete the
generated textures names.
* platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp:
(WebCore::GraphicsContext3D::reshapeFBOs): Generate the texture
names for m_compositorTexture and m_texture.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156848 268f45cc-cd09-0410-ab3c-d52691b4dbfc
video-object-fit tests are flaky
https://bugs.webkit.org/show_bug.cgi?id=121803

I'm not quite sure what's going on, but [ Pass Failure ] expectations didn't cut it.
Trying [ Pass ImageOnlyFailure ], as the failures are always image only anyway.

* platform/mac/TestExpectations:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Regions] Follow-up code style change after bug #121828 All regions have layers
https://bugs.webkit.org/show_bug.cgi?id=122265

Patch by Mihai Maerean <mmaerean@adobe.com> on 2013-10-03
Reviewed by Darin Adler.

Comments moved to the cpp file, as requested in the review of bug #121828 All regions have layers.

No new tests, no behavior change.

* rendering/RenderMultiColumnSet.cpp:
(WebCore::RenderMultiColumnSet::requiresLayer):
* rendering/RenderMultiColumnSet.h:
* rendering/RenderRegion.cpp:
(WebCore::RenderRegion::requiresLayer):
* rendering/RenderRegion.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156850 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Shapes] Revise the CSS property parsing tests
https://bugs.webkit.org/show_bug.cgi?id=122251

Reviewed by Andreas Kling.

Flattened the shapes CSS property parsing tests by inserting the code from
the fast/shapes/parsing/script-tests subdirectory into the test HTML source
files. The subdirectory is now empty and the tests are easier to read.

* fast/shapes/parsing/parsing-shape-image-threshold.html: Inserted parsing-shape-image-threshold.js instead of referring to it with script src.
* fast/shapes/parsing/parsing-shape-inside.html: Likewise
* fast/shapes/parsing/parsing-shape-lengths.html: Likewise
* fast/shapes/parsing/parsing-shape-margin.html: Likewise
* fast/shapes/parsing/parsing-shape-outside.html: Likewise
* fast/shapes/parsing/parsing-shape-padding.html: Likewise
* fast/shapes/parsing/parsing-test-utils.js: Renamed from LayoutTests/fast/shapes/parsing/script-tests/parsing-test-utils.js.
(getCSSText):
(getComputedStyleValue):
(getParentAndChildComputedStyles):
(getParentAndChildComputedStylesString):
(getChildComputedStyle):
(testShapeSpecifiedProperty):
(testShapeComputedProperty):
(testNotInheritedShapeChildProperty):
(property):
* fast/shapes/parsing/script-tests/parsing-shape-image-threshold.js: Removed.
* fast/shapes/parsing/script-tests/parsing-shape-inside.js: Removed.
* fast/shapes/parsing/script-tests/parsing-shape-lengths.js: Removed.
* fast/shapes/parsing/script-tests/parsing-shape-margin.js: Removed.
* fast/shapes/parsing/script-tests/parsing-shape-outside.js: Removed.
* fast/shapes/parsing/script-tests/parsing-shape-padding.js: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156851 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Shapes] Support the shape-image-threshold property
https://bugs.webkit.org/show_bug.cgi?id=122254

Reviewed by Andreas Kling.

Source/WebCore:

Replace the hardwired 0 Shape::createShape() threshold parameter with the style's
shapeImageThreshold() value (which has been clamped to [0,1]).

Tests: fast/shapes/shape-outside-floats/shape-outside-floats-image-threshold-001.html
       fast/shapes/shape-outside-floats/shape-outside-floats-image-threshold-002.html

* rendering/shapes/ShapeInfo.cpp:
(WebCore::::computedShape):

LayoutTests:

Verify that a shape-outside image whose pixels' alpha channels are all above shape-image-threshold causes
layout to skirt the shape, and similarly that an image whose pixels' alpha channels are all below the threshold
has no effect on the layout.

* fast/shapes/shape-outside-floats/shape-outside-floats-image-threshold-001-expected.html: Added.
* fast/shapes/shape-outside-floats/shape-outside-floats-image-threshold-001.html: Added.
* fast/shapes/shape-outside-floats/shape-outside-floats-image-threshold-002-expected.html: Added.
* fast/shapes/shape-outside-floats/shape-outside-floats-image-threshold-002.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156852 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Flaky Test: fast/history/history-back-while-pdf-in-pagecache.html
https://bugs.webkit.org/show_bug.cgi?id=121628

* platform/mac/TestExpectations: Marking as such.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix LeaksViewer to load leaks results from MountainLion, not Lion.

Rubber-stamped by Tim Horton.

* BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js:
(LeaksViewer._displayURLPrompt):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156854 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Regions] Layout Test for selecting text in 2 regions
https://bugs.webkit.org/show_bug.cgi?id=121841

Reviewed by Alexandru Chiculita.

Add new reftest for selecting text in 2 regions. It compares the
behavior (highlighted text and selected content) in regions and absolute
positions.

* fast/regions/resources/helper.js: Add new function to set selected
content in an element onmouseup.
(onMouseUpLogSelection.document.onmouseup):
(onMouseUpLogSelection):
* fast/regions/resources/region-style.css: Define some styles that could
be reused in other tests.
* fast/regions/selection/selecting-text-in-2-regions-expected.html:
Added.
* fast/regions/selection/selecting-text-in-2-regions.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156857 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Eliminate unused JITStub function declarations
https://bugs.webkit.org/show_bug.cgi?id=122288

Reviewed by Geoffrey Garen.

Removed unused JITStub declarations.

* jit/JITStubs.h:


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