commit | 150a1839886ffde6659dbc249f942d7868096390 | [log] [tgz] |
---|---|---|
author | Rakina Zata Amni <rakina@chromium.org> | Thu Oct 11 21:05:38 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Oct 11 21:05:38 2018 |
tree | fe7bd4ff98ef4f237415e21efc64f5adcb01818f | |
parent | efcb830916aa5c200c9c8fef9ca7a68954778e0d [diff] |
Bail out of computing style for invisible elements Previously style for invisible elements are still computed but changed to have the value display:none at the end of computation through StyleAdjuster. This CL moves the check for invisible attribute to near the start of Element::StyleForLayoutObject so that we won't waste time computing style for invisible elements. Bug: 873057 Change-Id: I21a9f3fe4b8ddacf781d0e5e3de54f3bb0b04b17 Reviewed-on: https://chromium-review.googlesource.com/c/1276066 Commit-Queue: Rakina Zata Amni <rakina@chromium.org> Reviewed-by: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#598934}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .