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

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

Issue 2842983002: [LayoutNG] Paint inlines from the fragment tree
Patch Set: Rebase w/HEAD 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 8ad7c16893aa134ac131ba1958df40e5d137931a..ba9f0df586e3360417b9ef531ea28b8ce5b5ed04 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,
« no previous file with comments | « third_party/WebKit/Source/core/paint/BoxDecorationData.cpp ('k') | third_party/WebKit/Source/core/paint/NGBlockFlowPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698