[Webkit-unassigned] [Bug 222537] Nested flex-direction: column + height: 100% blocks make page freezed.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 4 23:43:12 PST 2021


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

--- Comment #3 from forcyacha at gmail.com ---
(In reply to Smoley from comment #1)
> This does not reproduce for me on iOS 14.4 on iPhone XS or iPad Air 2.

Sry. Wrong condition in code.

There is correct code:

console.time("benchmark");
var parentNode = document.body;
for(var i=0; i<20; i++) {
var childNode = document.createElement("div");
childNode.style.display = "flex";
childNode.style.height = "100%";
childNode.style.flexDirection = "column";
parentNode.appendChild(childNode);
parentNode = childNode;
}
childNode.innerHTML = "Text";
var height = document.body.children[0].offsetHeight;
console.timeEnd("benchmark");

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210305/e6b2270b/attachment.htm>


More information about the webkit-unassigned mailing list