Test NeedsCollectInlines for text-decorations and outline changes
The purpose of this test is to ensure |NeedsCollectInlines| is not set by `text-decoration-line`, because it is one of the most expensive operations, and the property is often changed dynamically (e.g., hover on links.) r807433 crrev.com/c/2411300 changed it to test `text-decoration-color` instead, because it changed `text-decoration-line` to invalidate visual overflow, and because crbug.com/1043927 added a workaround to |SetNeedsLayoutAndIntrinsicWidthsRecalc| when |NeedsRecomputeVisualOverflow| for NG inline objects. This patch changes the test to: * Change to test `text-decoration-line` property. * Change to expect |NeedsLayout| is set, with TODO comment. * Add `outline` property, another property commonly changed dynamically (e.g., focus ring.) Bug: 1128199, 1043927 Change-Id: I879582916d45a9374fada4e8d42f5baca95adabb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2423766Reviewed-by:Stephen Chenney <schenney@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#809728}
Showing
Please register or sign in to comment