Even though the name for computeLogicalWidthInRegion() suggest it's CSS Regions specific, it actually contains more general code and more often than not, it's called with region = 0. This should be renamed or refactored.
CSS Regions were removed in Bug 174978.