Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for rendering elements in HTML page, equipment and storage medium

A technology of HTML pages and elements, applied in the field of element rendering in HTML pages, can solve the problems of inconvenient HTML support, no canvas flexibility, poor performance, etc.

Active Publication Date: 2020-06-09
北京飞漫软件技术有限公司
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When using canvas, this process of defining vector graphics becomes a direct interface call. As a result, using SVG to achieve complex element rendering is not even as flexible as canvas, and its performance is worse than using canvas elements.
Therefore, no matter whether you use the canvas element or SVG to render complex elements, you cannot easily get the support of HTML.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for rendering elements in HTML page, equipment and storage medium
  • Method and device for rendering elements in HTML page, equipment and storage medium
  • Method and device for rendering elements in HTML page, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The characteristics and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only configured to explain the present invention, not to limit the present invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by showing examples of the present invention.

[0048]It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and d...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and device for rendering elements in a hypertext markup language (HTML) page, equipment and a storage medium, and relates to the technical field of computer software. The method comprises the steps of determining a canvas object according to to-be-rendered elements in an HTML page, and determining an operation mode of a renderer for rendering the to-be-rendered elements; loading a renderer according to the to-be-rendered elements; according to a renderer, obtaining attributes and parameters of the to-be-rendered elements through a user agent interface; renderingthe to-be-rendered elements by using a renderer according to the attribute and the parameter of the to-be-rendered elements to obtain a first rendering result; storing the first rendering result in the canvas object; and copying the first rendering result from the canvas object to the HTML page according to the operation mode of the renderer. According to the rendering method for the elements inthe HTML page provided by the embodiment of the invention, HTML support can be conveniently obtained.

Description

technical field [0001] The present application relates to the technical field of computer software, in particular to a method, device, device and storage medium for rendering elements in an HTML page. Background technique [0002] In the prior art, for modifying the rendering effect of complex elements, the interface used is complex and lacks standard or normative constraints, resulting in high development costs and reduced maintainability, while the implementation mechanism of the canvas element and the hypertext markup language ( There is a gap between existing specifications such as HyperText Mark-up Language (HTML) and Cascading Style Sheets (CSS), which leads to larger code size, higher learning costs, and lower performance. [0003] In addition, due to the limitation of the canvas element itself, it is currently impossible to put the complex control implemented by the canvas element into the form as part of the form, so that the user input or the current value of the c...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/958
CPCG06F16/958
Inventor 魏永明耿岳薛淑明
Owner 北京飞漫软件技术有限公司