A method and an apparatus for debugging webpage CSS

A web page and debugging tool technology, applied in the field of network communication, can solve the problems of cumbersome process, inability to synchronize operation in real time, inconvenience, etc., and achieve the effect of convenient debugging

Active Publication Date: 2014-02-19
ALIBABA GRP HLDG LTD
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application aims to provide a method and device for debugging webpage CSS, so as to solve the cu

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
  • A method and an apparatus for debugging webpage CSS
  • A method and an apparatus for debugging webpage CSS
  • A method and an apparatus for debugging webpage CSS

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] Specific embodiments of the present application will be described in detail below. It should be noted that the embodiments described here are for illustration only, and are not intended to limit the present application.

[0019] The method for debugging webpage CSS in this application is to apply the change of front-end webpage CSS to the CSS file corresponding to the webpage stored in the back-end webpage server, figure 1 It is a flow chart of Embodiment 1 of the method. As shown in the figure, the method for debugging webpage CSS in this embodiment includes the following steps S101-S103.

[0020] S101. Monitor changes made by the front-end debugging tool to the CSS in the webpage in the browser loading the webpage;

[0021] S102. Send the monitored CSS change information to an editing tool for CSS files;

[0022] With reference to the description in the background technology section of this application, it can be seen that the current general practice for debugging ...

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 application discloses a method for debugging webpage cascading style sheets (CSS). The method comprises following steps: S1 sensing change from a front-end debugging tool to a CSS in a webpage in an browser loading the webpage; S2 transmitting sensed change information of the CSS to an edit tool of the CSS file corresponding to the webpage; and S3 displaying the received CSS change information in the edit tool according to the subordination inheritance relation contained in the CSS file in order to edit the CSS file. The embodiment of the application also provides a device for debugging webpage CSS. The method and the apparatus for debugging webpage CSS are capable of synchronizing the change from the front-end debugging tool to the webpage CSS with the edit tool of the CSS file so as to apply the webpage CSS change to a CSS file in a rear-end webpage server, thereby easily achieving webpage CSS debugging.

Description

technical field [0001] The present application relates to the technical field of network communication, and in particular to a method and device for debugging web page CSS (Cascading Style Sheets, Cascading Style Sheets). Background technique [0002] CSS is a computer markup language responsible for the presentation of web content in standard web design. Compared with the performance of traditional HTML, CSS can precisely control the position and typesetting of each display object in a web page at the pixel level, supports almost all fonts, font sizes, and styles, and can carry out preliminary interactive design. It is the most text-based display at present. One of the excellent expressive design languages. In the process of CSS playing the role of web page content, CSS files developed by developers (such as web designers) are stored in the back-end web server. Although they must be suffixed with css, they can be understood as a file containing A text file of various CSS ...

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
IPC IPC(8): H04L29/08
Inventor 李宁
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products