Let collapsed border drawings be cacheable
Previously because one table cell may paint its collapsed borders multiple times, we enclose all collapsed border drawings in a ScopeRecorder. However, actually a table cell paints each border only once. When it paint collapsed borders multiple times, it just paint different borders in different time. Use display item type to distinguish the different borders to avoid the ScopeRecorder. Also revert https://codereview.chromium.org/1234463005 to invalidate table cells with changed collapsed borders. BUG=510492 Review URL: https://codereview.chromium.org/1306433002 git-svn-id: svn://svn.chromium.org/blink/trunk@201002 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment