Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3508e5178b11671923b00f1793cbdb9c40bac3fc
      
https://github.com/WebKit/WebKit/commit/3508e5178b11671923b00f1793cbdb9c40bac3fc
  Author: Zak Ridouh <[email protected]>
  Date:   2026-02-17 (Tue, 17 Feb 2026)

  Changed paths:
    M Source/WebCore/mathml/MathMLOperatorDictionary.cpp
    M Source/WebCore/mathml/MathMLOperatorDictionary.h
    M Source/WebCore/mathml/MathMLOperatorElement.cpp
    M Source/WebCore/rendering/updating/RenderTreeBuilderMathML.cpp

  Log Message:
  -----------
  Modernize MathMLOperatorDictionary::Form to scoped enum class
https://bugs.webkit.org/show_bug.cgi?id=307915
rdar://170400220

Reviewed by Vitor Roriz.

Convert MathMLOperatorDictionary::Form from C-style enum to
enum class : uint8_t for stronger type safety and to prevent
implicit int conversions.

* Source/WebCore/mathml/MathMLOperatorDictionary.cpp:
Add std::to_underlying aliases for dictionary table compatibility.
* Source/WebCore/mathml/MathMLOperatorDictionary.h:
* Source/WebCore/mathml/MathMLOperatorElement.cpp:
(WebCore::MathMLOperatorElement::computeDictionaryProperty):
* Source/WebCore/rendering/updating/RenderTreeBuilderMathML.cpp:
(WebCore::RenderTreeBuilder::MathML::makeFences):
(WebCore::RenderTreeBuilder::MathML::attach):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to