Browse Source

fcl-css: comment

mattias 11 months ago
parent
commit
0a6344270a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-css/src/fpcssresolver.pas

+ 1 - 1
packages/fcl-css/src/fpcssresolver.pas

@@ -438,7 +438,7 @@ type
     procedure Init; virtual; // call after adding stylesheets and before computing all nodes
     procedure Init; virtual; // call after adding stylesheets and before computing all nodes
     function GetElPath(El: TCSSElement): TCSSString; virtual;
     function GetElPath(El: TCSSElement): TCSSString; virtual;
     function GetElPos(El: TCSSElement): TCSSString; virtual;
     function GetElPos(El: TCSSElement): TCSSString; virtual;
-    function ParseInlineStyle(const Src: TCSSString): TCSSRuleElement; virtual;
+    function ParseInlineStyle(const Src: TCSSString): TCSSRuleElement; virtual; // must be freed by caller
     procedure Compute(Node: ICSSNode;
     procedure Compute(Node: ICSSNode;
       InlineStyle: TCSSRuleElement; // inline style of Node
       InlineStyle: TCSSRuleElement; // inline style of Node
       out Rules: TCSSSharedRuleList {owned by resolver};
       out Rules: TCSSSharedRuleList {owned by resolver};