DescriptionTreat 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}
Committed: https://chromium.googlesource.com/chromium/src/+/4a9e4e47495a1c039b1948309bb45bdb8a88f6b5
Patch Set 1 #Messages
Total messages: 10 (6 generated)
|