Bug 208606

Summary: [VNE layout] Move visually non-empty content reporting to RenderTreeBuilder
Product: WebKit Reporter: alan baradlay <zalan>
Component: Layout and RenderingAssignee: alan baradlay <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, commit-queue, esprehn+autocc, ews-watchlist, glenn, koivisto, kondapallykalyan, mmaxfield, pdr, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

alan baradlay
Reported 2020-03-04 14:36:29 PST
from the renderer c'tors
Attachments
Patch (10.96 KB, patch)
2020-03-04 14:42 PST, alan baradlay
no flags
Patch (11.06 KB, patch)
2020-03-04 16:23 PST, alan baradlay
no flags
Radar WebKit Bug Importer
Comment 1 2020-03-04 14:36:53 PST
alan baradlay
Comment 2 2020-03-04 14:42:26 PST
Simon Fraser (smfr)
Comment 3 2020-03-04 14:46:40 PST
Comment on attachment 392487 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=392487&action=review > Source/WebCore/rendering/updating/RenderTreeBuilder.cpp:925 > + if (style.visibility() == Visibility::Visible && !style.fontCascade().isLoadingCustomFonts()) { The isLoadingCustomFonts() seems wrong. It might be loading custom fonts but rendering with the fallback font, right? There's CSS to control this. Also I guess we don't care about style.visibility() == Hidden on an ancestor?
alan baradlay
Comment 4 2020-03-04 14:47:46 PST
(In reply to Simon Fraser (smfr) from comment #3) > Comment on attachment 392487 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=392487&action=review > > > Source/WebCore/rendering/updating/RenderTreeBuilder.cpp:925 > > + if (style.visibility() == Visibility::Visible && !style.fontCascade().isLoadingCustomFonts()) { > > The isLoadingCustomFonts() seems wrong. It might be loading custom fonts but > rendering with the fallback font, right? There's CSS to control this. > > Also I guess we don't care about style.visibility() == Hidden on an ancestor? Yeah. This is very basic.
alan baradlay
Comment 5 2020-03-04 16:23:01 PST
WebKit Commit Bot
Comment 6 2020-03-04 19:46:26 PST
Comment on attachment 392503 [details] Patch Clearing flags on attachment: 392503 Committed r257899: <https://trac.webkit.org/changeset/257899>
WebKit Commit Bot
Comment 7 2020-03-04 19:46:28 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.