Skip to content

Commit a519741

Browse files
introfogiText-CI
authored andcommitted
Add HEIGHT constant to CssDefaults
DEVSIX-4139 Autoported commit. Original commit hash: [03de35471]
1 parent 01e3cb2 commit a519741

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

itext/itext.styledxmlparser/itext/styledxmlparser/css/CommonCssConstants.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,9 @@ static CommonCssConstants() {
411411
/// <summary>The Constant WIDTH.</summary>
412412
public const String WIDTH = "width";
413413

414+
/// <summary>The Constant HEIGHT.</summary>
415+
public const String HEIGHT = "height";
416+
414417
/// <summary>The Constant WORDWRAP.</summary>
415418
public const String WORDWRAP = "word-wrap";
416419

itext/itext.styledxmlparser/itext/styledxmlparser/css/resolve/CssDefaults.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ static CssDefaults() {
9191
defaultValues.Put(CommonCssConstants.FONT_STYLE, CommonCssConstants.NORMAL);
9292
defaultValues.Put(CommonCssConstants.FONT_VARIANT, CommonCssConstants.NORMAL);
9393
defaultValues.Put(CommonCssConstants.FONT_WEIGHT, CommonCssConstants.NORMAL);
94+
defaultValues.Put(CommonCssConstants.HEIGHT, CommonCssConstants.AUTO);
9495
defaultValues.Put(CommonCssConstants.HYPHENS, CommonCssConstants.MANUAL);
9596
defaultValues.Put(CommonCssConstants.LINE_HEIGHT, CommonCssConstants.NORMAL);
9697
defaultValues.Put(CommonCssConstants.LIST_STYLE_TYPE, CommonCssConstants.DISC);

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5d6d8c292fa407f470bd18249ecc7dca89f95048
1+
03de354714344c9151ff857973f4cb3db01aada0

0 commit comments

Comments
 (0)