×

Declarative cascade reordering for styles

  • US 10,482,165 B2
  • Filed: 03/11/2016
  • Issued: 11/19/2019
  • Est. Priority Date: 03/18/2015
  • Status: Active Grant
First Claim
Patent Images

1. A document rendering device, comprising:

  • memory configured to store a style sheet describing rendering of a structured document, the style sheet having a cascade level based on a source of the style sheet indicating a sheet hierarchy for the style sheet to resolve conflicts with style properties in other style sheets;

    a processing unit having at least one processor configured to;

    set a group cascade level for a property group describing a set of multiple style properties in the style sheet, the group cascade level being different than the cascade level of the style sheet and configured to resolve conflicts at the cascade level for the set of multiple style properties with conflicting style properties in the other style sheets according to the group cascade level instead of the cascade level of the style sheet;

    identify in the style sheet a group rule defining the group cascade level for the property group and set the group cascade level in accordance with the group rule, wherein the group cascade level is lower than the cascade level for the style sheet and the group cascade level is between a normal user cascade level and a normal user agent cascade level; and

    render a document component of the structured document based on the property group at the group cascade level; and

    a display screen configured to display the document component to a user.

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