diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-02-09 15:14:56 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-02-09 15:14:56 +0900 |
commit | 6b4be5f2df2da8986fa68a5de11d509cc37d44cb (patch) | |
tree | 4f22ca0f4708e3befcba96f1d3f47661acc5f02b /tdehtml/css/cssparser.cpp | |
parent | ca0e1f81a7dbae8c609b1332e04db5ac7d6fe7df (diff) | |
download | tdelibs-6b4be5f2df2da8986fa68a5de11d509cc37d44cb.tar.gz tdelibs-6b4be5f2df2da8986fa68a5de11d509cc37d44cb.zip |
Fix -tdehtml-* rename regression. This resolves bugs 1825 and 1692
Diffstat (limited to 'tdehtml/css/cssparser.cpp')
-rw-r--r-- | tdehtml/css/cssparser.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tdehtml/css/cssparser.cpp b/tdehtml/css/cssparser.cpp index 8b11c78d2..130fa8b61 100644 --- a/tdehtml/css/cssparser.cpp +++ b/tdehtml/css/cssparser.cpp @@ -184,7 +184,7 @@ CSSRuleImpl *CSSParser::parseRule( DOM::CSSStyleSheetImpl *sheet, const DOM::DOM { styleElement = sheet; - const char tdehtml_rule[] = "@-tdehtml-rule{"; + const char tdehtml_rule[] = "@-khtml-rule{"; int length = string.length() + 4 + strlen(tdehtml_rule); assert( !data ); data = (unsigned short *)malloc( length *sizeof( unsigned short ) ); @@ -212,7 +212,7 @@ bool CSSParser::parseValue( DOM::CSSStyleDeclarationImpl *declaration, int _id, styleElement = declaration->stylesheet(); - const char tdehtml_value[] = "@-tdehtml-value{"; + const char tdehtml_value[] = "@-khtml-value{"; int length = string.length() + 4 + strlen(tdehtml_value); assert( !data ); data = (unsigned short *)malloc( length *sizeof( unsigned short ) ); @@ -254,7 +254,7 @@ bool CSSParser::parseDeclaration( DOM::CSSStyleDeclarationImpl *declaration, con styleElement = declaration->stylesheet(); - const char tdehtml_decls[] = "@-tdehtml-decls{"; + const char tdehtml_decls[] = "@-khtml-decls{"; int length = string.length() + 4 + strlen(tdehtml_decls); assert( !data ); data = (unsigned short *)malloc( length *sizeof( unsigned short ) ); @@ -572,7 +572,7 @@ bool CSSParser::parseValue( int propId, bool important ) break; case CSS_PROP_DISPLAY: - // inline | block | list-item | run-in | inline-block | -tdehtml-ruler | table | + // inline | block | list-item | run-in | inline-block | -khtml-ruler | table | // inline-table | table-row-group | table-header-group | table-footer-group | table-row | // table-column-group | table-column | table-cell | table-caption | none | inherit if ((id >= CSS_VAL_INLINE && id <= CSS_VAL_TABLE_CAPTION) || id == CSS_VAL_NONE) @@ -611,7 +611,7 @@ bool CSSParser::parseValue( int propId, bool important ) case CSS_PROP_OUTLINE_STYLE: // <border-style> | inherit case CSS_PROP_BORDER_TOP_STYLE: //// <border-style> | inherit case CSS_PROP_BORDER_RIGHT_STYLE: // Defined as: none | hidden | dotted | dashed | - case CSS_PROP_BORDER_BOTTOM_STYLE: // solid | double | groove | ridge | inset | outset | -tdehtml-native + case CSS_PROP_BORDER_BOTTOM_STYLE: // solid | double | groove | ridge | inset | outset | -khtml-native case CSS_PROP_BORDER_LEFT_STYLE: //// if (id >= CSS_VAL__TDEHTML_NATIVE && id <= CSS_VAL_DOUBLE) valid_primitive = true; |