Changeset 229847 in webkit


Ignore:
Timestamp:
Mar 22, 2018 4:31:47 AM (6 years ago)
Author:
fred.wang@free.fr
Message:

[MathML] Import WPT test to replace mathml/opentype/large-operators-italic-correction.html
https://bugs.webkit.org/show_bug.cgi?id=183891

Patch by Frederic Wang <fwang@igalia.com> on 2018-03-22
Reviewed by Manuel Rego Casasnovas.

LayoutTests/imported/w3c:

Import WPT test added in https://github.com/w3c/web-platform-tests/pull/9993.

  • web-platform-tests/fonts/math/largeop-displayoperatorminheight2000-2AFF-italiccorrection3000.woff: Added.
  • web-platform-tests/fonts/math/w3c-import.log:
  • web-platform-tests/mathml/presentation-markup/scripts/subsup-parameters-2-expected.txt: Added.
  • web-platform-tests/mathml/presentation-markup/scripts/subsup-parameters-2.html: Added.
  • web-platform-tests/mathml/presentation-markup/scripts/w3c-import.log:
  • web-platform-tests/mathml/tools/largeop.py:

LayoutTests:

Remove large-operators-italic-correction.html. Italic correction is tested more completely by
a new WPT test that does not require Latin Modern Math to be installed on the try bots.

  • mathml/opentype/large-operators-italic-correction-expected.txt: Removed.
  • mathml/opentype/large-operators-italic-correction.html: Removed.
  • platform/ios/TestExpectations: Remove test expectation.
  • platform/mac/TestExpectations: Ditto.
  • platform/win/TestExpectations: Ditto.
Location:
trunk/LayoutTests
Files:
3 added
2 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r229840 r229847  
     12018-03-22  Frederic Wang  <fwang@igalia.com>
     2
     3        [MathML] Import WPT test to replace mathml/opentype/large-operators-italic-correction.html
     4        https://bugs.webkit.org/show_bug.cgi?id=183891
     5
     6        Reviewed by Manuel Rego Casasnovas.
     7
     8        Remove large-operators-italic-correction.html. Italic correction is tested more completely by
     9        a new WPT test that does not require Latin Modern Math to be installed on the try bots.
     10
     11        * mathml/opentype/large-operators-italic-correction-expected.txt: Removed.
     12        * mathml/opentype/large-operators-italic-correction.html: Removed.
     13        * platform/ios/TestExpectations: Remove test expectation.
     14        * platform/mac/TestExpectations: Ditto.
     15        * platform/win/TestExpectations: Ditto.
     16
    1172018-03-21  Chris Dumez  <cdumez@apple.com>
    218
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r229771 r229847  
     12018-03-22  Frederic Wang  <fwang@igalia.com>
     2
     3        [MathML] Import WPT test to replace mathml/opentype/large-operators-italic-correction.html
     4        https://bugs.webkit.org/show_bug.cgi?id=183891
     5
     6        Reviewed by Manuel Rego Casasnovas.
     7
     8        Import WPT test added in https://github.com/w3c/web-platform-tests/pull/9993.
     9
     10        * web-platform-tests/fonts/math/largeop-displayoperatorminheight2000-2AFF-italiccorrection3000.woff: Added.
     11        * web-platform-tests/fonts/math/w3c-import.log:
     12        * web-platform-tests/mathml/presentation-markup/scripts/subsup-parameters-2-expected.txt: Added.
     13        * web-platform-tests/mathml/presentation-markup/scripts/subsup-parameters-2.html: Added.
     14        * web-platform-tests/mathml/presentation-markup/scripts/w3c-import.log:
     15        * web-platform-tests/mathml/tools/largeop.py:
     16
    1172018-03-20  Antoine Quint  <graouts@apple.com>
    218
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fonts/math/w3c-import.log

    r216354 r229847  
    2626/LayoutTests/imported/w3c/web-platform-tests/fonts/math/fraction-numeratorshiftup11000-rulethickness1000.woff
    2727/LayoutTests/imported/w3c/web-platform-tests/fonts/math/fraction-rulethickness10000.woff
     28/LayoutTests/imported/w3c/web-platform-tests/fonts/math/largeop-displayoperatorminheight2000-2AFF-italiccorrection3000.woff
    2829/LayoutTests/imported/w3c/web-platform-tests/fonts/math/largeop-displayoperatorminheight5000.woff
    2930/LayoutTests/imported/w3c/web-platform-tests/fonts/math/limits-lowerlimitbaselinedropmin3000.woff
  • trunk/LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/w3c-import.log

    r225162 r229847  
    2121/LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/subsup-5.html
    2222/LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/subsup-parameters-1.html
     23/LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/subsup-parameters-2.html
    2324/LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/underover-1.html
    2425/LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-1.html
  • trunk/LayoutTests/imported/w3c/web-platform-tests/mathml/tools/largeop.py

    r225162 r229847  
    1313f[nAryWhiteVerticalBarCodePoint].verticalVariants = "uni2AFF uni2AFF.display"
    1414mathfont.save(f)
     15
     16v1 = 2 * mathfont.em
     17v2 = 3 * mathfont.em
     18f = mathfont.create("largeop-displayoperatorminheight%d-2AFF-italiccorrection%d" % (v1, v2))
     19f.copyright = "Copyright (c) 2018 Igalia S.L."
     20f.math.DisplayOperatorMinHeight = v1
     21mathfont.createSquareGlyph(f, nAryWhiteVerticalBarCodePoint)
     22g = f.createChar(-1, "uni2AFF.display")
     23p = g.glyphPen()
     24p.moveTo(0, 0)
     25p.lineTo(v2, v1)
     26p.lineTo(v2 + mathfont.em, v1)
     27p.lineTo(mathfont.em, 0)
     28p.closePath();
     29g.width = mathfont.em + v2
     30g.italicCorrection = v2
     31f[nAryWhiteVerticalBarCodePoint].verticalVariants = "uni2AFF uni2AFF.display"
     32mathfont.save(f)
  • trunk/LayoutTests/platform/ios/TestExpectations

    r229685 r229847  
    13741374webkit.org/b/160161 mathml/opentype/horizontal-munderover.html [ Skip ]
    13751375
    1376 # These tests require the Latin Modern Math font.
    1377 webkit.org/b/160161 mathml/opentype/large-operators-italic-correction.html [ Skip ]
     1376# This test requires the Latin Modern Math font.
    13781377webkit.org/b/160161 mathml/presentation/bug159513.html [ Skip ]
    13791378
  • trunk/LayoutTests/platform/mac/TestExpectations

    r229835 r229847  
    679679webkit.org/b/160161 mathml/opentype/horizontal-munderover.html [ Skip ]
    680680
    681 # These tests require the Latin Modern Math font.
    682 webkit.org/b/160161 mathml/opentype/large-operators-italic-correction.html [ Skip ]
     681# This test requires the Latin Modern Math font.
    683682webkit.org/b/160161 mathml/presentation/bug159513.html [ Skip ]
    684683
  • trunk/LayoutTests/platform/win/TestExpectations

    r229601 r229847  
    19591959mathml/presentation/mathvariant-tokens.html [ ImageOnlyFailure ]
    19601960mathml/presentation/tokenElements-mathvariant.html [ ImageOnlyFailure ]
    1961 
    1962 # These tests require the Latin Modern Math font.
    1963 mathml/opentype/large-operators-italic-correction.html [ Skip ]
    19641961################################################################################
    19651962#################          End MathML Issues                ####################
Note: See TracChangeset for help on using the changeset viewer.