Treat zero-width collapsed borders as invisible
We have fast-path for invisible collapsed borders. Treating zero- width as invisible can improve performance in the case. Also move core/style/CollapsedBorderValue.h to core/layout because the structure is not used by any style code. This CL will reduce frame time of PerformanceTests/Mutation/background-change-with-zero-width-collapsed-borders.html (in https://codereview.chromium.org/2842313002/) by about 50%. Review-Url: https://codereview.chromium.org/2842323002 Cr-Commit-Position: refs/heads/master@{#467741}
Showing
Please register or sign in to comment