<div> handling fix (Xavier Nodet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ea8f6fc718
commit
c5448f38d7
@ -96,6 +96,7 @@ wxMSW:
|
|||||||
wxHTML:
|
wxHTML:
|
||||||
|
|
||||||
- improved tables layout algorithm (Tim Kosse)
|
- improved tables layout algorithm (Tim Kosse)
|
||||||
|
- <div> handling fix (Xavier Nodet)
|
||||||
|
|
||||||
|
|
||||||
2.5.1
|
2.5.1
|
||||||
|
@ -260,11 +260,20 @@ TAG_HANDLER_BEGIN(DIV, "DIV")
|
|||||||
else
|
else
|
||||||
c->SetAlignHor(old);
|
c->SetAlignHor(old);
|
||||||
|
|
||||||
return TRUE;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return FALSE;
|
// Same as BR
|
||||||
|
int al = m_WParser->GetContainer()->GetAlignHor();
|
||||||
|
wxHtmlContainerCell *c;
|
||||||
|
|
||||||
|
m_WParser->CloseContainer();
|
||||||
|
c = m_WParser->OpenContainer();
|
||||||
|
c->SetAlignHor(al);
|
||||||
|
c->SetAlign(tag);
|
||||||
|
c->SetMinHeight(m_WParser->GetCharHeight());
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user