| Index: third_party/WebKit/LayoutTests/accessibility/name-calc-svg.html
|
| diff --git a/third_party/WebKit/LayoutTests/accessibility/name-calc-presentational.html b/third_party/WebKit/LayoutTests/accessibility/name-calc-svg.html
|
| similarity index 52%
|
| copy from third_party/WebKit/LayoutTests/accessibility/name-calc-presentational.html
|
| copy to third_party/WebKit/LayoutTests/accessibility/name-calc-svg.html
|
| index 1fbcb9ed3e70b3fdc897c90e1fd08399b1a41b53..b47169acc7462b9ed3eeb3e93c204a397dc019b1 100644
|
| --- a/third_party/WebKit/LayoutTests/accessibility/name-calc-presentational.html
|
| +++ b/third_party/WebKit/LayoutTests/accessibility/name-calc-svg.html
|
| @@ -9,18 +9,17 @@
|
| </style>
|
|
|
| <div class="container">
|
| - <div tabIndex=0 role="link" id="link1">
|
| - I
|
| - <img src="hidden.jpg" alt="do not" role="presentation" />
|
| - like ice cream.
|
| - </div>
|
| + <svg id="svg1">
|
| + <title>svg1-title</title>
|
| + </svg>
|
| </div>
|
|
|
| <script>
|
| test(function(t) {
|
| - var axLink1 = accessibilityController.accessibleElementById("link1");
|
| - assert_equals(axLink1.name, "I like ice cream.");
|
| -}, "Presentational element ignored in name calculation..");
|
| + var axSvg1 = accessibilityController.accessibleElementById("svg1");
|
| + assert_equals(axSvg1.name, "svg1-title");
|
| + assert_equals(axSvg1.nameFrom, "relatedElement");
|
| +}, "SVG element with title element");
|
| </script>
|
|
|
| <script>
|
|
|