diff --git a/layout/reftests/text-svgglyphs/reftest.list b/layout/reftests/text-svgglyphs/reftest.list index 2dc70130be4d..477bc220f98e 100644 --- a/layout/reftests/text-svgglyphs/reftest.list +++ b/layout/reftests/text-svgglyphs/reftest.list @@ -3,20 +3,20 @@ pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-basic.svg svg pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-invalid-ids.svg svg-glyph-invalid-ids-ref.svg pref(gfx.font_rendering.opentype_svg.enabled,false) != svg-glyph-positioning.svg svg-glyph-positioning-ref.svg pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-positioning.svg svg-glyph-positioning-ref.svg -pref(gfx.font_rendering.opentype_svg.enabled,true) fails-if(winWidget) == svg-glyph-html.html svg-glyph-html-ref.svg # bug 872486 -pref(gfx.font_rendering.opentype_svg.enabled,true) random-if(winWidget) == svg-glyph-direct.svg svg-glyph-direct-ref.svg # bug 872491 +pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-html.html svg-glyph-html-ref.svg +pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-direct.svg svg-glyph-direct-ref.svg pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-invalid.html svg-glyph-invalid-ref.html pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-objectfill-solid.svg svg-glyph-objectfill-solid-ref.svg pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-objectstroke-solid.svg svg-glyph-objectstroke-solid-ref.svg -pref(gfx.font_rendering.opentype_svg.enabled,true) fuzzy(4,6) == svg-glyph-objectgradient.svg svg-glyph-objectgradient-ref.svg # see bug 871961#c5 +pref(gfx.font_rendering.opentype_svg.enabled,true) fuzzy(1,6) == svg-glyph-objectgradient.svg svg-glyph-objectgradient-ref.svg # see bug 871961#c5 pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-objectgradient-zoom.svg svg-glyph-objectgradient-zoom-ref.svg pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-objectpattern.svg svg-glyph-objectpattern-ref.svg pref(gfx.font_rendering.opentype_svg.enabled,true) == clip.html clip-ref.html -pref(gfx.font_rendering.opentype_svg.enabled,true) fuzzy(5,12) == svg-glyph-objectopacity.svg svg-glyph-objectopacity-ref.svg # see bug 871961#c5 +pref(gfx.font_rendering.opentype_svg.enabled,true) fuzzy(1,12) == svg-glyph-objectopacity.svg svg-glyph-objectopacity-ref.svg # see bug 871961#c5 pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-objectopacity2.svg svg-glyph-objectopacity2-ref.svg -pref(gfx.font_rendering.opentype_svg.enabled,true) random-if(winWidget) == svg-glyph-paintnone.svg svg-glyph-paintnone-ref.svg # bug 872491 +pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-paintnone.svg svg-glyph-paintnone-ref.svg pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-cachedopacity.svg svg-glyph-cachedopacity-ref.svg -pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-objectvalue.svg svg-glyph-objectvalue-ref.svg +pref(gfx.font_rendering.opentype_svg.enabled,true) fuzzy-if(cocoaWidget,255,100) == svg-glyph-objectvalue.svg svg-glyph-objectvalue-ref.svg pref(gfx.font_rendering.opentype_svg.enabled,true) fails == svg-glyph-mask.svg svg-glyph-mask-ref.svg # bug 872483 -pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-paint-server.svg svg-glyph-paint-server-ref.svg # bug 801467 -pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-transform.svg svg-glyph-transform-ref.svg # bug 875329 +pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-paint-server.svg svg-glyph-paint-server-ref.svg +pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-transform.svg svg-glyph-transform-ref.svg diff --git a/layout/reftests/text-svgglyphs/resources/README b/layout/reftests/text-svgglyphs/resources/README index 14ec605db187..99edb3a627f0 100644 --- a/layout/reftests/text-svgglyphs/resources/README +++ b/layout/reftests/text-svgglyphs/resources/README @@ -8,9 +8,10 @@ There are three .woff files in this directory: nosvg.woff ---------- -This font is Liberation Serif with the addition of a glyph with a UVS selector -(Liberation fonts do not come with UVS glyphs; one had to be added to test that -SVG glyphs work with UVS selectors). It contains no 'SVG ' table. +This font is FiraSansOT-Regular, with its metrics hacked so that its ascent +is 1000 and descent is 0. Its unitsPerEm value is 1000. + +It contains no 'SVG ' table. svg.woff -------- diff --git a/layout/reftests/text-svgglyphs/resources/glyphs-base.svg b/layout/reftests/text-svgglyphs/resources/glyphs-base.svg index 886ee4eadf0a..51c32135c0c4 100644 --- a/layout/reftests/text-svgglyphs/resources/glyphs-base.svg +++ b/layout/reftests/text-svgglyphs/resources/glyphs-base.svg @@ -1,10 +1,10 @@ - + - + - + - + - + - + - + - - + + diff --git a/layout/reftests/text-svgglyphs/resources/glyphs-objectcolor.svg b/layout/reftests/text-svgglyphs/resources/glyphs-objectcolor.svg index 05439758ff14..cf738d0cc1ff 100644 --- a/layout/reftests/text-svgglyphs/resources/glyphs-objectcolor.svg +++ b/layout/reftests/text-svgglyphs/resources/glyphs-objectcolor.svg @@ -1,24 +1,24 @@ + stroke="none" fill="context-fill" id="glyph49"/> + fill="context-fill" stroke="none" id="glyph50"/> + stroke="context-stroke" fill="burlywood" id="glyph51"/> + fill="context-stroke" stroke="context-fill" id="glyph52"/> diff --git a/layout/reftests/text-svgglyphs/resources/glyphs-objectopacity.svg b/layout/reftests/text-svgglyphs/resources/glyphs-objectopacity.svg index db61c5db5c01..7fc479e22bd1 100644 --- a/layout/reftests/text-svgglyphs/resources/glyphs-objectopacity.svg +++ b/layout/reftests/text-svgglyphs/resources/glyphs-objectopacity.svg @@ -1,25 +1,25 @@ + stroke-opacity="context-stroke-opacity" id="glyph53"/> + stroke-opacity="context-fill-opacity" id="glyph54"/> + stroke-opacity="context-stroke-opacity" id="glyph55"/> + stroke-opacity="context-stroke-opacity" id="glyph58"/> + stroke-opacity="context-fill-opacity" id="glyph59"/> - + diff --git a/layout/reftests/text-svgglyphs/resources/glyphs-objectstroke.svg b/layout/reftests/text-svgglyphs/resources/glyphs-objectstroke.svg index 65b55f477213..44afb2f600ae 100644 --- a/layout/reftests/text-svgglyphs/resources/glyphs-objectstroke.svg +++ b/layout/reftests/text-svgglyphs/resources/glyphs-objectstroke.svg @@ -1,25 +1,25 @@ + stroke-dasharray="50 50" id="glyph68" /> + stroke-dasharray="context-value" id="glyph69" /> + stroke-dashoffset="context-value" id="glyph70" /> + stroke-dashoffset="context-value" id="glyph71" /> diff --git a/layout/reftests/text-svgglyphs/resources/glyphs-paintservers.svg b/layout/reftests/text-svgglyphs/resources/glyphs-paintservers.svg index adf2e7bf5856..7f5a95ac095a 100644 --- a/layout/reftests/text-svgglyphs/resources/glyphs-paintservers.svg +++ b/layout/reftests/text-svgglyphs/resources/glyphs-paintservers.svg @@ -19,10 +19,10 @@ - - diff --git a/layout/reftests/text-svgglyphs/resources/glyphs-transforms.svg b/layout/reftests/text-svgglyphs/resources/glyphs-transforms.svg index cf8a4f6a06cf..ff3d9ffb76ea 100644 --- a/layout/reftests/text-svgglyphs/resources/glyphs-transforms.svg +++ b/layout/reftests/text-svgglyphs/resources/glyphs-transforms.svg @@ -19,18 +19,18 @@ - + - + - + - + @@ -40,7 +40,7 @@ - + @@ -48,20 +48,20 @@ - + - - - - + + + + - + diff --git a/layout/reftests/text-svgglyphs/resources/nosvg.woff b/layout/reftests/text-svgglyphs/resources/nosvg.woff index 3840aaf8a36b..ad53341871df 100644 Binary files a/layout/reftests/text-svgglyphs/resources/nosvg.woff and b/layout/reftests/text-svgglyphs/resources/nosvg.woff differ diff --git a/layout/reftests/text-svgglyphs/resources/rubbish.woff b/layout/reftests/text-svgglyphs/resources/rubbish.woff index 52d75fc96576..3c83e02a30ac 100644 Binary files a/layout/reftests/text-svgglyphs/resources/rubbish.woff and b/layout/reftests/text-svgglyphs/resources/rubbish.woff differ diff --git a/layout/reftests/text-svgglyphs/resources/svg.woff b/layout/reftests/text-svgglyphs/resources/svg.woff index 75f7df6329c5..6deee1460d26 100644 Binary files a/layout/reftests/text-svgglyphs/resources/svg.woff and b/layout/reftests/text-svgglyphs/resources/svg.woff differ diff --git a/layout/reftests/text-svgglyphs/svg-glyph-positioning-ref.svg b/layout/reftests/text-svgglyphs/svg-glyph-positioning-ref.svg index 4348ab71995f..10e8ff11613b 100644 --- a/layout/reftests/text-svgglyphs/svg-glyph-positioning-ref.svg +++ b/layout/reftests/text-svgglyphs/svg-glyph-positioning-ref.svg @@ -1,4 +1,6 @@ + @@ -6,14 +8,14 @@ fill="turquoise" /> - - - -