gecko-dev/layout/mathml/moz.build
Frédéric Wang f14fe86c4a Bug 1874823 - Make nsBlockFrame::Init set NS_BLOCK_STATIC_BFC by checking classes. r=layout-reviewers,AlaskanEmily
The following classes deriving from nsBlockFrame always set
NS_BLOCK_STATIC_BFC in their constructors or initializers:

- nsComboboxControlFrame
- nsFileControlFrame
- nsSelectsAreaFrame
- ColumnSetWrapperFrame
- nsMathMLmathBlockFrame

Do that in nsBlockFrame::Init instead. Behavior is unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D199097
2024-01-24 12:13:42 +00:00

62 lines
1.4 KiB
Python

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
with Files("**"):
BUG_COMPONENT = ("Core", "MathML")
if CONFIG["ENABLE_TESTS"]:
MOCHITEST_CHROME_MANIFESTS += [
"tests/chrome.toml",
]
UNIFIED_SOURCES += [
"nsMathMLChar.cpp",
"nsMathMLContainerFrame.cpp",
"nsMathMLFrame.cpp",
"nsMathMLmencloseFrame.cpp",
"nsMathMLmfracFrame.cpp",
"nsMathMLmmultiscriptsFrame.cpp",
"nsMathMLmoFrame.cpp",
"nsMathMLmpaddedFrame.cpp",
"nsMathMLmrootFrame.cpp",
"nsMathMLmrowFrame.cpp",
"nsMathMLmspaceFrame.cpp",
"nsMathMLmsqrtFrame.cpp",
"nsMathMLmtableFrame.cpp",
"nsMathMLmunderoverFrame.cpp",
"nsMathMLOperators.cpp",
"nsMathMLTokenFrame.cpp",
]
EXPORTS += [
"nsIMathMLFrame.h",
"nsMathMLContainerFrame.h",
"nsMathMLFrame.h",
"nsMathMLOperators.h",
]
include("/ipc/chromium/chromium-config.mozbuild")
FINAL_LIBRARY = "xul"
LOCAL_INCLUDES += [
"../base",
"../generic",
"../painting",
"../style",
"../tables",
"../xul",
"/dom/base",
"/dom/mathml",
]
JAR_MANIFESTS += ["jar.mn"]
RESOURCE_FILES.fonts += [
"mathfont.properties",
"mathfontSTIXGeneral.properties",
"mathfontUnicode.properties",
]