Patent ID: 7596747
Filing Date: 2009-09-29
Classification: G06F

Abstract:
1. A computer-implemented method for incrementally parsing a style sheet, comprising: determining when a change is made to the style sheet; wherein the style sheet includes rules that are parsed; wherein the parsed rules comprise an original list of elements; determining a changed region within the style sheet; determining a portion of the style sheet to parse based on the changed region; wherein the portion of the style sheet to parse includes elements that are at least partially within a starting position of the change and at least partially within an ending position of the change; parsing the portion of the style sheet; wherein parsing the portion of the style sheet creates a new list of elements; updating data structures that represent elements from both the original and new list of elements that were affected by the change that was made to the style sheet and removing those elements from the new list of elements that are also present in the original list; wherein updating the data structures comprises updating a position of the elements within the list; merging the remaining new list of elements within the original list of elements; wherein the new elements are applied to affect a style utilizing a processing unit on a computing device.