[Webkit-unassigned] [Bug 158773] New: Decouple the percent height and positioned descendants maps.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 14 20:07:32 PDT 2016


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

            Bug ID: 158773
           Summary: Decouple the percent height and positioned descendants
                    maps.
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zalan at apple.com
                CC: simon.fraser at apple.com

While we track the elements with percent height through multiple containers (direct parent, indirect parent), a positioned element can only have one containing block.
Sharing the same data structure between these 2 concepts is defective.
precent height element with multiple containers -> typedef WTF::HashMap<const RenderBox*, std::unique_ptr<HashSet<const RenderBlock*>>> TrackedContainerMap;
positioned element with single containing block -> typedef HashMap<const RenderBox*, const RenderBlock*> TrackedContainerMap;

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160615/b9bfc779/attachment.html>


More information about the webkit-unassigned mailing list