| OLD | NEW |
| 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 Loading... |
| 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 |
| 243 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCSSFontStyle) { | 248 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCSSFontStyle) { |
| 244 RunCSSTest(FILE_PATH_LITERAL("font-style.html")); | 249 RunCSSTest(FILE_PATH_LITERAL("font-style.html")); |
| 245 } | 250 } |
| 246 | 251 |
| 247 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCSSFontFamily) { | 252 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCSSFontFamily) { |
| 248 RunCSSTest(FILE_PATH_LITERAL("font-family.html")); | 253 RunCSSTest(FILE_PATH_LITERAL("font-family.html")); |
| 249 } | 254 } |
| 250 | 255 |
| 256 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 257 AccessibilityCSSInlinePositionRelative) { |
| 258 RunCSSTest(FILE_PATH_LITERAL("inline-position-relative.html")); |
| 259 } |
| 260 |
| 251 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCSSLanguage) { | 261 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCSSLanguage) { |
| 252 RunCSSTest(FILE_PATH_LITERAL("language.html")); | 262 RunCSSTest(FILE_PATH_LITERAL("language.html")); |
| 253 } | 263 } |
| 254 | 264 |
| 255 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityA) { | 265 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityA) { |
| 256 RunHtmlTest(FILE_PATH_LITERAL("a.html")); | 266 RunHtmlTest(FILE_PATH_LITERAL("a.html")); |
| 257 } | 267 } |
| 258 | 268 |
| 259 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAbbr) { | 269 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAbbr) { |
| 260 RunHtmlTest(FILE_PATH_LITERAL("abbr.html")); | 270 RunHtmlTest(FILE_PATH_LITERAL("abbr.html")); |
| (...skipping 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1585 // crbug.com/281952 | 1595 // crbug.com/281952 |
| 1586 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) { | 1596 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) { |
| 1587 RunHtmlTest(FILE_PATH_LITERAL("video.html")); | 1597 RunHtmlTest(FILE_PATH_LITERAL("video.html")); |
| 1588 } | 1598 } |
| 1589 | 1599 |
| 1590 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { | 1600 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { |
| 1591 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); | 1601 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); |
| 1592 } | 1602 } |
| 1593 | 1603 |
| 1594 } // namespace content | 1604 } // namespace content |
| OLD | NEW |