Decomposing markup language elements for animation
First Claim
1. A system for animating legacy markup language (ML) elements, said system comprising:
- a memory area associated with a computing device, said memory area storing a plurality of application programming interfaces (APIs) for animating markup language (ML) elements; and
a processor programmed to;
receive, from an application program via at least one of the plurality of APIs stored in the memory area, a request to perform at least one animation on a ML element in a document, the ML element having one or more style attributes associated therewith;
change the ML element within the document by including one or more animation preparation attributes within the ML element and modifying current values of the one or more style attributes, wherein the one or more animation preparation attributes are defined based on the requested at least one animation such that content from the changed ML element appears the same as before the ML element was changed, wherein the ML element is prepared for the requested at least one animation based on the change in the ML element;
perform the requested at least one animation on the changed ML element using the defined one or more animation preparation attributes included therein;
update the changed ML element, only after completing a last-to-finish animation from the requested at least one animation by removing the included one or more animation preparation attributes from the changed ML element and resetting the changed ML element to its original layout; and
provide, to the application program, the updated ML element with the included one or more animation preparation attributes removed, the updated ML element indicating, to the application program, completion of the requested at least one animation.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments prepare a markup language (ML) element for animation. A request to perform at least one animation on at least one ML element is intercepted or received. One or more animation preparation attribute values are defined based at least on the requested animation and current attribute values of the ML element. The ML element is altered to include the defined animation preparation attribute values, and an animation engine performs the animation of the altered ML element. The animation preparation attributes and values (e.g., style elements) may be reset, removed, or otherwise modified after animation. In some embodiments, a library of application programming interfaces (APIs) enable web browsers to request animations of legacy hypertext markup language (HTML) elements for consumption by animation engines based on JAVASCRIPT scripting or cascading style sheets (CSS).
45 Citations
20 Claims
-
1. A system for animating legacy markup language (ML) elements, said system comprising:
-
a memory area associated with a computing device, said memory area storing a plurality of application programming interfaces (APIs) for animating markup language (ML) elements; and a processor programmed to; receive, from an application program via at least one of the plurality of APIs stored in the memory area, a request to perform at least one animation on a ML element in a document, the ML element having one or more style attributes associated therewith; change the ML element within the document by including one or more animation preparation attributes within the ML element and modifying current values of the one or more style attributes, wherein the one or more animation preparation attributes are defined based on the requested at least one animation such that content from the changed ML element appears the same as before the ML element was changed, wherein the ML element is prepared for the requested at least one animation based on the change in the ML element; perform the requested at least one animation on the changed ML element using the defined one or more animation preparation attributes included therein; update the changed ML element, only after completing a last-to-finish animation from the requested at least one animation by removing the included one or more animation preparation attributes from the changed ML element and resetting the changed ML element to its original layout; and provide, to the application program, the updated ML element with the included one or more animation preparation attributes removed, the updated ML element indicating, to the application program, completion of the requested at least one animation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method comprising:
-
receiving, by a computing device from an application program, a request to perform at least one animation on a markup language (ML) element, the ML element having one or more style attributes associated therewith; changing the ML element by including one or more animation preparation attributes within the ML element and modifying current values of the one or more style attributes, the one or more animation preparation attributes being defined based on the requested at least one animation such that content from the changed ML element appears the same as before the ML element was changed, wherein the ML element is prepared for the requested at least one animation based on the change in the ML element; performing the requested at least one animation on the changed ML element using the defined one or more animation preparation attributes included therein; update the changed ML element, only after completing a last-to-finish animation from the requested at least one animation by removing the included one or more animation preparation attributes from the changed ML element and resetting the changed ML element to its original layout; and provide, to the application program, the updated ML element with the one or more animation preparation attributes removed, the updated ML element indicating, to the application program, completion of the requested at least one animation. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. One or more computer storage media embodying computer-executable components, said components comprising:
-
an interface component that on execution causes at least one processor to receive, from an application program, a request to perform an animation on a markup language (ML) element, the ML element having one or more style attributes associated therewith; a decomposition component that on execution causes at least one processor to change the ML element by including one or more animation preparation attributes within the ML element and modifying current values of the one or more style attributes, wherein the one or more animation preparation attributes are defined based on the requested animation such that content from the changed ML element appears the same as before the ML element was changed, wherein the ML element is prepared for the requested animation based on the change in the ML element; an animation engine component that on execution causes at least one processor to perform the requested animation on the changed ML element using the defined one or more animation preparation attributes included therein; and a re-composition component that on execution causes at least one processor to update the changed ML element, after completing a last-to-finish animation from the requested animation by removing the included one or more animation preparation attributes from the ML element and resetting the changed ML element to its original layout, wherein the interface component further provides, to the application program, the updated ML element with the one or more animation preparation attributes removed by the re-composition component, the updated ML element indicating, to the application program, completion of the requested animation. - View Dependent Claims (18, 19, 20)
-
Specification