Conflict resolution of CSS definition from multiple sources
AssigneeInternational Business Machines Corporation
InventorsJan-Paul Buchwald, Peter B. Schnitzler
Life of this patent
Estimating the term…
Abstract
Conflict resolution of cascading style sheet definitions from multiple sources includes storing a rule for a rewriting of cascading style sheet definitions and intercepting, within a proxy component including a processor, a client server communication of a web page request, wherein the web page request originates from a client, and wherein a response to the web page request includes at least two cascading style sheet definitions. At least one of the two cascading style sheet definitions is rewritten based on the rule, resulting in non-conflicting cascading style sheet definitions. The non-conflicting cascading style sheet definitions are provided together with related content to the client.
Claims18
A method of conflict resolution of cascading style sheet definitions from multiple sources, the method comprising:
- storing a rule for a rewriting of cascading style sheet definitions;
- intercepting, within a proxy component comprising a processor, a client server communication of a web page request, wherein the web page request originates from a client, and wherein a response to the web page request comprises at least two cascading style sheet definitions;
- rewriting at least one of the two cascading style sheet definitions based on the rule, resulting in non-conflicting cascading style sheet definitions;
- and
- providing the non-conflicting cascading style sheet definitions together with related content to the client, wherein
- the rule for a rewriting of at least one of the two cascading style sheet definitions comprises a first specification for an over-write of the first cascading style sheet definition by the second cascading style sheet definition based on source associations of the two cascading style sheet definitions indicating ones of the multiple sources.
A system for conflict resolution of cascading style sheet definitions from multiple sources, the system comprising:
- a processor programmed to initiate executable operations comprising:
- storing a rule for a rewriting of cascading style sheet definitions;
- intercepting a client server communication of a web page request, wherein the web page request originates from a client, and wherein a response to the web page request comprises at least two cascading style sheet definitions;
- rewriting at least one of the two cascading style sheet definitions based on the rule, resulting in non-conflicting cascading style sheet definitions;
- and
- providing the non-conflicting cascading style sheet definitions together with related content to the client, wherein
- the rule for a rewriting of at least one of the two cascading style sheet definitions comprises a first specification for an over-write of the first cascading style sheet definition by the second cascading style sheet definition based on source associations of the two cascading style sheet definitions indicating ones of the multiple sources.
A computer program product for conflict resolution of cascading style sheet definitions from multiple sources, comprising:
- a computer readable storage device having program code stored thereon, the program code executable by a processor to perform:
- storing, using the processor, a rule for a rewriting of cascading style sheet definitions;
- intercepting, using the processor, a client server communication of a web page request, wherein the web page request originates from a client, and wherein a response to the web page request comprises at least two cascading style sheet definitions;
- rewriting, using the processor, at least one of the two cascading style sheet definitions based on the rule, resulting in non-conflicting cascading style sheet definitions;
- and
- providing, using the processor, the non-conflicting cascading style sheet definitions together with related content to the client, wherein
- the computer readable storage device does not consist of a transitory, propagating signal, and
- the rule for a rewriting of at least one of the two cascading style sheet definitions comprises a first specification for an over-write of the first cascading style sheet definition by the second cascading style sheet definition based on source associations of the two cascading style sheet definitions indicating ones of the multiple sources.
Dependencies are inferred from the claim text.