Declarative Style Rules for Default Touch Behaviors
First Claim
1. A computer-implemented method comprising:
- building a webpage; and
assigning one or more properties to elements of the webpage to request one or more respective default touch behaviors, the assigning comprising using one or more declarative styles.
2 Assignments
0 Petitions
Accused Products
Abstract
In at least some embodiments, a mechanism is provided for web developers to request specific default behaviors, such as touch behaviors, on their webpages. In at least some implementations, a Cascading Style Sheets (CSS) rule is utilized to enable or disable manipulations such as panning, pinch zoom, and double-tap-zoom manipulations. The mechanism can be extensible to accommodate additional default behaviors that are added in the future. In various embodiments, the behaviors are declared upfront and thus differ from solutions which employ an imperative model. The declarative nature of this approach allows achievement of full independence from the main thread and deciding the correct response using independent hit testing.
34 Citations
20 Claims
-
1. A computer-implemented method comprising:
-
building a webpage; and assigning one or more properties to elements of the webpage to request one or more respective default touch behaviors, the assigning comprising using one or more declarative styles. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. One or more computer-readable storage media embodying computer readable instructions, which, when executed, implement a method comprising:
-
building a display tree associated with a webpage; setting at least one flag on a display tree node corresponding to an element for which a default touch behavior has been specified using a declarative style; conducting an independent hit test on the display tree; and calling a manipulation thread for direct manipulation for one or more elements for which a default touch behavior has been specified. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A system comprising:
one or more computer readable storage media embodying computer readable instructions which, when executed, implement a method comprising; receiving a webpage; building a display tree associated with the webpage; setting at least one flag on a display tree node corresponding to an element for which a default touch behavior has been specified using a declarative style; conducting an independent hit test on the display tree; and calling a manipulation thread for direct manipulation for one or more elements for which a default touch behavior has been specified. - View Dependent Claims (18, 19, 20)
Specification