Make the CSS 'ch' length unit work in most cases. b=363573 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@217089 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -183,7 +183,7 @@ GetWidthInfo(nsIRenderingContext *aRenderingContext,
|
||||
// XXX Should col frame have border/padding considered?
|
||||
if (aCellFrame) {
|
||||
nsIFrame::IntrinsicWidthOffsetData offsets =
|
||||
aCellFrame->IntrinsicWidthOffsets();
|
||||
aCellFrame->IntrinsicWidthOffsets(aRenderingContext);
|
||||
// XXX Should we ignore percentage padding?
|
||||
nscoord add = offsets.hPadding + offsets.hBorder;
|
||||
minCoord += add;
|
||||
|
||||
Reference in New Issue
Block a user