×

Fast CSS parser

  • US 10,083,158 B2
  • Filed: 12/12/2016
  • Issued: 09/25/2018
  • Est. Priority Date: 06/30/2014
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method of transforming a cascading style sheet (“

  • CSS”

    ) codebase for a website, including;

    using a processor, accessing in memory a CSS codebase that includes target tokens in customizable segments, which are customizable responsive to an input invoking a module that uses the CSS codebase;

    scanning the CSS codebase and locating the customizable segments of the CSS codebase that include the target tokens, customization of the customizable segments of the CSS codebase being located based at least in part on an attribute of a user;

    parsing only the located customizable segments of the CSS codebase to produce segment parse trees based on the parsed customizable segments;

    transforming the target tokens from the segment parse trees according to a set of customization functions selected from among multiple alternative sets of customization functions that transform the target tokens within the customizable segments of the CSS codebase; and

    outputting a customized codebase for use with the module invoked by the input.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×