mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 22:40:27 +02:00
TurboPower_ipro: Fix relative font size.
git-svn-id: trunk@58895 -
This commit is contained in:
parent
b65618119a
commit
2a57c469be
@ -7682,7 +7682,6 @@ begin
|
||||
LoadAndApplyCSSProps;
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
NextToken;
|
||||
ParseBodyText(Body, EndTokens + [IpHtmlTagBODYend]);
|
||||
EnsureClosure(IpHtmlTagBODYend, EndTokens);
|
||||
@ -12864,6 +12863,9 @@ function TIpHtmlNodeCore.GetFontSizeFromCSS(CurrentFontSize:Integer;
|
||||
else
|
||||
if (FParentNode is TIpHtmlNodeGenInline) then
|
||||
result := TIpHtmlNodeGenInline(FparentNode).Props.FontSize
|
||||
else
|
||||
if (FParentNode is TIpHtmlNodeHtml) or (FParentNode = nil) then
|
||||
Result := 14
|
||||
else
|
||||
result := CurrentFontSize;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user