Need to update first-line when font finish loading.

Another regression from baseLayoutStyle implementation where operator==
is not affected by the loading/loaded state of web fonts. To get a re-
layout and re-rendering when a web font loading state changes, we need to
check for the loading state. In this case, there was a missing check for
::first-line pseudo style.

Also, moved the code which marks for re-layout with accompanying FIXME
into LayoutObject.

BUG=501564,504864
TEST=fast/text/ellipsis-platform-font-change.html

Review URL: https://codereview.chromium.org/1209253006

git-svn-id: svn://svn.chromium.org/blink/trunk@198048 bbb929c8-8fbe-4397-9dbb-9b2b20218538
4 files changed
tree: 54ad97032fc09f85ecc369f1cf212452b011a690
  1. third_party/