1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 18:45:10 +00:00

LibWeb: Remove ancient HTML_DEBUG debug logging

This commit is contained in:
Andreas Kling 2020-11-19 22:21:16 +01:00
parent 6a569bbdd7
commit 10b534849d
6 changed files with 1 additions and 29 deletions

View file

@ -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.