Title: [277513] trunk/Source/WebCore
- Revision
- 277513
- Author
- [email protected]
- Date
- 2021-05-14 15:32:03 -0700 (Fri, 14 May 2021)
Log Message
[LFC] Add enclosing line top/bottom to showInlineTreeAndRuns
https://bugs.webkit.org/show_bug.cgi?id=225821
Reviewed by Simon Fraser.
* layout/layouttree/LayoutTreeBuilder.cpp:
(WebCore::Layout::showInlineTreeAndRuns):
* page/FrameViewLayoutContext.cpp:
(WebCore::FrameViewLayoutContext::layout):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (277512 => 277513)
--- trunk/Source/WebCore/ChangeLog 2021-05-14 22:27:45 UTC (rev 277512)
+++ trunk/Source/WebCore/ChangeLog 2021-05-14 22:32:03 UTC (rev 277513)
@@ -1,3 +1,15 @@
+2021-05-14 Alan Bujtas <[email protected]>
+
+ [LFC] Add enclosing line top/bottom to showInlineTreeAndRuns
+ https://bugs.webkit.org/show_bug.cgi?id=225821
+
+ Reviewed by Simon Fraser.
+
+ * layout/layouttree/LayoutTreeBuilder.cpp:
+ (WebCore::Layout::showInlineTreeAndRuns):
+ * page/FrameViewLayoutContext.cpp:
+ (WebCore::FrameViewLayoutContext::layout):
+
2021-05-14 Ryosuke Niwa <[email protected]>
Add ScriptDisallowedScope to MediaPlayerPrivateAVFoundation
Modified: trunk/Source/WebCore/layout/layouttree/LayoutTreeBuilder.cpp (277512 => 277513)
--- trunk/Source/WebCore/layout/layouttree/LayoutTreeBuilder.cpp 2021-05-14 22:27:45 UTC (rev 277512)
+++ trunk/Source/WebCore/layout/layouttree/LayoutTreeBuilder.cpp 2021-05-14 22:32:03 UTC (rev 277513)
@@ -395,7 +395,8 @@
addSpacing();
auto& line = lines[lineIndex];
auto& lineBoxLogicalRect = line.lineBoxLogicalRect();
- stream << "line at (" << lineBoxLogicalRect.left() << "," << lineBoxLogicalRect.top() << ") size (" << lineBoxLogicalRect.width() << "x" << lineBoxLogicalRect.height() << ") baseline (" << line.baseline() << ")";
+ auto enclosingTopAndBottom = line.enclosingTopAndBottom();
+ stream << "line at (" << lineBoxLogicalRect.left() << "," << lineBoxLogicalRect.top() << ") size (" << lineBoxLogicalRect.width() << "x" << lineBoxLogicalRect.height() << ") baseline (" << line.baseline() << ") enclosing top (" << enclosingTopAndBottom.top << ") bottom (" << enclosingTopAndBottom.bottom << ")";
stream.nextLine();
addSpacing();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes