Fieldset NG: Fix mask painting
PaintMask() should take care of the rendered legend. - NGBoxFragmentPainter::PaintMask() checks if the fragment is a fieldset container, and delegate to NGFieldsetPainter if so. - NGFieldsetPainter::PaintMask() creates FieldsetPaintInfo, and adjust the paint rectangle. - NGFieldsetPainter now has CreateFieldsetPaintInfo() to share FieldsetPaintInfo creation logic between PaintMask() and PaintBoxDecorationBackground(). - Merge NGFieldsetPainter::PaintFieldsetDecorationBackground() into PaintDecorationBackground(). Bug: 875235 Change-Id: If6f7e709db538f99d699458938f5a1b2db9a8e47 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2348229 Commit-Queue: Kent Tamura <tkent@chromium.org> Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#796808}
Showing
Please register or sign in to comment