Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0e023c832420d3c293dc452aad1823d29403a78e
      
https://github.com/WebKit/WebKit/commit/0e023c832420d3c293dc452aad1823d29403a78e
  Author: Diego Pino Garcia <[email protected]>
  Date:   2025-10-09 (Thu, 09 Oct 2025)

  Changed paths:
    M Source/WebCore/rendering/RenderBlock.cpp

  Log Message:
  -----------
  [GCC] Fix build after 300911@main
https://bugs.webkit.org/show_bug.cgi?id=299972

Reviewed by Adrian Perez de Castro.

GCC12 and lower return build error in 'StyleLengthWrapper.h':

error: invalid use of non-static data member 
‘WebCore::Style::PrimitiveNumeric<WebCore::CSS::Percentage<WebCore::CSS::Range{0.0,
 +Inf, WebCore::CSS::RangeClampOptions::Default, 
WebCore::CSS::RangeZoomOptions::Default}, float> >::value’

Changeset 298558@main fixed the same kind of error, although related to
compilation of PrimitiveKeyword in GCC12 or lower. The solution was to
fix the build failure by adding an alternative implementation of the
faulting code specific for GCC12 or lower.

This patch follows a similar approach.

* Source/WebCore/rendering/RenderBlock.cpp:
(WebCore::RenderBlock::isSelfCollapsingBlock const):

Canonical link: https://commits.webkit.org/301265@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to