Create SourceBuffer and SourceBufferList objects
https://bugs.webkit.org/show_bug.cgi?id=91771

Reviewed by Eric Carlson.

SourceBuffer and SourceBufferList objects are needed in order to
implement the new object-oriented MediaSource API:
http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html

No new tests - will be able to test after landing BUGWK91775

Adding new files to build files:
* CMakeLists.txt:
* DerivedSources.cpp:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.am:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.vcproj/WebCoreCommon.vsprops:
* WebCore.vcproj/copyForwardingHeaders.cmd:
* WebCore.xcodeproj/project.pbxproj:

New objects:
* Modules/mediasource/SourceBuffer.cpp: Added.
* Modules/mediasource/SourceBuffer.h: Added.
* Modules/mediasource/SourceBuffer.idl: Added.
* Modules/mediasource/SourceBufferList.cpp: Added.
* Modules/mediasource/SourceBufferList.h: Added.
* Modules/mediasource/SourceBufferList.idl: Added.

New events:
* dom/EventNames.h:
(WebCore):
* dom/EventTarget.h:
(WebCore):
* dom/EventTargetFactory.in:

Object constructors:
* page/DOMWindow.idl:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123522 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] svg/clip-path rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92158

Unreviewed.

Create a separate bug to track two tests that had wrong expected results before
the font change.

* platform/qt-5.0/Skipped:
* platform/qt/svg/clip-path/clip-path-pixelation-expected.png:
* platform/qt/svg/clip-path/clip-path-pixelation-expected.txt:
* platform/qt/svg/clip-path/clip-path-text-and-shape-expected.png:
* platform/qt/svg/clip-path/clip-path-text-and-shape-expected.txt:
* platform/qt/svg/clip-path/clip-path-text-and-stroke-expected.png:
* platform/qt/svg/clip-path/clip-path-text-and-stroke-expected.txt:
* platform/qt/svg/clip-path/clip-path-text-expected.png:
* platform/qt/svg/clip-path/clip-path-text-expected.txt:
* platform/qt/svg/clip-path/clip-path-tspan-and-stroke-expected.png:
* platform/qt/svg/clip-path/clip-path-tspan-and-stroke-expected.txt:
* platform/qt/svg/clip-path/clip-path-with-text-clipped-expected.png:
* platform/qt/svg/clip-path/clip-path-with-text-clipped-expected.txt:
* platform/qt/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.png:
* platform/qt/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.txt:
* platform/qt/svg/clip-path/deep-nested-clip-in-mask-expected.png: Removed.
* platform/qt/svg/clip-path/deep-nested-clip-in-mask-expected.txt: Removed.
* platform/qt/svg/clip-path/deep-nested-clip-in-mask-panning-expected.png: Removed.
* platform/qt/svg/clip-path/deep-nested-clip-in-mask-panning-expected.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123523 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Make RenderBlock::paintChildren virtual so sub classes can change the paint order
https://bugs.webkit.org/show_bug.cgi?id=92042

Reviewed by Ojan Vafai.

The flexbox spec says that the order property should change the paint order of flex children.
To make that possible, make paintChildren virtual so RenderFlexibleBox can override it.

No new tests, this is just a refactoring.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::paintContents): Move some code out of paintChildren into paintContents.
(WebCore::RenderBlock::paintChildren): Make virtual and just have it be a simple for loop.
(WebCore::RenderBlock::paintChild): Move code out of paintChildren so subclasses can reuse.
* rendering/RenderBlock.h:
(RenderBlock): Make paintChildren virtual and protected so sub classes can call paintChild.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Crash in RenderTableSection::layoutRows
https://bugs.webkit.org/show_bug.cgi?id=92145

Reviewed by Abhishek Arya.

Source/WebCore:

The crash came from the insertChildNode logic being confused and choosing the wrong
renderer for insertion. This is because after r123159, table anonymous wrappers can
be created as 'inline-table' and wouldn't pass the isAnonymousBlock() check.

This change also aligns the ancestor iteration with RenderBlock::addChildToAnonymousColumnBlocks.

Test: fast/table/crash-table-section-layoutRows.html

* rendering/RenderObjectChildList.cpp:
(WebCore::RenderObjectChildList::insertChildNode):
Changed the code to always get the right child. There is no justification to not
walking up to the |owner|'s direct child in all cases.

LayoutTests:

* fast/table/crash-table-section-layoutRows-expected.txt: Added.
* fast/table/crash-table-section-layoutRows.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Do not call settings setters twice on page construction
https://bugs.webkit.org/show_bug.cgi?id=92157

Reviewed by Yong Li.

The WebPagePrivate init method sets some settings value that were
already set in didChangeSettings.
Also call didChangeSettings explicitly from init, before that we are
not calling it since the delegate is not set yet.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::init):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] svg/batik rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92162

Unreviewed.

* platform/qt-5.0/Skipped:
* platform/qt-5.0/svg/batik/text/smallFonts-expected.png: Removed.
* platform/qt-5.0/svg/batik/text/smallFonts-expected.txt: Removed.
* platform/qt-5.0/svg/batik/text/textAnchor-expected.png: Removed.
* platform/qt-5.0/svg/batik/text/textAnchor-expected.txt: Removed.
* platform/qt-5.0/svg/batik/text/textEffect-expected.png: Removed.
* platform/qt-5.0/svg/batik/text/textEffect-expected.txt: Removed.
* platform/qt-5.0/svg/batik/text/textEffect3-expected.png: Removed.
* platform/qt-5.0/svg/batik/text/textEffect3-expected.txt: Removed.
* platform/qt-5.0/svg/batik/text/textPosition-expected.txt: Removed.
* platform/qt-5.0/svg/batik/text/textPosition2-expected.png: Removed.
* platform/qt-5.0/svg/batik/text/textPosition2-expected.txt: Removed.
* platform/qt/svg/batik/filters/filterRegions-expected.png:
* platform/qt/svg/batik/filters/filterRegions-expected.txt:
* platform/qt/svg/batik/masking/maskRegions-expected.png:
* platform/qt/svg/batik/masking/maskRegions-expected.txt:
* platform/qt/svg/batik/paints/patternPreserveAspectRatioA-expected.png:
* platform/qt/svg/batik/paints/patternPreserveAspectRatioA-expected.txt:
* platform/qt/svg/batik/paints/patternRegionA-expected.png:
* platform/qt/svg/batik/paints/patternRegionA-expected.txt:
* platform/qt/svg/batik/paints/patternRegions-expected.png:
* platform/qt/svg/batik/paints/patternRegions-expected.txt:
* platform/qt/svg/batik/paints/patternRegions-positioned-objects-expected.png:
* platform/qt/svg/batik/paints/patternRegions-positioned-objects-expected.txt:
* platform/qt/svg/batik/text/longTextOnPath-expected.png:
* platform/qt/svg/batik/text/longTextOnPath-expected.txt:
* platform/qt/svg/batik/text/smallFonts-expected.png:
* platform/qt/svg/batik/text/smallFonts-expected.txt:
* platform/qt/svg/batik/text/textAnchor-expected.png:
* platform/qt/svg/batik/text/textAnchor-expected.txt:
* platform/qt/svg/batik/text/textAnchor2-expected.png:
* platform/qt/svg/batik/text/textAnchor2-expected.txt:
* platform/qt/svg/batik/text/textAnchor3-expected.png:
* platform/qt/svg/batik/text/textAnchor3-expected.txt:
* platform/qt/svg/batik/text/textDecoration-expected.png:
* platform/qt/svg/batik/text/textDecoration-expected.txt:
* platform/qt/svg/batik/text/textDecoration2-expected.png:
* platform/qt/svg/batik/text/textDecoration2-expected.txt:
* platform/qt/svg/batik/text/textEffect-expected.png:
* platform/qt/svg/batik/text/textEffect-expected.txt:
* platform/qt/svg/batik/text/textEffect2-expected.png:
* platform/qt/svg/batik/text/textEffect2-expected.txt:
* platform/qt/svg/batik/text/textEffect3-expected.png:
* platform/qt/svg/batik/text/textEffect3-expected.txt:
* platform/qt/svg/batik/text/textFeatures-expected.png:
* platform/qt/svg/batik/text/textFeatures-expected.txt:
* platform/qt/svg/batik/text/textGlyphOrientationHorizontal-expected.png:
* platform/qt/svg/batik/text/textGlyphOrientationHorizontal-expected.txt:
* platform/qt/svg/batik/text/textLayout2-expected.png:
* platform/qt/svg/batik/text/textLayout2-expected.txt:
* platform/qt/svg/batik/text/textLength-expected.png:
* platform/qt/svg/batik/text/textLength-expected.txt:
* platform/qt/svg/batik/text/textOnPath-expected.png:
* platform/qt/svg/batik/text/textOnPath-expected.txt:
* platform/qt/svg/batik/text/textOnPath2-expected.png:
* platform/qt/svg/batik/text/textOnPath2-expected.txt:
* platform/qt/svg/batik/text/textOnPath3-expected.png:
* platform/qt/svg/batik/text/textOnPath3-expected.txt:
* platform/qt/svg/batik/text/textPCDATA-expected.png:
* platform/qt/svg/batik/text/textPCDATA-expected.txt:
* platform/qt/svg/batik/text/textPosition-expected.png:
* platform/qt/svg/batik/text/textPosition-expected.txt:
* platform/qt/svg/batik/text/textPosition2-expected.png:
* platform/qt/svg/batik/text/textPosition2-expected.txt:
* platform/qt/svg/batik/text/textProperties-expected.png:
* platform/qt/svg/batik/text/textProperties-expected.txt:
* platform/qt/svg/batik/text/textProperties2-expected.png:
* platform/qt/svg/batik/text/textProperties2-expected.txt:
* platform/qt/svg/batik/text/verticalTextOnPath-expected.png:
* platform/qt/svg/batik/text/verticalTextOnPath-expected.txt:

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