<!DOCTYPE html>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<p id="blue" style="color: blue">Blue foreground.</p>
<script>
const kBlueColor = 0xFF;
const kGreenColor = 0x8000;
test(() => {
let blue = document.getElementById('blue');
let axBlue = accessibilityController.accessibleElementById('blue');
assert_equals(axBlue.color, kBlueColor);
blue.style.color = 'green';
assert_equals(axBlue.color, kGreenColor);
}, 'Ensures that the color can be dynamically changed.');
</script>