| Summary: | [IFC][Partial layout] Editing constructs individual renderers for "new line" when typing in textarea | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | zalan <zalan> | ||||||||||||||||||
| Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||||||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||||||||
| Severity: | Normal | CC: | bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan | ||||||||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||
|
Description
zalan
2023-03-11 19:53:37 PST
Created attachment 465399 [details]
Patch
Created attachment 465400 [details]
Patch
--- a/Source/WebCore/layout/layouttree/LayoutElementBox.cpp
+++ b/Source/WebCore/layout/layouttree/LayoutElementBox.cpp
@@ -118,6 +118,29 @@ void ElementBox::appendChild(UniqueRef<Box> childRef)
nextOrFirst = WTFMove(childBox);
}
+void ElementBox::insertChild(UniqueRef<Box> childRef, Box* beforeChild)
+{
we can probably replace use of appendChild with insertChild(child, nullptr)
Created attachment 465407 [details]
Patch
Created attachment 465418 [details]
Patch
Created attachment 465421 [details]
Patch
Created attachment 465474 [details]
Patch
Created attachment 465491 [details]
Patch
Created attachment 465495 [details]
[fast-cq]Patch
Committed 261833@main (2dbdc010d549): <https://commits.webkit.org/261833@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 465495 [details]. |