зеркало из https://github.com/mozilla/gecko-dev.git
Don't allow consecutive images to wrap in table cells with percentage width. r=kmcclusk sr=waterson b=100568
This commit is contained in:
Родитель
2e9bb5e0dd
Коммит
c4b5ba5576
|
@ -123,7 +123,6 @@ static PRBool InUnconstrainedTableCell(const nsHTMLReflowState& aBlockReflowStat
|
|||
NS_ASSERTION(parentReflowState->mStylePosition, "null stylePosition in parentReflowState unexpected");
|
||||
if(parentReflowState->mStylePosition) {
|
||||
switch(parentReflowState->mStylePosition->mWidth.GetUnit()) {
|
||||
case eStyleUnit_Percent :
|
||||
case eStyleUnit_Auto :
|
||||
case eStyleUnit_Null :
|
||||
result = PR_TRUE;
|
||||
|
|
|
@ -123,7 +123,6 @@ static PRBool InUnconstrainedTableCell(const nsHTMLReflowState& aBlockReflowStat
|
|||
NS_ASSERTION(parentReflowState->mStylePosition, "null stylePosition in parentReflowState unexpected");
|
||||
if(parentReflowState->mStylePosition) {
|
||||
switch(parentReflowState->mStylePosition->mWidth.GetUnit()) {
|
||||
case eStyleUnit_Percent :
|
||||
case eStyleUnit_Auto :
|
||||
case eStyleUnit_Null :
|
||||
result = PR_TRUE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче