| Index: third_party/WebKit/LayoutTests/accessibility/css-styles.html
|
| diff --git a/third_party/WebKit/LayoutTests/accessibility/css-styles.html b/third_party/WebKit/LayoutTests/accessibility/css-styles.html
|
| index 2c73453c233d7e23d0a7175e54ab7efabf52acdb..2c66b05b9ccd4c54fef47b346d2de2461e215c49 100644
|
| --- a/third_party/WebKit/LayoutTests/accessibility/css-styles.html
|
| +++ b/third_party/WebKit/LayoutTests/accessibility/css-styles.html
|
| @@ -16,7 +16,7 @@
|
| font-size: 14px;
|
| }
|
| input {
|
| - background-color: white;
|
| + background-color: red;
|
| color: blue;
|
| font-size: 16px;
|
| }
|
| @@ -34,25 +34,25 @@
|
|
|
| if (window.accessibilityController) {
|
| var axHeading = accessibilityController.accessibleElementById("h1");
|
| - // Black has the value 0x000000.
|
| - shouldBeZero("axHeading.backgroundColor");
|
| - shouldBeEqualToNumber("axHeading.color", 0xff0000);
|
| + shouldBeEqualToNumber("axHeading.backgroundColor", 0xff000000); // Black
|
| + shouldBeEqualToNumber("axHeading.color", 0xff0000); // Red
|
| shouldBeEqualToNumber("axHeading.fontSize", 12);
|
|
|
| var axParagraph = accessibilityController.accessibleElementById("p");
|
| - shouldBeZero("axParagraph.backgroundColor");
|
| + shouldBeEqualToNumber("axParagraph.backgroundColor", 0xff000000); // Black
|
| + // 0xff00 is called "lime" in CSS.
|
| shouldBeEqualToNumber("axParagraph.color", 0xff00);
|
| shouldBeEqualToNumber("axParagraph.fontSize", 14);
|
|
|
| var axButton = accessibilityController.accessibleElementById("button");
|
| // Button's background is not transparent, so alpha value is included.
|
| - shouldBeEqualToNumber("axButton.backgroundColor", 0xffffffff);
|
| - shouldBeEqualToNumber("axButton.color", 0xff);
|
| + shouldBeEqualToNumber("axButton.backgroundColor", 0xffff0000); // Red
|
| + shouldBeEqualToNumber("axButton.color", 0xff); // Blue
|
| shouldBeEqualToNumber("axButton.fontSize", 16);
|
|
|
| var axText = accessibilityController.accessibleElementById("text");
|
| - shouldBeEqualToNumber("axText.backgroundColor", 0xffffffff);
|
| - shouldBeEqualToNumber("axText.color", 0xff);
|
| + shouldBeEqualToNumber("axText.backgroundColor", 0xffff0000); // Red
|
| + shouldBeEqualToNumber("axText.color", 0xff); // Blue
|
| shouldBeEqualToNumber("axText.fontSize", 16);
|
| }
|
|
|
|
|