[LayoutNG] Correct border painting for fieldset fragmentation
Previously, in a fragmented fieldset its top and bottom borders would paint in every fragment. In this change, we supply the paint border function (inside the fieldset painter) with the sides to include variable. As a result, the top border is only painted in the first fragment and the bottom border is only painted in the last. Bug: 829028 Change-Id: I758795ae7a368d81319ddcd54bea032320100535 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2378812Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Reviewed-by:
Alison Maher <almaher@microsoft.com> Commit-Queue: Ana Sollano Kim <ansollan@microsoft.com> Cr-Commit-Position: refs/heads/master@{#802675}
Showing
Please register or sign in to comment