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

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

Issue 2865903002: [LayoutNG] Inline margin/border/padding, inter-item breaking, and tests (Closed)
Patch Set: ikilpatrick review Created 3 years, 7 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 0e527708d8b34d3b98af7c6367f0852931aa722e..12dd1b6558bc9a8865c190d12dcc3c88d255452f 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
@@ -42,6 +42,14 @@ struct CORE_EXPORT NGInlineItemResult {
// NGBoxStrut for atomic inline items.
NGBoxStrut margins;
+ // Inside of this is not breakable.
+ // Used only during line breaking.
+ unsigned no_break_opportunities_inside : 1;
+
+ // Lines must not break after this.
+ // Used only during line breaking.
+ unsigned prohibit_break_after : 1;
+
NGInlineItemResult();
NGInlineItemResult(unsigned index, unsigned start, unsigned end);
};

Powered by Google App Engine
This is Rietveld 408576698