[Mac] Update text track menu
https://bugs.webkit.org/show_bug.cgi?id=117351

Reviewed by Darin Adler.

Source/WebCore: 

No new tests, existing tests updated.

* English.lproj/Localizable.strings: Update the menu title.

* page/CaptionUserPreferencesMac.mm: System language is no longer needed.

* platform/LocalizedStrings.cpp: Ditto.
* platform/LocalizedStrings.h:

LayoutTests: 

* media/video-controls-captions-trackmenu-localized.html:
* media/video-controls-captions-trackmenu-sorted.html:
* platform/mac-lion/media/video-controls-captions-trackmenu-localized-expected.txt:
* platform/mac/media/video-controls-captions-trackmenu-localized-expected.txt:
* platform/mac/media/video-controls-captions-trackmenu-sorted-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Split SelectorDataList::executeSingleTagNameSelectorData() into the 4 kinds of traversal
https://bugs.webkit.org/show_bug.cgi?id=117486

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-06-11
Reviewed by Ryosuke Niwa.

Since this is pretty common, split the name selector to have the constant conditions
outside the traversal.

* dom/SelectorQuery.cpp:
(WebCore::SelectorDataList::executeSingleTagNameSelectorData):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151470 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Use HTMLElementFactory to create equivalent elements in WebVTTElement
https://bugs.webkit.org/show_bug.cgi?id=117423

Reviewed by Eric Carlson.

Source/WebCore: 

Merge https://chromium.googlesource.com/chromium/blink/+/3d60bec8e5dabfe877c482797d9ef430bfde31

This change forces the calls through the factory so that we create appropriate sub-classes based upon the passed tag name,
rather than just creating a concrete HTMLElement class with an inappropriate tag name.

Test: media/track/getCueAsHTMLCrash.html

* html/track/WebVTTElement.cpp:
(WebCore::WebVTTElement::createEquivalentHTMLElement):

LayoutTests: 

* media/track/getCueAsHTMLCrash-expected.txt: Added.
* media/track/getCueAsHTMLCrash.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Removed old broken code coverage tool.
https://bugs.webkit.org/show_bug.cgi?id=117520

Reviewed by Sam Weinig.

* CodeCoverage: Removed.
* CodeCoverage/README: Removed.
* CodeCoverage/amber.png: Removed.
* CodeCoverage/cov.py: Removed.
* CodeCoverage/emerald.png: Removed.
* CodeCoverage/gcov.css: Removed.
* CodeCoverage/glass.png: Removed.
* CodeCoverage/regenerate-coverage-display: Removed.
* CodeCoverage/ruby.png: Removed.
* CodeCoverage/run-generate-coverage-data: Removed.
* CodeCoverage/snow.png: Removed.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION: (r149232) videos on disney.com are initially scrambled on load
https://bugs.webkit.org/show_bug.cgi?id=117517

Reviewed by Eric Carlson.

Set a background color on the AVPlayerLayer to avoid corruption when no
frames are available to display.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::createVideoLayer):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151473 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. WinTools makefile fix.

* win/tools32/WinTools.make:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Regions] Regions don't create a stacking context for their contents
https://bugs.webkit.org/show_bug.cgi?id=114268

Reviewed by Alexandru Chiculita.

Source/WebCore:

Paint the region content (from RenderFlowThread) during the background phase instead of the
foreground phase.

Let's assume there is a region and a sibling element. The sibling partially overlaps the
region and appears after the region in DOM order.

Before this patch, we would paint in this order:
1) Region background
2) Sibling background
3) Region content
4) Sibling content

As a result, the sibling background would incorrectly paint between the region
background and the region content. Instead, the sibling background should paint over the
region background and the region content.

After this patch, we paint in this order:
1) Region background
2) Region content
3) Sibling background
4) Sibling content

Test: fast/regions/region-sibling-paint-order.html

* rendering/RenderRegion.cpp:
(WebCore::RenderRegion::paintObject):

LayoutTests:

* fast/regions/region-sibling-paint-order-expected.html: Added.
* fast/regions/region-sibling-paint-order.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Have to invalidate the mute button when changing the volume
https://bugs.webkit.org/show_bug.cgi?id=117464

Reviewed by Darin Adler.

Merge https://chromium.googlesource.com/chromium/blink/+/c4c685c82908449526fd8c251cc551e729ebed08
but without a test since the test doesn't work in WebKit.

* html/shadow/MediaControls.cpp:
(WebCore::MediaControls::changedVolume):


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