mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 13:07:02 +00:00
fixed: font css properties were not considered when assessing visual identity
This commit is contained in:
@@ -1313,7 +1313,9 @@ var _objectsInRange = function(aList, aRange)
|
||||
{
|
||||
if (newFragmentRuns[i].string !== oldFragmentRuns[i].string ||
|
||||
!_RectEqualToRectHorizontally(newLineFragment._fragmentRect, _fragmentRect ||
|
||||
newFragmentRuns[i].elem.style.color !== oldFragmentRuns[i].elem.style.color))
|
||||
newFragmentRuns[i].elem.style.color !== oldFragmentRuns[i].elem.style.color ||
|
||||
newFragmentRuns[i].elem.style.fontFamily !== oldFragmentRuns[i]. elem.style.fontFamily ||
|
||||
newFragmentRuns[i].elem.style.fontSize !== oldFragmentRuns[i].elem.style.fontSize))
|
||||
return NO;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user