Subpixel rendering: Buttons in default media controls shift vertically when controls fade in or out.
https://bugs.webkit.org/show_bug.cgi?id=133488

Reviewed by Simon Fraser.

Filter effects are not subpixel aware yet. They paint to integrally sized image buffers.
In order to ensure that the content is rendered to the the same position on the filter
source context as if there was no filter, the repaint rects need to be adjusted to match with
the internal filter snapping (enclosingIntRect).
This is a temporary change until after filter effects get subpixelized.

However, this changeset regresses RenderNameFlow clipping when the content is on subpixel position
and filter effect is present. Instead of adding the failing test cases to TestExpectations, I removed
the video controls from the <video> to make the tests pass, when possible (they just happen to have <video>)
and filed webkit.org/b/133523 to track the regression.

Source/WebCore:

Test: css3/filters/filter-is-on-subpixel-position.html

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::setupFilters):

LayoutTests:

* css3/filters/filter-is-on-subpixel-position-expected.html: Added.
* css3/filters/filter-is-on-subpixel-position.html: Added.
* fast/regions/inline-block-inside-anonymous-overflow.html:
* fast/regions/inline-block-overflow.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@169615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Regions][CSS Shapes] Add Shapes tests which flow through multiple regions
https://bugs.webkit.org/show_bug.cgi?id=133487

Reviewed by Mihnea Ovidenie.

The test verifies if the content with the shape wraps correctly through a region chain.

* fast/regions/shape-outside-floats/regions-shape-outside-content-flows-multiple-regions-expected.html: Added.
* fast/regions/shape-outside-floats/regions-shape-outside-content-flows-multiple-regions.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@169616 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Apply Character-level mirroring to stretchy operators in RTL mode.
https://bugs.webkit.org/show_bug.cgi?id=130839

Reviewed by Chris Fleizach.

Source/WebCore:
We add support for character-level mirroring for stretchy MathML operators in RTL mode.
Glyph-level mirroring (via the rtlm OpenType feature) will be handled in bug 130840.

Test: mathml/presentation/stretchy-rtl.html

* rendering/mathml/RenderMathMLOperator.cpp: reorganize the Unicode stretchyCharacters table to make mirroring easy.
(WebCore::RenderMathMLOperator::computePreferredLogicalWidths): pass the right boolean to glyphDataForCharacter.
(WebCore::RenderMathMLOperator::getDisplayStyleLargeOperator): ditto
(WebCore::RenderMathMLOperator::findStretchyData): ditto and change the index for the stretchyCharacters fallback.
(WebCore::RenderMathMLOperator::updateStyle): pass the right boolean to glyphDataForCharacter.
(WebCore::RenderMathMLOperator::paint): remove the FIXME comment.
(WebCore::RenderMathMLOperator::paintVerticalGlyphAssembly): switch the leading/trailing space in RTL mode.

LayoutTests:
Add some tests to verify that stretchy operators are correctly mirrored in RTL mode.

* mathml/presentation/stretchy-rtl-expected.html: Added.
* mathml/presentation/stretchy-rtl.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@169617 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Mac] Tweak plug-in sandbox profiles
https://bugs.webkit.org/show_bug.cgi?id=133549

Fix <rdar://problem/17068055> and <rdar://problem/17148837>.

Reviewed by Sam Weinig and Simon Cooper.

* Resources/PlugInSandboxProfiles/com.apple.ist.ds.appleconnect.webplugin.sb:
* Resources/PlugInSandboxProfiles/com.microsoft.SilverlightPlugin.sb:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@169618 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r169587.
https://bugs.webkit.org/show_bug.cgi?id=133552

Calls a pure virtual method, crashes (Requested by ap on
#webkit).

Reverted changeset:

"WebKit should adopt journal_mode=wal for all SQLite
databases."
https://bugs.webkit.org/show_bug.cgi?id=133496
http://trac.webkit.org/changeset/169587

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