amrita wrote:Hi,
I am checking a page which has a zoom button in it .Now I want to check that when I change the zoom(say from 100% to 200%)does the font size really change.Is there any validation of the font size using eValid.
Thanks,
Amrita
You didn't say if the zoom was done at the HTML level or if it was in some kind of image. Having an actual HTML passage would be helpful to have to give you a complete answer.
Yes, there is font size validation in the following limited sense.
Use the PageMap to look at the actual contents of the DOM. The language here is in terms of the PageMap's view of the current page.
If you look at a page element that has a tagName = FONT element you will see that there is, for that same element, a size = +2 or size = +3 stored in the set of atrributes (properties) of that element.
However, if you use your browser to choose, for example, the largest base font you'll see that these attributes don't change. The actual rendering of the material in a page is done relative to the "modifications away from the normal' that are expressed in the HTML.
So yes, you can validate from the font size from the DOM using, for example, a ValidateSelectedObjProperty command when you know the name of the attribute and the expected value.
The eValid Team