Ignore style changes on text node flowthread descendants.

Text nodes inherit every property from their parent, including non-inheritable
ones! If the parent DOM node is the multicol container, and its 'position' goes
from 'static' to 'absolute', so will any text node child, as far as
ComputedStyle is concerned. If the multicol container only contains a text node
child, we'd incorrectly think that the multicol container started to only
contain an out-of-flow child, so that the column set could be removed.

Also don't notify the flowthread about descendant style changes if the
descendant in question is the flow thread (Calling flowThreadContainingBlock()
on the flow thread returns the flow thread). There's currently no way any harm
could be done if the flow tread were indeed treated as a descendant of itself
here, but it's just wrong and bad.

BUG=491409
R=dsinclair@chromium.org,jchaffraix@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@196508 bbb929c8-8fbe-4397-9dbb-9b2b20218538
3 files changed