0.2.0-dev Download ZIP
50 lines ·3.3 KB Raw
| 1 | EvilEngine.Html |
| 2 | |
| 3 | 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/. |
| 4 | |
| 5 | 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. |
| 6 | |
| 7 | 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: |
| 8 | |
| 9 | - layout/generic: nsBlockFrame.cpp, BlockReflowState.cpp, nsBlockReflowContext.cpp, nsIFrame.cpp, ScrollContainerFrame.cpp, TextOverflow.cpp, nsFlexContainerFrame.cpp, nsGridContainerFrame.cpp, CSSAlignUtils.cpp, nsFieldSetFrame.cpp |
| 10 | - layout/tables: BasicTableLayoutStrategy.cpp, FixedTableLayoutStrategy.cpp, nsCellMap.cpp, nsTableCellFrame.cpp, nsTableColFrame.h |
| 11 | - layout/painting: nsCSSRendering.cpp, nsCSSRenderingBorders.cpp, DisplayItemClip.cpp, nsDisplayList.cpp |
| 12 | - 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 |
| 13 | - layout/xul: nsScrollbarFrame.cpp, nsSliderFrame.cpp |
| 14 | - gfx: src/nsFontMetrics.cpp, src/nsColor.cpp, thebes/gfxTextRun.cpp, thebes/gfxBlur.cpp, 2d/Rect.h, and WebRender's border.rs |
| 15 | - dom/html: HTMLDetailsElement.cpp, HTMLSummaryElement.cpp, HTMLLegendElement.cpp and the HTMLTable*Element.cpp files |
| 16 | - widget: nsXPLookAndFeel.cpp |
| 17 | |
| 18 | Resources/BulletFont.ttf is Gecko's -moz-bullet-font, the font html.css embeds for list bullets and disclosure triangles, under the same licence. |
| 19 | |
| 20 | The box shadow blur in BoxShadows.cs follows Skia's mask blur (SkMaskBlurFilter, https://skia.org), which is under the following licence: |
| 21 | |
| 22 | Copyright (c) 2011 Google Inc. All rights reserved. |
| 23 | |
| 24 | Redistribution and use in source and binary forms, with or without |
| 25 | modification, are permitted provided that the following conditions are |
| 26 | met: |
| 27 | |
| 28 | * Redistributions of source code must retain the above copyright |
| 29 | notice, this list of conditions and the following disclaimer. |
| 30 | |
| 31 | * Redistributions in binary form must reproduce the above copyright |
| 32 | notice, this list of conditions and the following disclaimer in |
| 33 | the documentation and/or other materials provided with the |
| 34 | distribution. |
| 35 | |
| 36 | * Neither the name of the copyright holder nor the names of its |
| 37 | contributors may be used to endorse or promote products derived |
| 38 | from this software without specific prior written permission. |
| 39 | |
| 40 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 41 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 42 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 43 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 44 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 45 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 46 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 47 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 48 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 49 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 50 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |