Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and equipment used for merging cascading style sheet files

A cascading style sheet and file technology, applied in the field of network information, can solve problems such as web page errors or unexpected results, and achieve the effect of improving utility and flexibility

Inactive Publication Date: 2012-08-01
BEIJING OAK PACIFIC NETSCAPE TECH DEV
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Those skilled in the art can understand that this simple head-to-tail merging may cause front and rear coverage of properties in CSS (that is, properties defined later in the file cover previously defined properties), potentially causing errors or unexpected Web page rendering result

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 equipment used for merging cascading style sheet files
  • Method and equipment used for merging cascading style sheet files
  • Method and equipment used for merging cascading style sheet files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The principle and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are only provided to enable those skilled in the art to better understand and then implement the present invention, but not to limit the scope of the present invention in any way.

[0020] As described above, according to the embodiments of the present invention, when a Web site developer writes a CSS file, he can include predefined tags in locations that may need to be merged. During the loading process of the Web page, for the CSS file associated with the page, other CSS files will be dynamically obtained according to the predefined tags (if any) therein, and these CSS files will be dynamically combined with the current CSS files. Thus, according to the embodiment of the present invention, the merging of CSS files is implemented in a "self-configuration" manner, without the participation of any external ...

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 embodiment of the invention relates to a method and equipment used for merging cascading style sheet (CSS) files, and in particular discloses the method for merging the CSS files. The method comprises the following steps of: acquiring a first CSS file associated with a Web page to be loaded; judging whether the first CSS file contains a predefined label; and merging the second CSS file indicated by the predefined label and the first CSS file in response to that the CSS file is determined to contain the predefined label. The embodiment of the invention discloses corresponding equipment.

Description

Technical field [0001] The embodiments of the present invention generally relate to network information technology, and more specifically, to a method and device for merging cascading style sheet files. Background technique [0002] With the development of network technology, Cascading Style Sheet (CSS) has become an important part of modern network information technology. The CSS can exist as a separate file, or as a code segment included in the source code file (for example, a hypertext link language HTML file) of the corresponding Web page. CSS can be used to define a set of rules related to the rendering and presentation of a Web page to control the appearance and / or user interaction of the Web page. For example, the CSS file can define the font, font size, style of hyperlinks, responses to various user interaction events, and so on. [0003] By using CSS to format the Web page, the content of the Web page can be separated from the presentation form. The content of the Web p...

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): G06F17/30
Inventor 李靖威
Owner BEIJING OAK PACIFIC NETSCAPE TECH DEV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products