-
Stephen Chenney authored
Back in the day when we did not space dashes very well, it was important to explicitly draw a dash at each endpoint so that the border would have a sharp corner. With recent changes to dashed dawing, we do not need this hack because the dash gap computation leaves correct corners. In addition, the explicit corner leads to the appearance of a dash at the start of narrow dotted lines. So remove the endpoint drawing code for dashes. That leaves narrow dotted borders missing endpoints in some cases, so special case endpoint drawing for narrow dotted borders. R=pdr@chromium.org Bug: 766977 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: Icfcab0bbf57aa0c52e4862ad45f2f8a59213f628 Reviewed-on: https://chromium-review.googlesource.com/718916 Commit-Queue: Stephen Chenney <schenney@chromium.org> Reviewed-by: Florin Malita <fmalita@chromium.org> Reviewed-by: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#510561}
e9f75fa6