To see the resulting fragment tree is via: ShowFragmentTree() do we need to build the entire chromium in debug mode since it is invoked from debugger or is there an easier way to call the method?
On Thursday, April 27, 2023 at 10:05:07 PM UTC+5:30 ikilp...@chromium.org wrote: > You can access the fragments via. LayoutBox::PhysicalFragments() . Note > there may be more than one if the box has been fragmented (a child within a > "columns: 2" element). > > The easiest way to see the resulting fragment tree is via: > ShowFragmentTree() - > https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/layout/ng/ng_physical_fragment.h;l=783;bpv=1;bpt=1?q=showfragmenttree&ss=chromium > > Ian > > On Thu, Apr 27, 2023 at 9:25 AM Kiara <shettyt...@gmail.com> wrote: > >> Since I'm new to blink I wanted to know how do we obtain the immutable >> fragment tree from the layout tree.What methods facilates this. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "blink-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to blink-dev+...@chromium.org. >> To view this discussion on the web visit >> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6351f0dd-6051-4f30-9b68-564707d2be0dn%40chromium.org >> >> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6351f0dd-6051-4f30-9b68-564707d2be0dn%40chromium.org?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/afb2dcef-5b2d-4ad1-ab21-198b7dce6141n%40chromium.org.