EvilEngine.Html 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 https://mozilla.org/MPL/2.0/. The notice above applies to every file in this folder and the folders below it. The licence's full text is in LICENSE beside this file. EvilEngine.Html lays pages out and paints them as Firefox does, and its layout, painting and text measurement are ported from Firefox 159 (Gecko, tag FIREFOX_159_0_RELEASE, https://github.com/mozilla-firefox/firefox), which is under the Mozilla Public License 2.0. Among the files it follows: - layout/generic: nsBlockFrame.cpp, BlockReflowState.cpp, nsBlockReflowContext.cpp, nsIFrame.cpp, ScrollContainerFrame.cpp, TextOverflow.cpp, nsFlexContainerFrame.cpp, nsGridContainerFrame.cpp, CSSAlignUtils.cpp, nsFieldSetFrame.cpp - layout/tables: BasicTableLayoutStrategy.cpp, FixedTableLayoutStrategy.cpp, nsCellMap.cpp, nsTableCellFrame.cpp, nsTableColFrame.h - layout/painting: nsCSSRendering.cpp, nsCSSRenderingBorders.cpp, DisplayItemClip.cpp, nsDisplayList.cpp - layout/style: nsStyleStruct.cpp, CounterStyleManager.cpp, nsCSSColorUtils.cpp, and the user agent sheets res/html.css, res/forms.css, res/scrollbars.css and counterstyles.css - layout/xul: nsScrollbarFrame.cpp, nsSliderFrame.cpp - gfx: src/nsFontMetrics.cpp, src/nsColor.cpp, thebes/gfxTextRun.cpp, thebes/gfxBlur.cpp, 2d/Rect.h, and WebRender's border.rs - dom/html: HTMLDetailsElement.cpp, HTMLSummaryElement.cpp, HTMLLegendElement.cpp and the HTMLTable*Element.cpp files - widget: nsXPLookAndFeel.cpp Resources/BulletFont.ttf is Gecko's -moz-bullet-font, the font html.css embeds for list bullets and disclosure triangles, under the same licence. The box shadow blur in BoxShadows.cs follows Skia's mask blur (SkMaskBlurFilter, https://skia.org), which is under the following licence: Copyright (c) 2011 Google Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.