| 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 |
| 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 Loading... |
| 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 |
| OLD | NEW |