| Index: third_party/WebKit/LayoutTests/accessibility/name-calc-img.html
|
| diff --git a/third_party/WebKit/LayoutTests/accessibility/name-calc-img.html b/third_party/WebKit/LayoutTests/accessibility/name-calc-img.html
|
| index d5467d158b175415a234d719cf785a87819e840a..41e23cabeb3003544cb92bf50eb6323d9b76ea39 100644
|
| --- a/third_party/WebKit/LayoutTests/accessibility/name-calc-img.html
|
| +++ b/third_party/WebKit/LayoutTests/accessibility/name-calc-img.html
|
| @@ -68,6 +68,19 @@ test(function(t) {
|
| }, "img element with title and alt");
|
| </script>
|
|
|
| +<div class="container">
|
| + <svg id="svg1">
|
| + <title>svg1-title</title>
|
| + </svg>
|
| +</div>
|
| +
|
| +<script>
|
| +test(function(t) {
|
| + var axSvg1 = accessibilityController.accessibleElementById("svg1");
|
| + assert_equals(axSvg1.name, "svg1-title");
|
| +}, "svg element with title");
|
| +</script>
|
| +
|
| <script>
|
| if (window.testRunner)
|
| document.body.className = "hideAllContainers";
|
|
|