Patent ID: 7761601

Claim:
A method for providing consumable content to a receiving device, the method comprising: receiving, by a server computer, a request from a receiving device for markup document content associated with the consumable content; loading, by the server computer, the requested markup document content from a source of the markup document content; converting, by the server computer the markup document content into the consumable content by: forming, by the server computer, a base feature set based on a state in which focusable elements in the consumable content do not receive focus, the base feature set expressed as a list of drawing operations that include commands to draw features within the consumable content, and the base feature set including at least one feature that is displayed when the focusable elements in the consumable content do not receive focus; forming, by the server computer, an on-focus feature set based on states in which the focusable elements consumable content successively receive focus, wherein the on-focus feature set includes one or more first additional features that are displayed when at least one of the focusable elements receives focus, one or more second additional features that disappear when at least one of the focusable elements receives focus, or a combination thereof; determining, by the server computer, differences between features of the base feature set and features of the on-focus feature set for each focusable element; and in response to determining differences between the features of the base feature set and the features of the on-focus feature set for each focusable element, adding, by the server computer, the one or more first additional features that are displayed when at least one of the focusable elements receives focus to the base feature set to produce an identified feature set that includes a list of non-redundant features associated with the consumable content; forming, by the server computer, code that can be executed by the receiving device to provide the identified feature set, to thereby provide code-bearing content in a ready-to-execute code form in conjunction with data resources referenced by the code, wherein the forming code comprises: forming, by the server computer, non-conditional code content for at least one feature in the identified feature set having behavior that is not dependent on whether or not a focusable element receives focus and forming, by the server computer, conditional code content for at least one other feature in the identified feature set having behavior that is dependent on whether or not a focusable element receives focus and wherein the conditional code content accounts for at least some of the difference information; and forwarding, by the server computer, the code-bearing content to the receiving device in response to the request.