Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Side by Side Diff: content/browser/accessibility/dump_accessibility_tree_browsertest.cc

Issue 2956053005: Keep track of fixed positioning in accessibility tree.
Patch Set: GetSimpleRelativeBounds, add failing test for fixed with transform Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <set> 5 #include <set>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 // Deny most empty values 233 // Deny most empty values
234 AddFilter(filters, "*=''", Filter::DENY); 234 AddFilter(filters, "*=''", Filter::DENY);
235 // After denying empty values, because we want to allow name='' 235 // After denying empty values, because we want to allow name=''
236 AddFilter(filters, "name=*", Filter::ALLOW_EMPTY); 236 AddFilter(filters, "name=*", Filter::ALLOW_EMPTY);
237 } 237 }
238 238
239 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCSSColor) { 239 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCSSColor) {
240 RunCSSTest(FILE_PATH_LITERAL("color.html")); 240 RunCSSTest(FILE_PATH_LITERAL("color.html"));
241 } 241 }
242 242
243 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
244 AccessibilityCSSFixedWithScrolling) {
245 RunCSSTest(FILE_PATH_LITERAL("fixed-with-scrolling.html"));
246 }
247
248 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
249 AccessibilityCSSFixedTransformedWithScrolling) {
250 RunCSSTest(FILE_PATH_LITERAL("fixed-transformed-with-scrolling.html"));
251 }
252
243 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCSSFontStyle) { 253 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCSSFontStyle) {
244 RunCSSTest(FILE_PATH_LITERAL("font-style.html")); 254 RunCSSTest(FILE_PATH_LITERAL("font-style.html"));
245 } 255 }
246 256
247 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCSSFontFamily) { 257 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCSSFontFamily) {
248 RunCSSTest(FILE_PATH_LITERAL("font-family.html")); 258 RunCSSTest(FILE_PATH_LITERAL("font-family.html"));
249 } 259 }
250 260
251 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 261 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
252 AccessibilityCSSInlinePositionRelative) { 262 AccessibilityCSSInlinePositionRelative) {
(...skipping 1346 matching lines...) Expand 10 before | Expand all | Expand 10 after
1599 // crbug.com/281952 1609 // crbug.com/281952
1600 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) { 1610 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) {
1601 RunHtmlTest(FILE_PATH_LITERAL("video.html")); 1611 RunHtmlTest(FILE_PATH_LITERAL("video.html"));
1602 } 1612 }
1603 1613
1604 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { 1614 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) {
1605 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); 1615 RunHtmlTest(FILE_PATH_LITERAL("wbr.html"));
1606 } 1616 }
1607 1617
1608 } // namespace content 1618 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/accessibility/browser_accessibility_manager.cc ('k') | content/common/accessibility_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698