1. A method of displaying a document, the method comprising: receiving input comprising: a web page comprising machine-readable instructions, and a zoom factor for the web page; processing a document object model representation of the web page in accordance with the machine-readable instructions, wherein at least one scalable content parameter or at least one scalable layout parameter exists in the document object model, and wherein the processing comprises: if one or more scalable content parameters exist in the document object model representation, modifying parameters pertaining to content in accordance with the zoom factor; and if one or more scalable layout parameters exist in the document object model representation, modifying parameters pertaining to layout in accordance with the zoom factor; and displaying the web page in a web browser according to the document object model representation.
1. A method of displaying a document, the method comprising: receiving input comprising: a web page comprising machine-readable instructions, and a zoom factor for the web page; processing a document object model representation of the web page in accordance with the machine-readable instructions, wherein at least one scalable content parameter or at least one scalable layout parameter exists in the document object model, and wherein the processing comprises: if one or more scalable content parameters exist in the document object model representation, modifying parameters pertaining to content in accordance with the zoom factor; and if one or more scalable layout parameters exist in the document object model representation, modifying parameters pertaining to layout in accordance with the zoom factor; and displaying the web page in a web browser according to the document object model representation. 9. The method of claim 1 , wherein the parameters pertaining to content comprise parameters pertaining to fonts and images, and the parameters pertaining to layout comprise parameters pertaining to margins, borders, padding, and position of objects.