⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 272639 in webkit


Ignore:
Timestamp:
Feb 10, 2021, 12:53:20 AM (6 years ago)
Author:
Lauro Moura
Message:

[ATK] Support focusable-inside-hidden test
​https://bugs.webkit.org/show_bug.cgi?id=221646

Reviewed by Chris Fleizach.

ATK uses a different field for the description. (See r201216 and
r201072).

  • accessibility/focusable-inside-hidden.html: Add check for ATK.
  • platform/glib/accessibility/focusable-inside-hidden-expected.txt: Added.
Location:
trunk/LayoutTests
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r272634 r272639  
     12021-02-10  Lauro Moura  <lmoura@igalia.com>
     2
     3        [ATK] Support focusable-inside-hidden test
     4        https://bugs.webkit.org/show_bug.cgi?id=221646
     5
     6        Reviewed by Chris Fleizach.
     7
     8        ATK uses a different field for the description. (See r201216 and
     9        r201072).
     10
     11        * accessibility/focusable-inside-hidden.html: Add check for ATK.
     12        * platform/glib/accessibility/focusable-inside-hidden-expected.txt: Added.
     13
    1142021-02-09  Lauro Moura  <lmoura@igalia.com>
    215
  • trunk/LayoutTests/accessibility/focusable-inside-hidden.html

    r272390 r272639  
    3131       setTimeout(function() {
    3232           button = accessibilityController.focusedElement;
    33            shouldBe("button.description", "'AXDescription: BUTTON'");
     33           if (accessibilityController.platformName == "atk") {
     34               shouldBe("button.title", "'AXTitle: BUTTON'");
     35           } else {
     36               shouldBe("button.description", "'AXDescription: BUTTON'");
     37           }
    3438
    3539           button = accessibilityController.accessibleElementById("button");
    36            shouldBe("button.description", "'AXDescription: BUTTON'");
     40
     41           if (accessibilityController.platformName == "atk") {
     42               shouldBe("button.title", "'AXTitle: BUTTON'");
     43           } else {
     44               shouldBe("button.description", "'AXDescription: BUTTON'");
     45           }
    3746
    3847           // Lose focus and this element should be hidden again.
Note: See TracChangeset for help on using the changeset viewer.