Commit 4e29e672 authored by andersca@apple.com's avatar andersca@apple.com

As per Eric Carlson's request, revert r47110 (and the follow-up fixes r47113...

As per Eric Carlson's request, revert r47110 (and the follow-up fixes r47113 and r47117) since it causes ~3000 Qt tests to fail.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47140 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8a415c29
......@@ -33,34 +33,6 @@
* platform/mac-snowleopard/Skipped:
* platform/mac/accessibility/string-range-contains-listmarker.html:
2009-08-12 Eric Carlson <eric.carlson@apple.com>
Reviewed by Oliver Hunt.
<video> and <audio> controller should be accessible
https://bugs.webkit.org/show_bug.cgi?id=28081
* accessibility/media-element.html: Added.
* platform/mac-leopard/accessibility/media-element-expected.txt:
* platform/mac-leopard/media/controls-strict-expected.txt:
* platform/mac/accessibility/media-element-expected.txt:
Added.
* platform/mac-leopard/media/controls-after-reload-expected.txt:
* platform/mac-leopard/media/controls-styling-expected.txt:
* platform/mac-leopard/media/video-empty-source-expected.txt:
* platform/mac-leopard/media/video-zoom-controls-expected.txt:
* media/video-controls-visible-audio-only.html:
* platform/mac-leopard/media/audio-controls-rendering-expected.txt:
* platform/mac/media/audio-controls-rendering-expected.txt:
* platform/mac/media/controls-after-reload-expected.txt:
* platform/mac/media/controls-styling-expected.txt:
* platform/mac/media/video-controls-rendering-expected.txt:
* platform/mac/media/video-display-toggle-expected.txt:
* platform/mac/media/video-empty-source-expected.txt:
* platform/mac/media/video-zoom-controls-expected.txt:
Update for controller element tab order change.
2009-08-12 Brady Eidson <beidson@apple.com>
(no review) Disabling a failing test.
......
<html>
<head>
<link rel="stylesheet" href="../fast/js/resources/js-test-style.css">
<script src="../fast/js/resources/js-test-pre.js"></script>
<script>
var vidAXObject;
var indentLevel = 0;
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
}
function indent(count)
{
var spaces = " ";
return spaces.substr(0, count);
}
function dumpObject(axObject)
{
debug(indent(indentLevel) + "description: " + axObject.description);
debug(indent(indentLevel) + "role: " + axObject.role);
debug("<br>");
}
function dumpChildren(axObject)
{
var count = axObject.childrenCount
if (!count)
return;
indentLevel += 4;
for (var ndx = 0; ndx < count; ndx++) {
var childAXObject = axObject.childAtIndex(ndx);
dumpObject(childAXObject);
if (childAXObject.childrenCount) {
// don't bother dumping static text children
if ( childAXObject.role != "AXRole: AXStaticText")
dumpChildren(childAXObject);
}
}
indentLevel -= 4;
}
function dumpVideoAX()
{
debug("<br>+++++++++++++++++++++++++++++++++++<br>");
debug("State at '" + event.type + "' event:<br>");
if (!window.accessibilityController)
return;
var body = document.getElementsByTagName("body")[0];
body.focus();
var vidAXObject = accessibilityController.focusedElement.childAtIndex(0);
dumpChildren(vidAXObject);
if (window.layoutTestController && event.type == 'load')
layoutTestController.notifyDone();
}
</script>
</head>
<body>
<video id=vid src="../media/content/test.mp4" controls onloadstart="dumpVideoAX()" onload="dumpVideoAX()">
</video>
<div>Dump &lt;video&gt; element controller accessibility object tree at 'loadstart' and 'load' events.</div>
<div id=console></div>
</body>
</html>
......@@ -33,7 +33,7 @@
return;
// start playback
eventSender.mouseMoveTo(left + 8, bottom - 8);
eventSender.mouseMoveTo(left + 16 + 8, bottom - 8);
eventSender.mouseDown();
eventSender.mouseUp();
testcondition("!video.paused");
......
Dump <video> element controller accessibility object tree at 'loadstart' and 'load' events.
+++++++++++++++++++++++++++++++++++
State at 'loadstart' event:
description: AXDescription: video element controller
role: AXRole: AXToolbar
description: AXDescription: play
role: AXRole: AXButton
description: AXDescription:
role: AXRole: AXSlider
description: AXDescription:
role: AXRole: AXValueIndicator
description: AXDescription: fast reverse
role: AXRole: AXButton
description: AXDescription: fast forward
role: AXRole: AXButton
description: AXDescription: mute
role: AXRole: AXButton
+++++++++++++++++++++++++++++++++++
State at 'load' event:
description: AXDescription: video element controller
role: AXRole: AXToolbar
description: AXDescription: play
role: AXRole: AXButton
description: AXDescription:
role: AXRole: AXSlider
description: AXDescription:
role: AXRole: AXValueIndicator
description: AXDescription: fast reverse
role: AXRole: AXButton
description: AXDescription: fast forward
role: AXRole: AXButton
description: AXDescription: mute
role: AXRole: AXButton
......@@ -19,10 +19,10 @@ layer at (8,42) size 200x16
layer at (8,42) size 200x16
RenderFlexibleBox (positioned) {DIV} at (0,0) size 200x16
RenderButton {INPUT} at (0,0) size 16x16
RenderFlexibleBox {DIV} at (16,0) size 136x16
RenderButton {INPUT} at (16,0) size 16x16
RenderFlexibleBox {DIV} at (32,0) size 136x16
RenderSlider {INPUT} at (0,0) size 136x16
RenderBlock {DIV} at (2,1) size 13x14
RenderButton {INPUT} at (152,0) size 16x16
RenderButton {INPUT} at (168,0) size 16x16
RenderButton {INPUT} at (184,0) size 16x16
layer at (8,76) size 320x16
......@@ -30,10 +30,10 @@ layer at (8,76) size 320x16
layer at (8,76) size 320x16
RenderFlexibleBox (positioned) {DIV} at (0,0) size 320x16
RenderButton {INPUT} at (0,0) size 16x16
RenderFlexibleBox {DIV} at (16,0) size 256x16
RenderButton {INPUT} at (16,0) size 16x16
RenderFlexibleBox {DIV} at (32,0) size 256x16
RenderSlider {INPUT} at (0,0) size 256x16
RenderBlock {DIV} at (2,1) size 13x14
RenderButton {INPUT} at (272,0) size 16x16
RenderButton {INPUT} at (288,0) size 16x16
RenderButton {INPUT} at (304,0) size 16x16
layer at (8,110) size 320x100
......@@ -43,9 +43,9 @@ layer at (8,110) size 320x100
layer at (8,194) size 320x16
RenderFlexibleBox (positioned) {DIV} at (0,84) size 320x16
RenderButton {INPUT} at (0,0) size 16x16
RenderFlexibleBox {DIV} at (16,0) size 256x16
RenderButton {INPUT} at (16,0) size 16x16
RenderFlexibleBox {DIV} at (32,0) size 256x16
RenderSlider {INPUT} at (0,0) size 256x16
RenderBlock {DIV} at (2,1) size 13x14
RenderButton {INPUT} at (272,0) size 16x16
RenderButton {INPUT} at (288,0) size 16x16
RenderButton {INPUT} at (304,0) size 16x16
......@@ -17,9 +17,9 @@ layer at (8,42) size 320x240
layer at (8,266) size 320x16
RenderFlexibleBox (positioned) {DIV} at (0,224) size 320x16
RenderButton {INPUT} at (0,0) size 16x16
RenderFlexibleBox {DIV} at (16,0) size 256x16
RenderButton {INPUT} at (16,0) size 16x16
RenderFlexibleBox {DIV} at (32,0) size 256x16
RenderSlider {INPUT} at (0,0) size 256x16
RenderBlock {DIV} at (2,1) size 13x14
RenderButton {INPUT} at (272,0) size 16x16
RenderButton {INPUT} at (288,0) size 16x16
RenderButton {INPUT} at (304,0) size 16x16
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x302
RenderBlock {HTML} at (0,0) size 800x302
RenderBody {BODY} at (8,16) size 784x278
RenderBlock {P} at (0,0) size 784x18
RenderText {#text} at (0,0) size 226x18
text run at (0,0) width 226: "Drawing the controls in strict mode."
RenderBlock (anonymous) at (0,34) size 784x244
RenderText {#text} at (0,0) size 0x0
RenderText {#text} at (0,0) size 0x0
RenderText {#text} at (0,0) size 0x0
layer at (8,50) size 320x240
RenderVideo {VIDEO} at (0,0) size 320x240
layer at (8,50) size 320x240
RenderBlock (relative positioned) {DIV} at (0,0) size 320x240
layer at (8,274) size 320x16
RenderFlexibleBox (positioned) {DIV} at (0,224) size 320x16
RenderButton {INPUT} at (0,0) size 16x16
RenderFlexibleBox {DIV} at (16,0) size 256x16
RenderSlider {INPUT} at (0,0) size 256x16
RenderBlock {DIV} at (2,1) size 13x14
RenderButton {INPUT} at (272,0) size 16x16
RenderButton {INPUT} at (288,0) size 16x16
RenderButton {INPUT} at (304,0) size 16x16
......@@ -21,10 +21,10 @@ layer at (18,42) size 320x240
layer at (18,266) size 320x16
RenderFlexibleBox (positioned) {DIV} at (0,224) size 320x16
RenderButton {INPUT} at (0,0) size 16x16
RenderFlexibleBox {DIV} at (16,0) size 256x16
RenderButton {INPUT} at (16,0) size 16x16
RenderFlexibleBox {DIV} at (32,0) size 256x16
RenderSlider {INPUT} at (0,0) size 256x16
RenderBlock {DIV} at (2,1) size 13x14
RenderButton {INPUT} at (272,0) size 16x16
RenderButton {INPUT} at (288,0) size 16x16
RenderButton {INPUT} at (304,0) size 16x16
layer at (8,282) size 320x240
......@@ -32,9 +32,9 @@ layer at (8,282) size 320x240
layer at (8,506) size 320x16
RenderFlexibleBox (positioned) {DIV} at (0,224) size 320x16
RenderButton {INPUT} at (0,0) size 16x16
RenderFlexibleBox {DIV} at (16,0) size 256x16
RenderButton {INPUT} at (16,0) size 16x16
RenderFlexibleBox {DIV} at (32,0) size 256x16
RenderSlider {INPUT} at (0,0) size 256x16
RenderBlock {DIV} at (2,1) size 13x14
RenderButton {INPUT} at (272,0) size 16x16
RenderButton {INPUT} at (288,0) size 16x16
RenderButton {INPUT} at (304,0) size 16x16
......@@ -17,9 +17,9 @@ layer at (9,43) size 300x150
layer at (9,177) size 300x16
RenderFlexibleBox (positioned) {DIV} at (0,134) size 300x16
RenderButton {INPUT} at (0,0) size 16x16
RenderFlexibleBox {DIV} at (16,0) size 236x16
RenderButton {INPUT} at (16,0) size 16x16
RenderFlexibleBox {DIV} at (32,0) size 236x16
RenderSlider {INPUT} at (0,0) size 236x16
RenderBlock {DIV} at (2,1) size 13x14
RenderButton {INPUT} at (252,0) size 16x16
RenderButton {INPUT} at (268,0) size 16x16
RenderButton {INPUT} at (284,0) size 16x16
......@@ -13,10 +13,10 @@ layer at (57,85) size 240x180
layer at (57,241) size 240x24
RenderFlexibleBox (positioned) {DIV} at (0,156) size 240x24
RenderButton {INPUT} at (0,0) size 24x24
RenderFlexibleBox {DIV} at (24,0) size 144x24
RenderButton {INPUT} at (24,0) size 24x24
RenderFlexibleBox {DIV} at (48,0) size 144x24
RenderSlider {INPUT} at (0,0) size 144x24
RenderBlock {DIV} at (3,1) size 19x21
RenderButton {INPUT} at (168,0) size 24x24
RenderButton {INPUT} at (192,0) size 24x24
RenderButton {INPUT} at (216,0) size 24x24
layer at (57,310) size 240x180
......@@ -26,9 +26,9 @@ layer at (57,310) size 240x180
layer at (57,466) size 240x24
RenderFlexibleBox (positioned) {DIV} at (0,156) size 240x24
RenderButton {INPUT} at (0,0) size 24x24
RenderFlexibleBox {DIV} at (24,0) size 144x24
RenderButton {INPUT} at (24,0) size 24x24
RenderFlexibleBox {DIV} at (48,0) size 144x24
RenderSlider {INPUT} at (0,0) size 144x24
RenderBlock {DIV} at (3,1) size 19x21
RenderButton {INPUT} at (168,0) size 24x24
RenderButton {INPUT} at (192,0) size 24x24
RenderButton {INPUT} at (216,0) size 24x24
Dump <video> element controller accessibility object tree at 'loadstart' and 'load' events.
+++++++++++++++++++++++++++++++++++
State at 'loadstart' event:
description: AXDescription: video element controller
role: AXRole: AXToolbar
description: AXDescription: back 30 seconds
role: AXRole: AXButton
description: AXDescription: play
role: AXRole: AXButton
description: AXDescription: status
role: AXRole: AXStaticText
description: AXDescription: mute
role: AXRole: AXButton
+++++++++++++++++++++++++++++++++++
State at 'load' event:
description: AXDescription: video element controller
role: AXRole: AXToolbar
description: AXDescription: back 30 seconds
role: AXRole: AXButton
description: AXDescription: play
role: AXRole: AXButton
description: AXDescription: elapsed time
role: AXRole: AXStaticText
description: AXDescription:
role: AXRole: AXSlider
description: AXDescription:
role: AXRole: AXValueIndicator
description: AXDescription: remaining time
role: AXRole: AXStaticText
description: AXDescription: mute
role: AXRole: AXButton
......@@ -19,21 +19,21 @@ layer at (8,42) size 200x25
layer at (8,42) size 200x25
RenderFlexibleBox (positioned) {DIV} at (0,0) size 200x25
RenderButton {INPUT} at (6,3) size 18x18
RenderButton {INPUT} at (177,5) size 15x14
RenderButton {INPUT} at (32,4) size 16x16
RenderFlexibleBox {DIV} at (49,1) size 126x22
RenderSlider {INPUT} at (0,5) size 126x13
RenderBlock {DIV} at (0,1) size 12x10
RenderButton {INPUT} at (177,5) size 15x14
layer at (8,85) size 320x25
RenderBlock (relative positioned) {DIV} at (0,0) size 320x25
layer at (8,85) size 320x25
RenderFlexibleBox (positioned) {DIV} at (0,0) size 320x25
RenderButton {INPUT} at (6,3) size 18x18
RenderButton {INPUT} at (297,5) size 15x14
RenderButton {INPUT} at (32,4) size 16x16
RenderFlexibleBox {DIV} at (49,5) size 246x15
RenderSlider {INPUT} at (45,2) size 156x13
RenderBlock {DIV} at (0,1) size 12x10
RenderButton {INPUT} at (297,5) size 15x14
layer at (57,92) size 45x11 scrollHeight 13
RenderFlexibleBox {DIV} at (0,2) size 45x11 [color=#FFFFFF]
RenderBlock (anonymous) at (9,0) size 26x11
......@@ -51,11 +51,11 @@ layer at (8,128) size 320x100
layer at (8,203) size 320x25
RenderFlexibleBox (positioned) {DIV} at (0,75) size 320x25
RenderButton {INPUT} at (6,3) size 18x18
RenderButton {INPUT} at (297,5) size 15x14
RenderButton {INPUT} at (32,4) size 16x16
RenderFlexibleBox {DIV} at (49,5) size 246x15
RenderSlider {INPUT} at (45,2) size 156x13
RenderBlock {DIV} at (0,1) size 12x10
RenderButton {INPUT} at (297,5) size 15x14
layer at (57,210) size 45x11 scrollHeight 13
RenderFlexibleBox {DIV} at (0,2) size 45x11 [color=#FFFFFF]
RenderBlock (anonymous) at (9,0) size 26x11
......
......@@ -17,11 +17,11 @@ layer at (8,42) size 320x240
layer at (8,257) size 320x25
RenderFlexibleBox (positioned) {DIV} at (0,215) size 320x25
RenderButton {INPUT} at (6,3) size 18x18
RenderButton {INPUT} at (297,5) size 15x14
RenderButton {INPUT} at (32,4) size 16x16
RenderFlexibleBox {DIV} at (49,5) size 246x15
RenderSlider {INPUT} at (45,2) size 156x13
RenderBlock {DIV} at (0,1) size 12x10
RenderButton {INPUT} at (297,5) size 15x14
layer at (57,264) size 45x11 scrollHeight 13
RenderFlexibleBox {DIV} at (0,2) size 45x11 [color=#FFFFFF]
RenderBlock (anonymous) at (9,0) size 26x11
......
......@@ -21,11 +21,11 @@ layer at (18,42) size 320x240
layer at (18,257) size 320x25
RenderFlexibleBox (positioned) {DIV} at (0,215) size 320x25
RenderButton {INPUT} at (6,3) size 18x18
RenderButton {INPUT} at (297,5) size 15x14
RenderButton {INPUT} at (32,4) size 16x16
RenderFlexibleBox {DIV} at (49,5) size 246x15
RenderSlider {INPUT} at (45,2) size 156x13
RenderBlock {DIV} at (0,1) size 12x10
RenderButton {INPUT} at (297,5) size 15x14
layer at (67,264) size 45x11 scrollHeight 13
RenderFlexibleBox {DIV} at (0,2) size 45x11 [color=#FFFFFF]
RenderBlock (anonymous) at (9,0) size 26x11
......@@ -41,11 +41,11 @@ layer at (8,282) size 320x240
layer at (8,497) size 320x25
RenderFlexibleBox (positioned) {DIV} at (0,215) size 320x25
RenderButton {INPUT} at (6,3) size 18x18
RenderButton {INPUT} at (297,5) size 15x14
RenderButton {INPUT} at (32,4) size 16x16
RenderFlexibleBox {DIV} at (49,5) size 246x15
RenderSlider {INPUT} at (45,2) size 156x13
RenderBlock {DIV} at (0,1) size 12x10
RenderButton {INPUT} at (297,5) size 15x14
layer at (57,504) size 45x11 scrollHeight 13
RenderFlexibleBox {DIV} at (0,2) size 45x11 [color=#FFFFFF]
RenderBlock (anonymous) at (9,0) size 26x11
......
......@@ -20,10 +20,10 @@ layer at (8,42) size 320x240
layer at (8,266) size 320x16
RenderFlexibleBox (positioned) {DIV} at (0,224) size 320x16
RenderButton {INPUT} at (0,0) size 16x16
RenderFlexibleBox {DIV} at (16,0) size 256x16
RenderButton {INPUT} at (16,0) size 16x16
RenderFlexibleBox {DIV} at (32,0) size 256x16
RenderSlider {INPUT} at (0,0) size 256x16
RenderBlock {DIV} at (2,1) size 13x14
RenderButton {INPUT} at (272,0) size 16x16
RenderButton {INPUT} at (288,0) size 16x16
RenderButton {INPUT} at (304,0) size 16x16
layer at (8,282) size 320x240
......@@ -31,10 +31,10 @@ layer at (8,282) size 320x240
layer at (8,506) size 320x16
RenderFlexibleBox (positioned) {DIV} at (0,224) size 320x16
RenderButton {INPUT} at (0,0) size 16x16
RenderFlexibleBox {DIV} at (16,0) size 256x16
RenderButton {INPUT} at (16,0) size 16x16
RenderFlexibleBox {DIV} at (32,0) size 256x16
RenderSlider {INPUT} at (0,0) size 256x16
RenderBlock {DIV} at (2,1) size 13x14
RenderButton {INPUT} at (272,0) size 16x16
RenderButton {INPUT} at (288,0) size 16x16
RenderButton {INPUT} at (304,0) size 16x16
layer at (8,522) size 320x240
......@@ -44,9 +44,9 @@ layer at (8,522) size 320x240
layer at (8,746) size 320x16
RenderFlexibleBox (positioned) {DIV} at (0,224) size 320x16
RenderButton {INPUT} at (0,0) size 16x16
RenderFlexibleBox {DIV} at (16,0) size 256x16
RenderButton {INPUT} at (16,0) size 16x16
RenderFlexibleBox {DIV} at (32,0) size 256x16
RenderSlider {INPUT} at (0,0) size 256x16
RenderBlock {DIV} at (2,1) size 13x14
RenderButton {INPUT} at (272,0) size 16x16
RenderButton {INPUT} at (288,0) size 16x16
RenderButton {INPUT} at (304,0) size 16x16
......@@ -16,9 +16,9 @@ layer at (8,26) size 320x240
layer at (8,250) size 320x16
RenderFlexibleBox (positioned) {DIV} at (0,224) size 320x16
RenderButton {INPUT} at (0,0) size 16x16
RenderFlexibleBox {DIV} at (16,0) size 256x16
RenderButton {INPUT} at (16,0) size 16x16
RenderFlexibleBox {DIV} at (32,0) size 256x16
RenderSlider {INPUT} at (0,0) size 256x16
RenderBlock {DIV} at (2,1) size 13x14
RenderButton {INPUT} at (272,0) size 16x16
RenderButton {INPUT} at (288,0) size 16x16
RenderButton {INPUT} at (304,0) size 16x16
......@@ -17,5 +17,5 @@ layer at (9,43) size 300x150
layer at (9,168) size 300x25
RenderFlexibleBox (positioned) {DIV} at (0,125) size 300x25
RenderButton {INPUT} at (6,3) size 18x18
RenderButton {INPUT} at (32,4) size 16x16
RenderButton {INPUT} at (277,5) size 15x14
RenderButton {INPUT} at (32,4) size 16x16
......@@ -13,11 +13,11 @@ layer at (57,85) size 240x180
layer at (57,228) size 240x37
RenderFlexibleBox (positioned) {DIV} at (0,143) size 240x37
RenderButton {INPUT} at (9,4) size 27x27
RenderButton {INPUT} at (206,8) size 22x21
RenderButton {INPUT} at (48,6) size 24x24
RenderFlexibleBox {DIV} at (73,1) size 130x34
RenderSlider {INPUT} at (0,9) size 130x19
RenderBlock {DIV} at (0,2) size 18x15
RenderButton {INPUT} at (206,8) size 22x21
layer at (57,310) size 240x180
RenderVideo {VIDEO} at (45,298) size 240x180
layer at (57,310) size 240x180
......@@ -25,8 +25,8 @@ layer at (57,310) size 240x180
layer at (57,453) size 240x37
RenderFlexibleBox (positioned) {DIV} at (0,143) size 240x37
RenderButton {INPUT} at (9,4) size 27x27
RenderButton {INPUT} at (206,8) size 22x21
RenderButton {INPUT} at (48,6) size 24x24
RenderFlexibleBox {DIV} at (73,1) size 130x34
RenderSlider {INPUT} at (0,9) size 130x19
RenderBlock {DIV} at (0,2) size 18x15
RenderButton {INPUT} at (206,8) size 22x21
......@@ -181,13 +181,6 @@
* platform/qt/FileSystemQt.cpp:
(WebCore::pathByAppendingComponent):
2009-08-12 Eric Carlson <eric.carlson@apple.com>
Tiger build fix.
* accessibility/mac/AccessibilityObjectWrapper.mm:
Define NSAccessibilityTimelineSubrole for Tiger.
2009-08-12 Dirk Schulze <krit@webkit.org>
Reviewed by Ariya Hidayat.
......@@ -198,93 +191,6 @@
* platform/graphics/filters/FEColorMatrix.cpp:
(WebCore::FEColorMatrix::apply):
2009-08-12 Eric Carlson <eric.carlson@apple.com>
Reviewed by Oliver Hunt.
<video> and <audio> controller should be accessible
https://bugs.webkit.org/show_bug.cgi?id=28081
Test: accessibility/media-element.html
* GNUmakefile.am:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* WebCoreSources.bkl:
Add AccessibilityMediaControls.cpp/.h
* accessibility/AXObjectCache.cpp:
* accessibility/AXObjectCache.h:
(WebCore::AXObjectCache::getOrCreate):
Create AccessibilityMediaControl. Update Copyright
* accessibility/AccessibilityMediaControls.cpp:
* accessibility/AccessibilityMediaControls.h:
Added.
* accessibility/AccessibilityObject.cpp:
* accessibility/AccessibilityObject.h:
Add isMediaTimeline. Update Copyright.
* accessibility/AccessibilitySlider.h:
Make constructor protected instead of private so AccessibilityMediaTimeline can
call it.
* accessibility/mac/AccessibilityObjectWrapper.mm:
(-[AccessibilityObjectWrapper accessibilityAttributeNames]):
Add NSAccessibilityValueDescriptionAttribute to range attributes.
(-[AccessibilityObjectWrapper subrole]):
Return NSAccessibilityTimelineSubrole for AccessibilityMediaTimeline.
* dom/Node.h:
add isMediaControlElement.
* page/mac/WebCoreViewFactory.h:
* platform/LocalizedStrings.h:
* platform/mac/LocalizedStringsMac.mm:
(WebCore::localizedMediaControlElementString):
(WebCore::localizedMediaControlElementHelpText):
(WebCore::localizedMediaTimeDescription):
New, return localized media controller strings.
* rendering/MediaControlElements.cpp:
(WebCore::MediaControlElement::MediaControlElement):
Initialize m_displayType.
(WebCore::MediaControlElement::MediaControlElement):
(WebCore::MediaControlStatusDisplayElement::MediaControlStatusDisplayElement):
Fix style.