Modified: trunk/Source/WebCore/ChangeLog (200102 => 200103)
--- trunk/Source/WebCore/ChangeLog 2016-04-26 18:40:41 UTC (rev 200102)
+++ trunk/Source/WebCore/ChangeLog 2016-04-26 19:07:14 UTC (rev 200103)
@@ -1,3 +1,17 @@
+2016-04-26 Zalan Bujtas <[email protected]>
+
+ Add renderer address and needslayout state to inlineboxtree dump.
+ https://bugs.webkit.org/show_bug.cgi?id=157035
+
+ Reviewed by Simon Fraser.
+
+ * rendering/InlineBox.cpp:
+ (WebCore::InlineBox::showLineBox):
+ * rendering/InlineTextBox.cpp:
+ (WebCore::InlineTextBox::showLineBox):
+ * rendering/SimpleLineLayoutFunctions.cpp:
+ (WebCore::SimpleLineLayout::printPrefix):
+
2016-04-26 Fujii Hironori <[email protected]>
[curl] Requests interrupted when using https via proxy
Modified: trunk/Source/WebCore/rendering/InlineBox.cpp (200102 => 200103)
--- trunk/Source/WebCore/rendering/InlineBox.cpp 2016-04-26 18:40:41 UTC (rev 200102)
+++ trunk/Source/WebCore/rendering/InlineBox.cpp 2016-04-26 19:07:14 UTC (rev 200103)
@@ -108,7 +108,7 @@
void InlineBox::showLineBox(bool mark, int depth) const
{
- fprintf(stderr, "------- --");
+ fprintf(stderr, "-------- %c-", isDirty() ? 'D' : '-');
int printedCharacters = 0;
if (mark) {
fprintf(stderr, "*");
Modified: trunk/Source/WebCore/rendering/InlineTextBox.cpp (200102 => 200103)
--- trunk/Source/WebCore/rendering/InlineTextBox.cpp 2016-04-26 18:40:41 UTC (rev 200102)
+++ trunk/Source/WebCore/rendering/InlineTextBox.cpp 2016-04-26 19:07:14 UTC (rev 200103)
@@ -1073,7 +1073,7 @@
void InlineTextBox::showLineBox(bool mark, int depth) const
{
- fprintf(stderr, "------- --");
+ fprintf(stderr, "-------- %c-", isDirty() ? 'D' : '-');
int printedCharacters = 0;
if (mark) {
@@ -1087,7 +1087,7 @@
value = value.substring(start(), len());
value.replaceWithLiteral('\\', "\\\\");
value.replaceWithLiteral('\n', "\\n");
- fprintf(stderr, "%s (%.2f, %.2f) (%.2f, %.2f) (%p) run(%d, %d) \"%s\"\n", boxName(), x(), y(), width(), height(), this, start(), start() + len(), value.utf8().data());
+ fprintf(stderr, "%s (%.2f, %.2f) (%.2f, %.2f) (%p) renderer->(%p) run(%d, %d) \"%s\"\n", boxName(), x(), y(), width(), height(), this, &renderer(), start(), start() + len(), value.utf8().data());
}
#endif
Modified: trunk/Source/WebCore/rendering/SimpleLineLayoutFunctions.cpp (200102 => 200103)
--- trunk/Source/WebCore/rendering/SimpleLineLayoutFunctions.cpp 2016-04-26 18:40:41 UTC (rev 200102)
+++ trunk/Source/WebCore/rendering/SimpleLineLayoutFunctions.cpp 2016-04-26 19:07:14 UTC (rev 200103)
@@ -217,7 +217,7 @@
#if ENABLE(TREE_DEBUGGING)
static void printPrefix(int& printedCharacters, int depth)
{
- fprintf(stderr, "------- --");
+ fprintf(stderr, "-------- --");
printedCharacters = 0;
while (++printedCharacters <= depth * 2)
fputc(' ', stderr);