소스 검색

fcl-css: TCSSStringElement = Class(TCSSBaseStringElement)

mattias 2 년 전
부모
커밋
b6a7504665
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      packages/fcl-css/src/fpcsstree.pp

+ 1 - 3
packages/fcl-css/src/fpcsstree.pp

@@ -176,10 +176,9 @@ Type
     Class function CSSType : TCSSType; override;
     Class function CSSType : TCSSType; override;
   end;
   end;
 
 
-  TCSSStringElement = Class(TCSSElement)
+  TCSSStringElement = Class(TCSSBaseStringElement)
   private
   private
     FChildren : TCSSElementList;
     FChildren : TCSSElementList;
-    FValue: UTF8String;
     function GetChildren: TCSSElementList;
     function GetChildren: TCSSElementList;
   protected
   protected
     function GetAsString(aFormat : Boolean; const aIndent : String): UTF8String; override;
     function GetAsString(aFormat : Boolean; const aIndent : String): UTF8String; override;
@@ -188,7 +187,6 @@ Type
     Class function CSSType : TCSSType; override;
     Class function CSSType : TCSSType; override;
     Destructor Destroy; override;
     Destructor Destroy; override;
     Property Children : TCSSElementList Read GetChildren;
     Property Children : TCSSElementList Read GetChildren;
-    Property Value : UTF8String Read FValue Write FValue;
   end;
   end;
 
 
   { TCSSIdentifierElement }
   { TCSSIdentifierElement }