Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: third_party/WebKit/Source/core/layout/ng/inline/ng_inline_item_result.h

Issue 2910133002: [LayoutNG] Handle empty inlines and border edges (Closed)
Patch Set: Rebase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/ng/inline/ng_inline_item_result.h
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_item_result.h b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_item_result.h
index 12dd1b6558bc9a8865c190d12dcc3c88d255452f..2be86d0b161929295392d87a2d9782f7082a6690 100644
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_item_result.h
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_item_result.h
@@ -39,9 +39,13 @@ struct CORE_EXPORT NGInlineItemResult {
// NGLayoutResult for atomic inline items.
RefPtr<NGLayoutResult> layout_result;
- // NGBoxStrut for atomic inline items.
+ // Margins for atomic inline items and open/close tags.
NGBoxStrut margins;
+ // Borders/padding for open tags.
+ LayoutUnit borders_paddings_block_start;
+ LayoutUnit borders_paddings_block_end;
+
// Inside of this is not breakable.
// Used only during line breaking.
unsigned no_break_opportunities_inside : 1;

Powered by Google App Engine
This is Rietveld 408576698