[webkit-changes] [WebKit/WebKit] 73de32: Fragment blocks with non-visible overflow as norma...

Ahmad Saleem noreply at github.com
Sun May 14 06:52:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 73de3248842cc21f0547553fda5694324c4ce219
      https://github.com/WebKit/WebKit/commit/73de3248842cc21f0547553fda5694324c4ce219
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2023-05-14 (Sun, 14 May 2023)

  Changed paths:
    A LayoutTests/printing/overflow-auto-expected.html
    A LayoutTests/printing/overflow-auto.html
    M Source/WebCore/rendering/RenderBox.cpp

  Log Message:
  -----------
  Fragment blocks with non-visible overflow as normally when printing

https://bugs.webkit.org/show_bug.cgi?id=256701

Reviewed by Alan Baradlay.

Merge: https://chromium.googlesource.com/chromium/src.git/+/054e1dec56f7a7a76f64adc9b3a27c94d0778e33

Splitting scrollbars into multiple fragmentainers is only problematic
in interactive media.
We don't need to impose any such pagination restrictions when
printing, since printing is non-interactive.

* Source/WebCore/rendering/RenderBox.cpp:
(RenderBox::hasUnsplittableScrollingOverflow): As above
* LayoutTests/printing/overflow-auto.html: Add Test Case (with pixel tolerance)
* LayoutTests/printing/overflow-auto-expected.html: Add Test Case Expectation

Canonical link: https://commits.webkit.org/264059@main




More information about the webkit-changes mailing list