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

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/radicals/root-parameters-2-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/not-participating-to-parent-layout-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/width-height-001-expected.txt
    M 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/relations/css-styling/width-height-001-expected.txt
    M LayoutTests/platform/glib/mathml/presentation/roots-expected.txt
    M 
LayoutTests/platform/gtk/imported/w3c/web-platform-tests/mathml/relations/css-styling/not-participating-to-parent-layout-expected.txt
    M LayoutTests/platform/ios/mathml/presentation/roots-expected.txt
    M LayoutTests/platform/mac/mathml/presentation/roots-expected.txt
    M Source/WebCore/rendering/mathml/RenderMathMLRoot.cpp
    M Source/WebCore/rendering/mathml/RenderMathMLRoot.h

  Log Message:
  -----------
  MathML <mroot>: clamp RadicalKernBefore/AfterDegree
https://bugs.webkit.org/show_bug.cgi?id=276427

Reviewed by Rob Buis.

Implements the clamping described in MathML Core.
See https://w3c.github.io/mathml-core/#root-with-index

* 
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/radic3als/root-parameters-2-expected.txt:
 This test passes.
* 
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/not-participating-to-parent-layout-expected.txt:
 tweak the failure message.
* 
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/width-height-001-expected.txt:
 ditto.
* 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/relations/css-styling/width-height-001-expected.txt:
 ditto.
* LayoutTests/platform/glib/mathml/presentation/roots-expected.txt: update 
render tree expectation.
* 
LayoutTests/platform/gtk/imported/w3c/web-platform-tests/mathml/relations/css-styling/not-participating-to-parent-layout-expected.txt:
 tweak the failure message.
* LayoutTests/platform/ios/mathml/presentation/roots-expected.txt: update 
render tree expectation.
* LayoutTests/platform/mac/mathml/presentation/roots-expected.txt: update 
render tree expectation.
* Source/WebCore/rendering/mathml/RenderMathMLRoot.cpp:
(WebCore::RenderMathMLRoot::horizontalParameters): add a indexWidth parameter 
and perform the clamping fromt the spec.
(WebCore::RenderMathMLRoot::computePreferredLogicalWidths): pass the preferred 
width of the index to the helper.
(WebCore::RenderMathMLRoot::layoutBlock): pass the width of the index to the 
helper.
(WebCore::RenderMathMLRoot::paint): ditto.
* Source/WebCore/rendering/mathml/RenderMathMLRoot.h: add indexWidth parameter 
too.

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