Declarative Cascade Reordering for Styles
First Claim
1. A document rendering device, comprising:
- memory configured to store a style sheet describing rendering of a structured document having a nominal cascade level 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 so that the group cascade level is different than the nominal 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.
1 Assignment
0 Petitions
Accused Products
Abstract
In one example, a document rendering device may reorder a cascade level for a style property of a style sheet to maintain cohesion across multiple document components of a document. The document rendering device may store a style sheet describing rendering of a structured document having a nominal cascade level indicating a sheet hierarchy for the style sheet to resolve conflicts with style properties in other style sheets. The document rendering device may set a group cascade level for a property group describing a set of multiple style properties in the style sheet so that the group cascade level is different than the nominal cascade level. The document rendering device may render a document component of the structured document for display based on the property group at the group cascade level.
-
Citations
20 Claims
-
1. A document rendering device, comprising:
-
memory configured to store a style sheet describing rendering of a structured document having a nominal cascade level 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 so that the group cascade level is different than the nominal 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 Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computing device, having a memory to store a series of instructions to execute a document rendering application, the computing device configured to:
-
process a style sheet describing rendering of a structured document having a nominal cascade level indicating a sheet hierarchy for the style sheet to resolve conflicts with style properties in other style sheets; identify a style property in the style sheet; set a property cascade level for the style property lower than the nominal cascade level; and render a document component of the structured document based on the style property at the property cascade level. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
19. A machine-implemented method, comprising:
-
processing a style sheet describing rendering of a structured document having a nominal cascade level indicating a sheet hierarchy for the style sheet to resolve conflicts with style properties in other style sheets; identifying in the style sheet a property group describing a set of multiple style properties; setting a group cascade level for the property group lower than the nominal cascade level; and rendering a document component of the structured document based on the property group at the group cascade level. - View Dependent Claims (20)
-
Specification