diff options
author | Andreas Kling <kling@serenityos.org> | 2020-11-19 22:21:16 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-11-19 23:10:21 +0100 |
commit | 10b534849dcb07fbaa600e5c5b58ca784ced7737 (patch) | |
tree | 24f4aa709e159ffdfb52731a9a597702db357762 /Libraries/LibWeb/Layout/LayoutBlock.cpp | |
parent | 6a569bbdd76a23d0875fa06c10e4ddb5838b0259 (diff) | |
download | serenity-10b534849dcb07fbaa600e5c5b58ca784ced7737.zip |
LibWeb: Remove ancient HTML_DEBUG debug logging
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutBlock.cpp')
-rw-r--r-- | Libraries/LibWeb/Layout/LayoutBlock.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutBlock.cpp b/Libraries/LibWeb/Layout/LayoutBlock.cpp index 073bc24267..d0acaa4e89 100644 --- a/Libraries/LibWeb/Layout/LayoutBlock.cpp +++ b/Libraries/LibWeb/Layout/LayoutBlock.cpp @@ -450,10 +450,6 @@ void LayoutBlock::compute_width() total_px += value.to_px(*this); } -#ifdef HTML_DEBUG - dbg() << "Total: " << total_px; -#endif - if (!is_replaced() && !is_inline()) { // 10.3.3 Block-level, non-replaced elements in normal flow // If 'width' is not 'auto' and 'border-left-width' + 'padding-left' + 'width' + 'padding-right' + 'border-right-width' (plus any of 'margin-left' or 'margin-right' that are not 'auto') is larger than the width of the containing block, then any 'auto' values for 'margin-left' or 'margin-right' are, for the following rules, treated as zero. |