Skip to content

Commit f2fa365

Browse files
committed
fix: Document that extend-footnote-inpage always sets inside-footnote-inpage
1 parent 0f023aa commit f2fa365

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crengine/src/lvstsheet.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3420,6 +3420,7 @@ bool LVCssDeclaration::parse( const char * &decl, bool higher_importance, lxmlDo
34203420
hints = CSS_CR_HINT_NONE_NO_INHERIT;
34213421
}
34223422
else if ( substr_icompare("footnote-inpage", decl) ) hints |= CSS_CR_HINT_FOOTNOTE_INPAGE|CSS_CR_HINT_INSIDE_FOOTNOTE_INPAGE;
3423+
// For now, always set CSS_CR_HINT_INSIDE_FOOTNOTE_INPAGE even if the node might not end up extending a previous footnote
34233424
else if ( substr_icompare("extend-footnote-inpage", decl) ) hints |= CSS_CR_HINT_EXTEND_FOOTNOTE_INPAGE|CSS_CR_HINT_INSIDE_FOOTNOTE_INPAGE;
34243425
else if ( substr_icompare("non-linear", decl) ) hints |= CSS_CR_HINT_NON_LINEAR;
34253426
else if ( substr_icompare("non-linear-combining", decl) ) hints |= CSS_CR_HINT_NON_LINEAR_COMBINING;

0 commit comments

Comments
 (0)