CN103365640A - Cascading style sheet style transformation method and device - Google Patents
Cascading style sheet style transformation method and device Download PDFInfo
- Publication number
- CN103365640A CN103365640A CN2012100883585A CN201210088358A CN103365640A CN 103365640 A CN103365640 A CN 103365640A CN 2012100883585 A CN2012100883585 A CN 2012100883585A CN 201210088358 A CN201210088358 A CN 201210088358A CN 103365640 A CN103365640 A CN 103365640A
- Authority
- CN
- China
- Prior art keywords
- css
- character string
- user
- text
- attribute
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
Abstract
The invention discloses a cascading style sheet (CSS) style transformation method and device. The method comprises the steps of dividing a CSS code text selected by a user into one or more CSS character strings and respectively obtaining attribute names of one or more CSS character strings; comparing attribute names of one or more CSS character strings and a CSS style library, transforming corresponding to CSS character strings into CSS styles which meet the CSS style transformation standards and code standards and support and are compatible with multiple browsers according to corresponding CSS standards in the CSS style library under the condition that corresponding attribute names exist in the CSS style library, and returning the transformed CSS character strings back to the user. By means of the technical scheme, a developer can conveniently perform development of the CSS portion and can simplify or correct CSS code structures or code defects.
Description
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of CSS (cascading style sheet) (Cascading Style Sheets is referred to as CSS) pattern conversion method and device.
Background technology
Along with the Internet era arrival, network technology is maked rapid progress, dissimilar browser is all being striven for the 5th edition HTML (Hypertext Markup Language) (Hypertext Markup Language 5, referred to as HTML5) support, CSS 3 patterns are enriching network world, and CSS 4 is also among planning and design.
Under above-mentioned background, for front end developer's webpage development has caused certain difficulty: both needed to support compatible various browser, also needed to understand abandoning or changing of the differentiation of new and old CSS version and CSS pattern.But the developer is difficult to remember literary style and the attribute of every kind of CSS pattern in each version of Chu, repeatedly consults then and loses time, and affects efficient.Therefore, be badly in need of at present a kind of simple CSS pattern conversion method and help the developer, make the developer on stream, when some CSS patterns are set, the CSS pattern of generation support different browsers that can be intelligent.
Summary of the invention
The invention provides a kind of CSS pattern conversion method and device, so that the developer is on stream, when some CSS patterns are set, the CSS pattern of generation support different browsers that can be intelligent.
The invention provides a kind of CSS pattern conversion method, comprising:
The CSS code text that the user is chosen is divided into one or more CSS character strings, obtains respectively the attribute-name of one or more CSS character strings;
The attribute-name of each CSS character string is compared with the CSS style library respectively, in the situation that there is corresponding attribute-name in the CSS style library, corresponding CSS character string is converted to the CSS pattern that meets CSS pattern transfer standard and code specification and support many browser-safes according to corresponding CSS rule in the CSS style library, and the CSS character string after will changing returns to the user.
The present invention also provides a kind of CSS pattern conversion equipment, comprising:
The text acquisition module is used for obtaining the CSS code text that the user chooses;
Text analysis model, the CSS code text that is used for the text acquisition module is obtained is divided into one or more CSS character strings, obtain respectively the attribute-name of one or more CSS character strings, the attribute-name of each CSS character string is compared with the CSS style library respectively, in the situation that there is corresponding attribute-name in the CSS style library, corresponding CSS character string is converted to the CSS pattern that meets CSS pattern transfer standard and code specification and support many browser-safes according to corresponding CSS rule in the CSS style library, and the CSS character string after will changing returns to the user.
Beneficial effect of the present invention is as follows:
The CSS code text of choosing by obtaining the user, and compare with the CSS storehouse, according to the CSS codes and standards, code text is analyzed and replaced, make code text have browser compatibility, more meet the advantages such as code specification, can when the exploitation webpage, produce easily the different patterns of compatible browser, for the user has saved the time; The technical scheme of the embodiment of the invention not only can allow the developer carry out easily the exploitation of CSS part, can also simplify or correct CSS code structure or code defective.
Description of drawings
Fig. 1 is the process flow diagram of the CSS pattern conversion method of the embodiment of the invention;
Fig. 2 is the detailed operational flowchart of the CSS pattern conversion method of the embodiment of the invention;
Fig. 3 is the process flow diagram of the optimization CSS code text of the embodiment of the invention;
Fig. 4 is the structural representation of the CSS pattern conversion equipment of the embodiment of the invention;
Fig. 5 is the detailed structure schematic diagram of the CSS pattern conversion equipment of the embodiment of the invention.
Embodiment
When making the developer that some CSS patterns are set on stream, the CSS pattern of generation support different browsers that can be intelligent, the invention provides a kind of CSS pattern conversion method and device, below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, does not limit the present invention.
Embodiment of the method
According to embodiments of the invention, a kind of CSS pattern conversion method is provided, Fig. 1 is the process flow diagram of the CSS pattern conversion method of the embodiment of the invention, as shown in Figure 1, comprises following processing according to the CSS pattern conversion method of the embodiment of the invention:
Step 101, the CSS code text that the user is chosen is divided into one or more CSS character strings, obtains respectively the attribute-name of one or more CSS character strings;
In step 101, specifically comprise following processing: obtain the CSS code text in user's selection range, according to attribute-name the CSS code text is divided into one or more CSS character strings, wherein, CSS character string is an attribute in the CSS code text.
That is to say, at first need to obtain the CSS code text content in user's selection range, subsequently, according to crucial indications (being attribute-name), the code text of choosing is divided into can be for the character string of analyzing.
In step 101, obtain respectively after the attribute-name of one or more CSS character strings, preferably, the CSS character string with same alike result name can be merged into a CSS character string.
Step 102, the attribute-name of each CSS character string is compared with the CSS style library respectively, in the situation that there is corresponding attribute-name in the CSS style library, corresponding CSS character string is converted to the CSS pattern that meets CSS pattern transfer standard and code specification and support many browser-safes according to corresponding CSS rule in the CSS style library, and the CSS character string after will changing returns to the user.For example, before the optimization be: border-radius:lpx by compatibility optimization, after the optimization is: border-radius:lpx;-moz-border-radius:lpx;-webkit-border-radius:lpx.From the contrast of new and old code text, can see that the embodiment of the invention makes code can adapt to the standard of browser-cross.
That is to say, in step 102, the character string after needing to cut apart is compared corresponding attribute-name and CSS style library, and according to the standard of style library, CSS code character string is replaced.
Particularly, in step 102, after the attribute-name with each CSS character string compares with the CSS style library respectively, preferably, in the situation that there is not corresponding attribute-name in the CSS style library, head and the tail in corresponding CSS character string identify respectively wrong indications, and the CSS character string after will identifying returns to the user.For example, before the optimization be: border-widt:lpx; Border-color:#1122ff; Through wrong redundancy optimization, after the optimization be :/* border-widt:lpx; */border-color:#1122ff; From the contrast of new and old code text, can see that the embodiment of the invention can carry out the automatic error-correcting of code.
In actual applications, if find that attribute-name is not present in the CSS style library, then this CSS character string is error code, in the first "/* " indications that increases of CSS character string, increases " */" indications at the character string tail; If attribute-name exists, then according to corresponding rule the respective attributes of attribute-name is processed, replace former character string to return with processing CSS character string later.
In step 102, according to corresponding CSS rule in the CSS style library corresponding CSS character string is converted to after the pattern of multiple browser-safe, whether abandoned or have not recommendation or have abbreviation in the situation that judge this pattern, can also the CSS character string after the conversion be optimized.For example, before the optimization be: border-width:lpx; Border-color:#fff; Optimize through abbreviation, after the optimization be: border:lpx#fff; From the contrast of new and old code text, can see that the embodiment of the invention makes code more succinct.
In step 102, CSS character string after the conversion is returned to the user and specifically comprises following processing: pre-configured according to the user, determine whether to keep former CSS character string, keep former CSS character string if the user is preconfigured to, then the CSS character string after inserting conversion after the former CSS character string; If the user is preconfigured to the former CSS character string of deletion, then replace former CSS character string with the CSS character string after the conversion.
Preferably, in embodiments of the present invention, the CSS character string after each section conversion can also be spliced, obtain the CSS code text after the complete conversion, and the CSS code text after will changing return to the user.That is to say, after the CSS string analysis that each section analyzed separately is complete, will processes CSS character string later again and splice, then the code text with the complete CSS of meeting standard resets to the text area that the user chooses, and replaces original text.
By above-mentioned processing, what the technical scheme of the embodiment of the invention can be more convenient analyzes replacement with the CSS code text according to standard, does not need the user to carry out complex operations, can make code become succinctly bright, readable strong, meets standard.Can find out from above-mentioned processing, the user is simple to operate, can increase code readability, has reduced the wasting of resources of system.Owing to can the pattern of different browsers be supported automatically, the page is optimized, thereby searches the time compatible and the arrangement code for the user has saved.
Below in conjunction with accompanying drawing, the technical scheme of the embodiment of the invention is elaborated.
Fig. 2 is the detailed operational flowchart of the CSS pattern conversion method of the embodiment of the invention, as shown in Figure 2, comprises following processing:
Step 201 is obtained the CSS code text that the user chooses;
Step 202 arranges whether keeping the parameters such as the former code text of CSS according to user's operation, according to the corresponding standard of storing in the CSS style library and rule the CSS code text of obtaining is analyzed, and is produced new CSS code text;
Step 203, to analyze new CSS code text echo later to the user, and according to the parameter that arranges in the step 202 former CSS code text is kept (that is, new CSS code text being inserted in the former CSS code text), perhaps former CSS code text is replaced by new CSS code text.
Below in conjunction with Fig. 3 the method for optimizing the CSS code text is elaborated, Fig. 3 is the process flow diagram of the optimization CSS code text of the embodiment of the invention, as shown in Figure 3, comprises following processing:
Step 301 is obtained the CSS code text of need optimizing, this CSS code text by the user selected or frame in edit box;
Step 302 is divided the CSS character string in the CSS code text, and wherein, a CSS character string is an attribute;
Step 303 is compared pattern name field (attribute-name) and the pattern title in the CSS style library of each CSS character string, judges whether to have identical pattern title;
Step 304 if do not find identical pattern title, is then determined this CSS character string clerical error, then former character string head is increased "/* ", afterbody increases " */", and increases explanation of error and replace former character string, if find identical pattern title then execution in step 305;
Step 305 is processed the value field of each CSS character string, and judges whether the value (value) of CSS character string meets the type of currency, if so, then turns step 307, if not, then turns step 306;
Step 306, (for example: the value of border-color should be gba or (0 when the value of judging the CSS character string does not meet the type of currency, 0,0) type, if write as border-color:1px then be considered as the value type error), then increase at the source string head "/* ", afterbody increases " and */", and the increase explanation of error is replaced former character string; The execution in step 307 if the value type is errorless;
Step 307 meets the type of currency when the value of judging the CSS character string, the CSS character string that all are correct is intersected comparison, if discovery has the sub-attribute of same type, then execution in step 308, if there is not the sub-attribute of same type, then execution in step 309;
Step 308 is to the optimization of abridging of this CSS character string;
Step 309 checks whether each CSS character string exists many browsers pattern, if exist then carry out browser-safe optimization.Subsequently, judge this pattern whether exist abandoned, recommendation or have the situation of abbreviation not, if so, then carry out correspondence optimization, and replace former pattern character string; If not, execution in step 310 then;
Step 310 is returned CSS character string after the optimization to the user.
In sum, technical scheme by means of the embodiment of the invention, the CSS code text of choosing by obtaining the user, and compare with the CSS storehouse, according to the CSS codes and standards, code text is analyzed and replaced, make code text have browser compatibility, more meet the advantages such as code specification, can when the exploitation webpage, produce easily the different patterns of compatible browser, for the user has saved the time; The technical scheme of the embodiment of the invention not only can allow the developer carry out easily the exploitation of CSS part, can also simplify or correct CSS code structure or code defective.
Device embodiment
According to embodiments of the invention, a kind of CSS pattern conversion equipment is provided, Fig. 4 is the structural representation of the CSS pattern conversion equipment of the embodiment of the invention, as shown in Figure 4, CSS pattern conversion equipment according to the embodiment of the invention comprises: text acquisition module 40 and text analysis model 42 below are described in detail the modules of the embodiment of the invention.
For example, before the optimization be: border-radius:lpx by compatibility optimization, after the optimization is: border-radius:lpx;-moz-border-radius:lpx;-webkit-border-radius:lpx; From the contrast of new and old code text, can see that the embodiment of the invention makes code can adapt to the standard of browser-cross.
That is to say, the character string after text analysis model 42 needs cut apart is compared corresponding attribute-name and CSS style library, and according to the standard of style library, CSS code character string is replaced.
Particularly, text analysis model 42 specifically comprises:
Analytic unit is used for obtaining the CSS code text in user's selection range, according to attribute-name the CSS code text is divided into one or more CSS character strings, and wherein, CSS character string is an attribute in the CSS code text;
That is to say, analytic unit at first needs to obtain the CSS code text content in user's selection range, and subsequently, according to crucial indications (being attribute-name), the code text of choosing is divided into can be for the character string of analyzing.
The echo unit is used for pre-configured according to the user, determines whether to keep former CSS character string, keeps former CSS character string if the user is preconfigured to, then the CSS character string after inserting conversion after the former CSS character string; If the user is preconfigured to the former CSS character string of deletion, then replace former CSS character string with the CSS character string after the conversion.
Merge cells is merged into a CSS character string for the CSS character string that will have the same alike result name;
Mistake indicates the unit, is used in the situation that there is not corresponding attribute-name in the CSS style library, identify respectively wrong indications at the head and the tail of corresponding CSS character string, and the CSS character string after will identifying returns to the user; For example, before the optimization be: border-widt:lpx; Border-color:#1122ff; Through wrong redundancy optimization, after the optimization be :/* border-widt:lpx; */border-color:#1122ff; From the contrast of new and old code text, can see that the embodiment of the invention can carry out the automatic error-correcting of code.
In actual applications, find that attribute-name is not present in the CSS style library if mistake indicates the unit, then this CSS character string is error code, in the first "/* " indications that increases of CSS character string, increases " */" indications at the character string tail; If attribute-name exists, then according to corresponding rule the respective attributes of attribute-name is processed, replace former character string to return with processing CSS character string later.
Optimize the unit, be used for after corresponding CSS rule is converted to the pattern of multiple browser-safe with corresponding CSS character string according to the CSS style library, whether abandoned or have not recommendation or have abbreviation in the situation that judge this pattern, can also the CSS character string after the conversion be optimized.For example, before the optimization be: border-width:lpx; Border-color:#fff; Optimize through abbreviation, after the optimization be: border:lpx#fff; From the contrast of new and old code text, can see that the embodiment of the invention makes code more succinct;
Concatenation unit is used for the CSS character string after each section conversion is spliced, and obtain the CSS code text after the complete conversion, and the CSS code text after will changing returns to the user.
That is to say, after the CSS string analysis that each section analyzed separately is complete, concatenation unit will be processed CSS character string later again and splice, and then the code text with the complete CSS of meeting standard resets to the text area that the user chooses, and replaces original text.
By above-mentioned processing, what the technical scheme of the embodiment of the invention can be more convenient analyzes replacement with the CSS code text according to standard, does not need the user to carry out complex operations, can make code become succinctly bright, readable strong, meets standard.Can find out from above-mentioned processing, the user is simple to operate, can increase code readability, has reduced the wasting of resources of system.Owing to can the pattern of different browsers be supported automatically, the page is optimized, thereby searches the time compatible and the arrangement code for the user has saved.
Below in conjunction with accompanying drawing, the technique scheme of the embodiment of the invention is elaborated.
Preferably, in actual applications, text acquisition module 40 can comprise acquiring unit and dispensing unit, and wherein, acquiring unit is used for obtaining the operation of the code text that the user chooses.Dispensing unit, the analytical parameters specification that mainly arranges according to the user is analyzed.For example, the character string after whether will analyzing is replaced former character string, and whether former character string keeps etc.
In actual applications, the user is by choosing CSS code text to be analyzed, and triggering text acquisition module 40 carries out code text and obtains.Text acquisition module 40 passes to text analysis model 42 with code text, arranged according to the user by text analysis model 42, analyze according to the CSS standard, produce the CSS character string after analyzing, subsequently, CSS character string after will analyzing again replaces (according to the setting of dispensing unit) source code, and echo is to customer analysis CSS character string later.
Fig. 5 is the detailed structure schematic diagram of the CSS pattern conversion equipment of the embodiment of the invention, as shown in Figure 5, comprising:
Acquiring unit 501 after the user chooses text, can by click selection analysis by right key, perhaps copy to editing area and carry out obtaining of text.
Echo unit 522 returns to the text after analyzing client's unit.
Fig. 2 is the detailed operational flowchart of the CSS pattern conversion method of the embodiment of the invention, as shown in Figure 2, comprises following processing:
Step 201, the acquiring unit 501 in the text acquisition module 50 obtains the CSS code text that the user chooses;
Step 202, dispensing unit 502 arranges whether keeping the parameters such as the former code text of CSS according to user's operation, analytic unit 521 in the text analysis model 52 is analyzed the CSS code text of obtaining according to the corresponding standard of storing in the CSS style library and rule, and produces new CSS code text;
Step 203, new CSS code text echo later will be analyzed to the user in echo unit 522, and the parameter that arranges according to dispensing unit 502 keeps (that is, new CSS code text being inserted in the former CSS code text) or former CSS code text is replaced by new CSS code text former CSS code text.
Below in conjunction with Fig. 3 the method for optimizing the CSS code text is elaborated, Fig. 3 is the process flow diagram of the optimization CSS code text of the embodiment of the invention, as shown in Figure 3, comprises following processing:
Step 301, acquiring unit 501 are obtained the CSS code text that needs optimization;
Step 302, analytic unit 521 is divided the CSS character string in the CSS code text, and wherein, a CSS character string is an attribute;
Step 303, analytic unit 521 is compared the pattern name field (attribute-name) of each CSS character string with the pattern title in the CSS style library;
Step 304, if do not find identical pattern title, 521 of analytic units are determined this CSS character string clerical error, then former character string head is increased "/* ", afterbody increases " */", and increases explanation of error and replace former character string, if find identical pattern title then execution in step 305;
Step 305, analytic unit 521 is processed the value field of each CSS character string, and judges whether the value (value) of CSS character string meets the type of currency, if so, then turns step 307, if not, then turns step 306;
Step 306, (for example: the value of border-color should be gba or (0 when the value of judging the CSS character string does not meet the type of currency, 0,0) type, if write as border-color:1px then be considered as the value type error), 521 of analytic units increase at the source string head "/* ", afterbody increases " and */" and increase explanation of error and replace former character string; The execution in step 307 if the value type is errorless;
Step 307 meets the type of currency when the value of judging the CSS character string, the analytic unit 521 CSS character string that all are correct is intersected comparison, if find to have the sub-attribute of same type, then execution in step 308, if there is not the sub-attribute of same type, then execution in step 309;
The optimization of abridging of step 308,521 pairs of these CSS character strings of analytic unit;
Step 309, analytic unit 521 check whether each CSS character string exists many browsers pattern, if exist then carry out browser-safe optimization.Subsequently, judge this pattern whether exist abandoned, recommendation or have the situation of abbreviation not, if so, then carry out correspondence optimization, and replace former pattern character string; If not, execution in step 310 then;
Step 310, echo unit 522 are returned CSS character string after the optimization to the user.
In sum, technical scheme by means of the embodiment of the invention, the CSS code text of choosing by obtaining the user, and compare with the CSS storehouse, according to the CSS codes and standards, code text is analyzed and replaced, make code text have browser compatibility, more meet the advantages such as code specification, can when the exploitation webpage, produce easily the different patterns of compatible browser, for the user has saved the time; The technical scheme of the embodiment of the invention not only can allow the developer carry out easily the exploitation of CSS part, can also simplify or correct CSS code structure or code defective.
Although be the example purpose, the preferred embodiments of the present invention are disclosed, it also is possible those skilled in the art will recognize various improvement, increase and replacement, therefore, scope of the present invention should be not limited to above-described embodiment.
Claims (10)
1. a CSS (cascading style sheet) CSS pattern conversion method is characterized in that, comprising:
The CSS code text that the user is chosen is divided into one or more CSS character strings, obtains respectively the attribute-name of described one or more CSS character strings;
The attribute-name of each CSS character string is compared with the CSS style library respectively, in the situation that there is corresponding attribute-name in described CSS style library, corresponding CSS character string is converted to the CSS pattern that meets CSS pattern transfer standard and code specification and support many browser-safes according to corresponding CSS rule in the described CSS style library, and the CSS character string after will changing returns to the user.
2. the method for claim 1 is characterized in that, the described CSS code text that the user is chosen is divided into one or more CSS character strings and specifically comprises:
Obtain the CSS code text in user's selection range, according to attribute-name described CSS code text is divided into one or more CSS character strings, wherein, CSS character string is an attribute in the described CSS code text.
3. the method for claim 1 is characterized in that, obtains respectively after the attribute-name of described one or more CSS character strings, and described method also comprises:
The CSS character string that will have the same alike result name is merged into a CSS character string.
4. the method for claim 1 is characterized in that, after the attribute-name of each CSS character string was compared with the CSS style library respectively, described method also comprised:
In the situation that there is not corresponding attribute-name in described CSS style library, identify respectively wrong indications at the head and the tail of corresponding CSS character string, and the CSS character string after will identifying returns to the user.
5. the method for claim 1 is characterized in that, according to corresponding CSS rule in the described CSS style library corresponding CSS character string is converted to after the pattern of multiple browser-safe, and described method also comprises:
CSS character string after the described conversion is optimized.
6. the method for claim 1 is characterized in that, the CSS character string after the conversion is returned to the user specifically comprise:
Pre-configured according to the user determines whether to keep former CSS character string, keeps described former CSS character string if the user is preconfigured to, then the CSS character string after inserting conversion after the described former CSS character string; If the user is preconfigured to the described former CSS character string of deletion, then replace described former CSS character string with the CSS character string after the conversion.
7. the method for claim 1 is characterized in that, described method also comprises:
CSS character string after each section conversion is spliced, obtain the CSS code text after the complete conversion, and the CSS code text after the described conversion is returned to the user.
8. a CSS (cascading style sheet) CSS pattern conversion equipment is characterized in that, comprising:
The text acquisition module is used for obtaining the CSS code text that the user chooses;
Text analysis model, the CSS code text that is used for the text acquisition module is obtained is divided into one or more CSS character strings, obtain respectively the attribute-name of described one or more CSS character strings, the attribute-name of each CSS character string is compared with the CSS style library respectively, in the situation that there is corresponding attribute-name in described CSS style library, corresponding CSS character string is converted to the CSS pattern that meets CSS pattern transfer standard and code specification and support many browser-safes according to corresponding CSS rule in the described CSS style library, and the CSS character string after will changing returns to the user.
9. device as claimed in claim 8 is characterized in that, described text analysis model specifically comprises:
Analytic unit is used for obtaining the CSS code text in user's selection range, according to attribute-name described CSS code text is divided into one or more CSS character strings, and wherein, CSS character string is an attribute in the described CSS code text;
The echo unit is used for pre-configured according to the user, determines whether to keep former CSS character string, keeps described former CSS character string if the user is preconfigured to, then the CSS character string after inserting conversion after the described former CSS character string; If the user is preconfigured to the described former CSS character string of deletion, then replace described former CSS character string with the CSS character string after the conversion.
10. device as claimed in claim 8 is characterized in that, described text analysis model also comprises:
Merge cells is merged into a CSS character string for the CSS character string that will have the same alike result name;
Mistake indicates the unit, is used in the situation that there is not corresponding attribute-name in described CSS style library, identify respectively wrong indications at the head and the tail of corresponding CSS character string, and the CSS character string after will identifying returns to the user;
Optimize the unit, be used for after corresponding CSS rule is converted to the pattern of multiple browser-safe with corresponding CSS character string according to described CSS style library, the CSS character string after the described conversion being optimized;
Concatenation unit is used for the CSS character string after each section conversion is spliced, and obtains the CSS code text after the complete conversion, and the CSS code text after the described conversion is returned to the user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100883585A CN103365640A (en) | 2012-03-30 | 2012-03-30 | Cascading style sheet style transformation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100883585A CN103365640A (en) | 2012-03-30 | 2012-03-30 | Cascading style sheet style transformation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103365640A true CN103365640A (en) | 2013-10-23 |
Family
ID=49367083
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012100883585A Pending CN103365640A (en) | 2012-03-30 | 2012-03-30 | Cascading style sheet style transformation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103365640A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104537002A (en) * | 2014-12-15 | 2015-04-22 | 山东中创软件商用中间件股份有限公司 | CSS compatibility optimizing method and system |
CN104866570A (en) * | 2015-05-22 | 2015-08-26 | 国云科技股份有限公司 | Method for implementing CSS multi-browser compatibility |
CN107451163A (en) * | 2016-06-01 | 2017-12-08 | 北京京东尚科信息技术有限公司 | A kind of cartoon display method and device |
CN107608947A (en) * | 2017-09-22 | 2018-01-19 | 阿里巴巴集团控股有限公司 | Html file processing method and processing device, electronic equipment |
CN108388454A (en) * | 2018-01-24 | 2018-08-10 | 广州市动景计算机科技有限公司 | Dynamic provides the method, apparatus and terminal device of compatible JS content for script |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1826600A (en) * | 2003-06-30 | 2006-08-30 | 国际商业机器公司 | A method and system for improving presentation of html pages in web devices |
CN101192217A (en) * | 2006-11-28 | 2008-06-04 | 阿里巴巴公司 | Method for canceling harmful code of hypertext marker language |
CN101859246A (en) * | 2009-04-08 | 2010-10-13 | 英业达股份有限公司 | System and method for converting corresponding scripts according to different browsers |
US20110191668A1 (en) * | 2007-07-11 | 2011-08-04 | Microsoft Corporation | Extended cascading style sheets |
CN102331924A (en) * | 2010-07-13 | 2012-01-25 | 英业达股份有限公司 | Cross-platform data display system and method thereof |
-
2012
- 2012-03-30 CN CN2012100883585A patent/CN103365640A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1826600A (en) * | 2003-06-30 | 2006-08-30 | 国际商业机器公司 | A method and system for improving presentation of html pages in web devices |
CN101192217A (en) * | 2006-11-28 | 2008-06-04 | 阿里巴巴公司 | Method for canceling harmful code of hypertext marker language |
US20110191668A1 (en) * | 2007-07-11 | 2011-08-04 | Microsoft Corporation | Extended cascading style sheets |
CN101859246A (en) * | 2009-04-08 | 2010-10-13 | 英业达股份有限公司 | System and method for converting corresponding scripts according to different browsers |
CN102331924A (en) * | 2010-07-13 | 2012-01-25 | 英业达股份有限公司 | Cross-platform data display system and method thereof |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104537002A (en) * | 2014-12-15 | 2015-04-22 | 山东中创软件商用中间件股份有限公司 | CSS compatibility optimizing method and system |
CN104537002B (en) * | 2014-12-15 | 2018-04-17 | 山东中创软件商用中间件股份有限公司 | A kind of method and system of CSS compatibility tuning |
CN104866570A (en) * | 2015-05-22 | 2015-08-26 | 国云科技股份有限公司 | Method for implementing CSS multi-browser compatibility |
CN107451163A (en) * | 2016-06-01 | 2017-12-08 | 北京京东尚科信息技术有限公司 | A kind of cartoon display method and device |
CN107451163B (en) * | 2016-06-01 | 2021-02-26 | 北京京东尚科信息技术有限公司 | Animation display method and device |
CN107608947A (en) * | 2017-09-22 | 2018-01-19 | 阿里巴巴集团控股有限公司 | Html file processing method and processing device, electronic equipment |
CN107608947B (en) * | 2017-09-22 | 2020-08-18 | 阿里巴巴集团控股有限公司 | HTML file processing method and device and electronic equipment |
CN108388454A (en) * | 2018-01-24 | 2018-08-10 | 广州市动景计算机科技有限公司 | Dynamic provides the method, apparatus and terminal device of compatible JS content for script |
CN108388454B (en) * | 2018-01-24 | 2021-08-20 | 阿里巴巴(中国)有限公司 | Method and device for dynamically providing JS (JavaScript) compatible script content and terminal equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112181416B (en) | Method and device for directly generating UI code from visual manuscript | |
CN103778234B (en) | The generation method and device of form | |
US7069501B2 (en) | Structured document processing system and structured document processing method | |
CN105824787B (en) | A kind of control method and system of html template dynamic configuration | |
CN103019925B (en) | Selector acquisition method and device | |
US8281284B2 (en) | Method and software for editing web documents | |
CN100422966C (en) | System, method, and program for content creation, readable medium for recording the program, and graphical user interface system and display control method | |
CN104133772A (en) | Automatic test data generation method | |
CN108762743B (en) | Data table operation code generation method and device | |
CN105760290B (en) | The problem of being tested based on webpage front-end localization method and relevant apparatus, system | |
US20140006913A1 (en) | Visual template extraction | |
US20120102390A1 (en) | Method and apparatus for generating widget | |
CN112083920A (en) | Front-end page design method, device, storage medium and equipment | |
CN110543303A (en) | Visual business platform | |
CN103365640A (en) | Cascading style sheet style transformation method and device | |
CN111309313A (en) | Method for quickly generating HTML (hypertext markup language) and storing form data | |
CN109683881B (en) | Code format adjusting method and device | |
EP1821219A1 (en) | Document processing device and document processing method | |
KR20170071553A (en) | Mathematical formula processing method, device, apparatus and computer storage medium | |
US20090083300A1 (en) | Document processing device and document processing method | |
US10198408B1 (en) | System and method for converting and importing web site content | |
US20080005662A1 (en) | Server Device and Name Space Issuing Method | |
CN104281575A (en) | Webpage data obtaining method and template engine | |
CN109086040A (en) | A kind of method and system quickly generating html code | |
CN113448552A (en) | Code generation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20131023 |
|
RJ01 | Rejection of invention patent application after publication |