Fix changes in the snap-height property to invalidate layout

This patch fixes changes in the snap-height property to invalidate
layout properly. Changes in the snap-height property should have the
same invalidation as the line-height property.

The test was imported from csswg-test in crrev.com/376661.

BUG=586413
TEST=imported/csswg-test/css-snap-size-1/snap-height-dynamic-001.html

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

Cr-Commit-Position: refs/heads/master@{#376673}
2 files changed