A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by an electronic device with a display and a touch-sensitive surface, cause the device to:
- display, on the display, content and an affordance, wherein:
- the affordance is displayed over a portion of the content;
- a value of a display property of the affordance is determined based a value of the same display property of the portion of the content over which the affordance is displayed;
- and
- the value of the display property of the content is permitted to vary within a first range of values, and the value of the display property of the affordance is constrained to vary within an affordance-appearance range of values that is smaller than the first range of values;
- while displaying the content and the affordance and while the affordance-appearance range of values is a second range of values, detect a change in appearance of the content over which the affordance is displayed;
- and
- in response to detecting the change in appearance of the content over which the affordance is displayed, change the appearance of the affordance, including:
- in accordance with a determination that the change in appearance of the content has met range-switching criteria:
- shift the affordance-appearance range of values to a third range of values, wherein the third range of values is different from the second range of values, and the third range of values is smaller than the first range of values;
- and
- change the value of the display property of the affordance in accordance with the value of the same display property of the content over which the affordance is displayed, wherein the display property of the affordance is constrained to vary within the affordance-appearance range of values;
- and
- in accordance with a determination that the change in appearance of the content has not met the range-switching criteria, change the value of the display property of the affordance in accordance with the value of the same display property of the content over which the affordance is displayed, while maintaining the affordance-appearance range of values as the second range of values.