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

Unified Diff: third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp

Issue 2842983002: [LayoutNG] Paint inlines from the fragment tree
Patch Set: Basic box painting support 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/paint/InlineTextBoxPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
index e98f0bedae560d1df487c5a4541b7a77c8b2a0e3..2b202ae1b9a5572348c85f246c49961d7a350a51 100644
--- a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
@@ -67,6 +67,9 @@ static LineLayoutItem EnclosingUnderlineObject(
}
}
+// TODO(eae): Move
+// Needs offset for root baseline and and logical top for self
+// and furthers position for underline
static int ComputeUnderlineOffsetForUnder(
const ComputedStyle& style,
const InlineTextBox* inline_text_box,

Powered by Google App Engine
This is Rietveld 408576698