Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c7a68fb07eb2a5d105c51c17277629bd11173f61
      
https://github.com/WebKit/WebKit/commit/c7a68fb07eb2a5d105c51c17277629bd11173f61
  Author: Frédéric Wang <[email protected]>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/border-002-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/margin-003-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/padding-002-expected.txt
    M 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/border-002-expected.txt
    M 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/margin-003-expected.txt
    M 
LayoutTests/platform/gtk/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/padding-002-expected.txt
    M 
LayoutTests/platform/ios/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/padding-002-expected.txt
    M 
LayoutTests/platform/mac/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/padding-002-expected.txt
    M Source/WebCore/rendering/mathml/RenderMathMLUnderOver.cpp

  Log Message:
  -----------
  Support border/margin/padding on munderover/munder/mover
https://bugs.webkit.org/show_bug.cgi?id=276307

Reviewed by Rob Buis.

This implements support for border/margin/padding on the munder, mover
and munderover elements according to the rules from MathML Core:

- When handling boxes of children during math layout, we consider *margin*
  boxes. `recomputeLogicalWidth()` is already called during the layout
  of children to set the inline margins (this does not seem enough for
  preferred width calculations though, but will be considered in
  follow-up patches). This patchs adds a call to call
  `computeAndSetBlockDirectionMargins()` on each child in order to set
  their block margins.

- Current math layout is modified so that padding/border are added around
  the current layout in order to obtain the border box.

Canonical link: https://commits.webkit.org/280746@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