Bug 256701
| Summary: | Fragment blocks with non-visible overflow as normally when printing | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ahmad Saleem
Hi Team,
While going through Blink's commit, I came across another potential merge to fix 'printing' issue.
Blink Commit - https://chromium.googlesource.com/chromium/src.git/+/054e1dec56f7a7a76f64adc9b3a27c94d0778e33
WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/rendering/RenderBox.cpp#5218
Test Case still exist on Blink's source tree.
_______
Spec reference:
The spec https://drafts.csswg.org/css-break/#possible-breaks currently says:
"Some content is not fragmentable, for example many types of replaced elements [CSS21] (such as images or video), scrollable elements, or a single line of text content. Such content is considered monolithic: it contains no possible break points. Any forced breaks within such boxes therefore cannot split the box, and must therefore also be ignored by the box’s own fragmentation context.
______
Behavior is not direct violation of spec but was choice to align Blink with other browser engines except WebKit.
_________
Appreciate if someone can share input and if needed, we can merge this new behavior.
Thanks!
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
alan
seems like a good merge.
EWS
Committed 264059@main (73de3248842c): <https://commits.webkit.org/264059@main>
Reviewed commits have been landed. Closing PR #13854 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/109320964>