Bug 1542807 part 6 - Update test expectations and fix tests that unintentionally depend on bullet ::marker font metrics. r=emilio
authorMats Palmgren <mats@mozilla.com>
Mon, 14 Jun 2021 01:22:07 +0000
changeset 582931 04385f050f0e54aa391949a0b9b0858b39c9f4b1
parent 582930 5c912a806605cfb4e452a453b3d7460752fbd4c8
child 582932 47b4452c0a6025476db68b16a2448b5752ce7562
push id38537
push usermlaza@mozilla.com
push dateMon, 14 Jun 2021 09:53:07 +0000
treeherdermozilla-central@e77eb14241b9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemilio
bugs1542807
milestone91.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1542807 part 6 - Update test expectations and fix tests that unintentionally depend on bullet ::marker font metrics. r=emilio Differential Revision: https://phabricator.services.mozilla.com/D111696
gfx/tests/reftest/reftest.list
layout/reftests/bugs/413840-ltr-offsets-ref.html
layout/reftests/bugs/413840-ltr-offsets.html
layout/reftests/bugs/413840-rtl-offsets-ref.html
layout/reftests/bugs/413840-rtl-offsets.html
layout/reftests/bugs/428810-1-ltr-ref.html
layout/reftests/bugs/428810-1a-ltr.html
layout/reftests/bugs/428810-1b-ltr.html
layout/reftests/bugs/428810-1c-ltr-insets.html
layout/reftests/bugs/428810-1c-ltr.html
layout/reftests/bugs/428810-1c-rtl-insets.html
layout/reftests/bugs/428810-1c-rtl.html
layout/reftests/bugs/428810-1d-ltr-insets.html
layout/reftests/bugs/428810-1d-ltr.html
layout/reftests/bugs/428810-1d-rtl-insets.html
layout/reftests/bugs/428810-1d-rtl.html
layout/reftests/bugs/428810-2-ltr-ref.html
layout/reftests/bugs/428810-2a-ltr.html
layout/reftests/bugs/428810-2b-ltr.html
layout/reftests/bugs/428810-2e-ltr-insets.html
layout/reftests/bugs/428810-2e-ltr.html
layout/reftests/bugs/428810-2e-rtl-insets.html
layout/reftests/bugs/428810-2e-rtl.html
layout/reftests/bugs/428810-2f-ltr-insets.html
layout/reftests/bugs/428810-2f-ltr.html
layout/reftests/bugs/428810-2f-rtl-insets.html
layout/reftests/bugs/428810-2f-rtl.html
layout/reftests/bugs/428810-3-ltr-ref.html
layout/reftests/bugs/428810-3a-ltr.html
layout/reftests/bugs/428810-3b-ltr.html
layout/reftests/bugs/428810-3e-ltr-insets.html
layout/reftests/bugs/428810-3e-ltr.html
layout/reftests/bugs/428810-3e-rtl-insets.html
layout/reftests/bugs/428810-3e-rtl.html
layout/reftests/bugs/428810-3f-ltr-insets.html
layout/reftests/bugs/428810-3f-ltr.html
layout/reftests/bugs/428810-3f-rtl-insets.html
layout/reftests/bugs/428810-3f-rtl.html
layout/reftests/bugs/428810-empty-ltr-insets-ref.html
layout/reftests/bugs/428810-empty-ltr-ref.html
layout/reftests/bugs/428810-empty-rtl-insets-ref.html
layout/reftests/bugs/428810-empty-rtl-ref.html
layout/reftests/bugs/reftest.list
layout/reftests/counters/counter-reset-integer-range-ref.html
layout/reftests/counters/counter-reset-integer-range.html
layout/reftests/counters/reftest.list
layout/reftests/counters/t1202-counter-04-b-reference.html
layout/reftests/counters/t1202-counters-04-b-reference.html
layout/reftests/list-item/bullet-space-1-ref.html
layout/reftests/list-item/bullet-space-1.html
layout/reftests/list-item/bullet-space-2-ref.html
layout/reftests/list-item/bullet-space-2.html
layout/reftests/list-item/numbering-1.html
layout/style/test/test_font_face_cascade.html
testing/web-platform/meta/css/css-counter-styles/cjk-decimal/css3-counter-styles-001.html.ini
testing/web-platform/meta/css/css-counter-styles/cjk-decimal/css3-counter-styles-004.html.ini
testing/web-platform/meta/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-201.html.ini
testing/web-platform/meta/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-202.html.ini
testing/web-platform/meta/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-204.html.ini
testing/web-platform/meta/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-205.html.ini
testing/web-platform/meta/css/css-counter-styles/georgian/css3-counter-styles-010.html.ini
testing/web-platform/meta/css/css-counter-styles/hiragana-iroha/css3-counter-styles-033.html.ini
testing/web-platform/meta/css/css-counter-styles/hiragana-iroha/css3-counter-styles-034.html.ini
testing/web-platform/meta/css/css-counter-styles/hiragana/css3-counter-styles-030.html.ini
testing/web-platform/meta/css/css-counter-styles/hiragana/css3-counter-styles-031.html.ini
testing/web-platform/meta/css/css-counter-styles/hiragana/css3-counter-styles-032.html.ini
testing/web-platform/meta/css/css-counter-styles/japanese-formal/css3-counter-styles-047.html.ini
testing/web-platform/meta/css/css-counter-styles/japanese-formal/css3-counter-styles-048.html.ini
testing/web-platform/meta/css/css-counter-styles/japanese-formal/css3-counter-styles-050.html.ini
testing/web-platform/meta/css/css-counter-styles/japanese-formal/css3-counter-styles-051.html.ini
testing/web-platform/meta/css/css-counter-styles/japanese-informal/css3-counter-styles-042.html.ini
testing/web-platform/meta/css/css-counter-styles/japanese-informal/css3-counter-styles-043.html.ini
testing/web-platform/meta/css/css-counter-styles/japanese-informal/css3-counter-styles-045.html.ini
testing/web-platform/meta/css/css-counter-styles/katakana-iroha/css3-counter-styles-039.html.ini
testing/web-platform/meta/css/css-counter-styles/katakana-iroha/css3-counter-styles-040.html.ini
testing/web-platform/meta/css/css-counter-styles/katakana/css3-counter-styles-036.html.ini
testing/web-platform/meta/css/css-counter-styles/katakana/css3-counter-styles-037.html.ini
testing/web-platform/meta/css/css-counter-styles/korean-hangul-formal/css3-counter-styles-052.html.ini
testing/web-platform/meta/css/css-counter-styles/korean-hangul-formal/css3-counter-styles-053.html.ini
testing/web-platform/meta/css/css-counter-styles/korean-hangul-formal/css3-counter-styles-055.html.ini
testing/web-platform/meta/css/css-counter-styles/korean-hangul-formal/css3-counter-styles-056.html.ini
testing/web-platform/meta/css/css-counter-styles/korean-hanja-formal/css3-counter-styles-062.html.ini
testing/web-platform/meta/css/css-counter-styles/korean-hanja-formal/css3-counter-styles-063.html.ini
testing/web-platform/meta/css/css-counter-styles/korean-hanja-formal/css3-counter-styles-065.html.ini
testing/web-platform/meta/css/css-counter-styles/korean-hanja-formal/css3-counter-styles-066.html.ini
testing/web-platform/meta/css/css-counter-styles/korean-hanja-informal/css3-counter-styles-057.html.ini
testing/web-platform/meta/css/css-counter-styles/korean-hanja-informal/css3-counter-styles-058.html.ini
testing/web-platform/meta/css/css-counter-styles/korean-hanja-informal/css3-counter-styles-060.html.ini
testing/web-platform/meta/css/css-counter-styles/myanmar/css3-counter-styles-140.html.ini
testing/web-platform/meta/css/css-counter-styles/myanmar/css3-counter-styles-141.html.ini
testing/web-platform/meta/css/css-counter-styles/myanmar/css3-counter-styles-142.html.ini
testing/web-platform/meta/css/css-counter-styles/simp-chinese-formal/css3-counter-styles-076.html.ini
testing/web-platform/meta/css/css-counter-styles/simp-chinese-formal/css3-counter-styles-077.html.ini
testing/web-platform/meta/css/css-counter-styles/simp-chinese-formal/css3-counter-styles-079.html.ini
testing/web-platform/meta/css/css-counter-styles/simp-chinese-formal/css3-counter-styles-080.html.ini
testing/web-platform/meta/css/css-counter-styles/simp-chinese-informal/css3-counter-styles-071.html.ini
testing/web-platform/meta/css/css-counter-styles/simp-chinese-informal/css3-counter-styles-072.html.ini
testing/web-platform/meta/css/css-counter-styles/simp-chinese-informal/css3-counter-styles-074.html.ini
testing/web-platform/meta/css/css-counter-styles/tamil/css3-counter-styles-146.html.ini
testing/web-platform/meta/css/css-counter-styles/tamil/css3-counter-styles-147.html.ini
testing/web-platform/meta/css/css-counter-styles/tibetan/css3-counter-styles-155.html.ini
testing/web-platform/meta/css/css-counter-styles/tibetan/css3-counter-styles-156.html.ini
testing/web-platform/meta/css/css-counter-styles/tibetan/css3-counter-styles-157.html.ini
testing/web-platform/meta/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-086.html.ini
testing/web-platform/meta/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-087.html.ini
testing/web-platform/meta/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-089.html.ini
testing/web-platform/meta/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-090.html.ini
testing/web-platform/meta/css/css-counter-styles/trad-chinese-informal/css3-counter-styles-081.html.ini
testing/web-platform/meta/css/css-counter-styles/trad-chinese-informal/css3-counter-styles-082.html.ini
testing/web-platform/meta/css/css-counter-styles/trad-chinese-informal/css3-counter-styles-084.html.ini
testing/web-platform/meta/css/css-lists/content-property/marker-text-matches-georgian.html.ini
testing/web-platform/meta/css/css-multicol/multicol-height-002-print.xht.ini
testing/web-platform/meta/css/css-multicol/multicol-list-item-006.html.ini
testing/web-platform/meta/css/css-pseudo/marker-computed-size.html.ini
testing/web-platform/meta/css/css-pseudo/marker-content-008.tentative.html.ini
testing/web-platform/meta/css/css-pseudo/marker-content-012.html.ini
testing/web-platform/meta/css/css-pseudo/marker-content-016.html.ini
testing/web-platform/meta/css/css-pseudo/marker-content-018.html.ini
testing/web-platform/meta/css/css-pseudo/marker-hit-testing.html.ini
testing/web-platform/meta/css/css-pseudo/marker-inherit-line-height.html.ini
testing/web-platform/meta/css/css-pseudo/marker-text-transform-uppercase.html.ini
testing/web-platform/meta/css/css-pseudo/marker-unicode-bidi-default.html.ini
testing/web-platform/meta/css/css-pseudo/marker-unicode-bidi-normal.html.ini
testing/web-platform/meta/css/vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/system-alphabetic.html.ini
testing/web-platform/meta/mathml/relations/html5-tree/integration-point-2.html.ini
testing/web-platform/meta/quirks/line-height-in-list-item.tentative.html.ini
testing/web-platform/tests/css/CSS2/generated-content/content-counter-004-ref.xht
testing/web-platform/tests/css/CSS2/generated-content/content-counter-004.xht
testing/web-platform/tests/css/CSS2/lists/list-style-021-ref.xht
testing/web-platform/tests/css/CSS2/lists/list-style-image-007-ref.html
testing/web-platform/tests/css/CSS2/lists/list-style-image-007.html
testing/web-platform/tests/css/CSS2/visudet/height-applies-to-010a-ref.xht
testing/web-platform/tests/css/CSS2/visudet/height-applies-to-010a.xht
testing/web-platform/tests/css/css-contain/contain-paint-clip-005.html
testing/web-platform/tests/css/css-display/display-flow-root-list-item-001-ref.html
testing/web-platform/tests/css/css-display/run-in/run-in-listitem-between-002.xht
testing/web-platform/tests/css/css-flexbox/flexbox_columns.html
testing/web-platform/tests/css/css-lists/inline-list-ref.html
testing/web-platform/tests/css/css-lists/list-marker-alignment-ref.html
testing/web-platform/tests/css/css-lists/list-marker-alignment.html
testing/web-platform/tests/css/css-lists/list-marker-symbol-bidi-ref.html
testing/web-platform/tests/css/css-lists/list-marker-symbol-bidi.html
testing/web-platform/tests/css/css-lists/list-style-image-gradients-dynamic-ref.html
testing/web-platform/tests/css/css-lists/list-style-image-gradients-dynamic.html
testing/web-platform/tests/css/css-lists/list-style-image-gradients-ref.html
testing/web-platform/tests/css/css-lists/list-style-image-gradients.html
testing/web-platform/tests/css/css-lists/list-type-none-style-image-ref.html
testing/web-platform/tests/css/css-multicol/multicol-list-item-001.xht
testing/web-platform/tests/css/css-multicol/multicol-span-all-list-item-001-ref.html
testing/web-platform/tests/css/css-multicol/multicol-span-all-list-item-002-ref.html
testing/web-platform/tests/css/css-position/position-absolute-dynamic-list-marker.html
testing/web-platform/tests/css/css-pseudo/marker-content-008-ref.html
testing/web-platform/tests/css/css-pseudo/marker-content-008.tentative.html
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-062.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-061.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-vlr-022.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-vrl-021.xht
testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/redefine-attr-mapping-ref.html
testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/redefine-attr-mapping.html
testing/web-platform/tests/html/rendering/the-details-element/summary-text-decoration-ref.html
--- a/gfx/tests/reftest/reftest.list
+++ b/gfx/tests/reftest/reftest.list
@@ -21,11 +21,12 @@ fails-if(useDrawSnapshot) == 1501195.htm
 skip-if(!asyncPan) == 1524261.html 1524261-ref.html
 fuzzy-if(!useDrawSnapshot&&webrender,14-14,44-95) == 1524353.html 1524353-ref.html
 fuzzy-if(!useDrawSnapshot&&webrender,2-7,17500-36908) == 1523776.html 1523776-ref.html
 == bug1523410-translate-scale-snap.html bug1523410-translate-scale-snap-ref.html
 == 1523080.html 1523080-ref.html
 == 1616444-same-color-different-paths.html 1616444-same-color-different-paths-ref.html
 skip-if(!asyncPan||!webrender||Android) fuzzy-if(winWidget,94-94,3415-3419) fuzzy-if(cocoaWidget,24-24,1190-1200) pref(apz.allow_zooming,true) == picture-caching-on-async-zoom.html picture-caching-on-async-zoom.html?ref
 pref(apz.allow_zooming,true) fails-if(useDrawSnapshot) == 1662062-1-no-blurry.html 1662062-1-ref.html
-== 1681610.html 1681610-ref.html
+# Bug 1715676: nsBulletFrame has been removed and the new rendering does not use PushRoundedRect that this test is for:
+# == 1681610.html 1681610-ref.html
 skip-if(!webrender||geckoview) fuzzy-if(!useDrawSnapshot&&webrender&&!geckoview,0-255,0-61) fuzzy-if(useDrawSnapshot&&webrender,0-215,0-3601) == 1687157-1.html 1687157-1-ref.html
 skip-if(!webrender) fuzzy-if(webrender,64-99,512-520) == 1696439-1.html 1696439-1-ref.html
--- a/layout/reftests/bugs/413840-ltr-offsets-ref.html
+++ b/layout/reftests/bugs/413840-ltr-offsets-ref.html
@@ -5,16 +5,17 @@
 	<title>Test case for list items flowing around floats</title>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 	<meta http-equiv="Content-Style-Type" content="text/css">
 	<meta http-equiv="Content-Script-Type" content="text/javascript">
 	<style type="text/css">
 
 	ul, ol, li { margin: 0; padding: 0; }
 
+	::marker { font-family: inherit; }
 	</style>
 </head>
 <body>
 
 <div style="margin-left: 100px"><ul><li><div style="margin-left: 0px">item</li></ul></div>
 <div style="margin-left: 100px"><ul><li><div style="margin-left: 0px">item</li></ul></div>
 <div style="margin-left: 94px"><ul><li><div style="margin-left: 6px">item</li></ul></div>
 <div style="margin-left: 150px"><ul><li><div style="margin-left: 6px">item</li></ul></div>
--- a/layout/reftests/bugs/413840-ltr-offsets.html
+++ b/layout/reftests/bugs/413840-ltr-offsets.html
@@ -7,16 +7,17 @@
 	<meta http-equiv="Content-Style-Type" content="text/css">
 	<meta http-equiv="Content-Script-Type" content="text/javascript">
 	<style type="text/css">
 
 	#float { float: left; width: 100px; height: 20em; }
 
 	ul, ol, li { margin: 0; padding: 0; }
 
+	::marker { font-family: inherit; }
 	</style>
 </head>
 <body>
 
 <div id="float"></div>
 
 <ul><li>item</li></ul>
 <ul style="margin-left: 1px; border-left: 2px solid transparent; padding-left: 4px; padding-right: 8px; border-right: 16px solid transparent; margin-right: 32px;"><li>item</li></ul>
--- a/layout/reftests/bugs/413840-rtl-offsets-ref.html
+++ b/layout/reftests/bugs/413840-rtl-offsets-ref.html
@@ -6,16 +6,17 @@
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 	<meta http-equiv="Content-Style-Type" content="text/css">
 	<meta http-equiv="Content-Script-Type" content="text/javascript">
 	<style type="text/css">
 
 	body { direction: rtl; }
 	ul, ol, li { margin: 0; padding: 0; }
 
+	::marker { font-family: inherit; }
 	</style>
 </head>
 <body>
 
 <div style="margin-right: 100px"><ul><li><div style="margin-right: 0px">item</li></ul></div>
 <div style="margin-right: 100px"><ul><li><div style="margin-right: 0px">item</li></ul></div>
 <div style="margin-right: 94px"><ul><li><div style="margin-right: 6px">item</li></ul></div>
 <div style="margin-right: 150px"><ul><li><div style="margin-right: 6px">item</li></ul></div>
--- a/layout/reftests/bugs/413840-rtl-offsets.html
+++ b/layout/reftests/bugs/413840-rtl-offsets.html
@@ -8,16 +8,17 @@
 	<meta http-equiv="Content-Script-Type" content="text/javascript">
 	<style type="text/css">
 
 	body { direction: rtl; }
 	#float { float: right; width: 100px; height: 20em; }
 
 	ul, ol, li { margin: 0; padding: 0; }
 
+	::marker { font-family: inherit; }
 	</style>
 </head>
 <body>
 
 <div id="float"></div>
 
 <ul><li>item</li></ul>
 <ul style="margin-right: 1px; border-right: 2px solid transparent; padding-right: 4px; padding-left: 8px; border-left: 16px solid transparent; margin-left: 32px;"><li>item</li></ul>
--- a/layout/reftests/bugs/428810-1-ltr-ref.html
+++ b/layout/reftests/bugs/428810-1-ltr-ref.html
@@ -1,10 +1,11 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 20px"></div>
 <div style="margin-left: 40px; display: list-item;">
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </div>
 
--- a/layout/reftests/bugs/428810-1a-ltr.html
+++ b/layout/reftests/bugs/428810-1a-ltr.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px">
   <div style="float: left; height: 20px; width: 100px"></div>
 </div>
 <div style="margin-left: 40px; width: 70px; display: list-item;">
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </div>
 
--- a/layout/reftests/bugs/428810-1b-ltr.html
+++ b/layout/reftests/bugs/428810-1b-ltr.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px">
   <div style="float: left; height: 20px; width: 100px"></div>
 </div>
 <div style="margin-left: 40px; width: 70px; display: list-item;">
   <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
 </div>
 
--- a/layout/reftests/bugs/428810-1c-ltr-insets.html
+++ b/layout/reftests/bugs/428810-1c-ltr-insets.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 6px">
   <div style="float: left; height: 20px; width: 116px"></div>
 </div>
 <div style="width: 70px; display: list-item; margin: 1px 1px 32px 32px; border: medium solid transparent; border-width: 2px 2px 16px 16px; padding: 4px 4px 8px 8px">
   
 </div>
 
--- a/layout/reftests/bugs/428810-1c-ltr.html
+++ b/layout/reftests/bugs/428810-1c-ltr.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px">
   <div style="float: left; height: 20px; width: 100px"></div>
 </div>
 <div style="margin-left: 40px; width: 70px; display: list-item;">
   
 </div>
 
--- a/layout/reftests/bugs/428810-1c-rtl-insets.html
+++ b/layout/reftests/bugs/428810-1c-rtl-insets.html
@@ -1,13 +1,14 @@
 <!DOCTYPE HTML>
 <html dir="rtl">
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 6px">
   <div style="float: right; height: 20px; width: 116px"></div>
 </div>
 <div style="width: 70px; display: list-item; margin: 1px 32px 32px 1px; border: medium solid transparent; border-width: 2px 16px 16px 2px; padding: 4px 8px 8px 4px">
   
 </div>
 
--- a/layout/reftests/bugs/428810-1c-rtl.html
+++ b/layout/reftests/bugs/428810-1c-rtl.html
@@ -1,13 +1,14 @@
 <!DOCTYPE HTML>
 <html dir="rtl">
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px">
   <div style="float: right; height: 20px; width: 100px"></div>
 </div>
 <div style="margin-right: 40px; width: 70px; display: list-item;">
   
 </div>
 
--- a/layout/reftests/bugs/428810-1d-ltr-insets.html
+++ b/layout/reftests/bugs/428810-1d-ltr-insets.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 6px">
   <div style="float: left; height: 20px; width: 116px"></div>
 </div>
 <div style="width: 70px; display: list-item; margin: 1px 1px 32px 32px; border: medium solid transparent; border-width: 2px 2px 16px 16px; padding: 4px 4px 8px 8px">
   <div></div>
 </div>
 
--- a/layout/reftests/bugs/428810-1d-ltr.html
+++ b/layout/reftests/bugs/428810-1d-ltr.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px">
   <div style="float: left; height: 20px; width: 100px"></div>
 </div>
 <div style="margin-left: 40px; width: 70px; display: list-item;">
   <div></div>
 </div>
 
--- a/layout/reftests/bugs/428810-1d-rtl-insets.html
+++ b/layout/reftests/bugs/428810-1d-rtl-insets.html
@@ -1,13 +1,14 @@
 <!DOCTYPE HTML>
 <html dir="rtl">
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 6px">
   <div style="float: right; height: 20px; width: 116px"></div>
 </div>
 <div style="width: 70px; display: list-item; margin: 1px 32px 32px 1px; border: medium solid transparent; border-width: 2px 16px 16px 2px; padding: 4px 8px 8px 4px">
   <div></div>
 </div>
 
--- a/layout/reftests/bugs/428810-1d-rtl.html
+++ b/layout/reftests/bugs/428810-1d-rtl.html
@@ -1,13 +1,14 @@
 <!DOCTYPE HTML>
 <html dir="rtl">
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px">
   <div style="float: right; height: 20px; width: 100px"></div>
 </div>
 <div style="margin-right: 40px; width: 70px; display: list-item;">
   <div></div>
 </div>
 
--- a/layout/reftests/bugs/428810-2-ltr-ref.html
+++ b/layout/reftests/bugs/428810-2-ltr-ref.html
@@ -1,10 +1,11 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 20px"></div>
 <div style="margin-left: 40px; display: list-item;">
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </div>
 
--- a/layout/reftests/bugs/428810-2a-ltr.html
+++ b/layout/reftests/bugs/428810-2a-ltr.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px">
   <div style="float: left; height: 20px; width: 100px"></div>
 </div>
 <div style="margin-left: 40px; width: 70px; display: list-item;">
   <div style="float: left; height: 20px; width: 15px"></div>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </div>
--- a/layout/reftests/bugs/428810-2b-ltr.html
+++ b/layout/reftests/bugs/428810-2b-ltr.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px">
   <div style="float: left; height: 20px; width: 100px"></div>
 </div>
 <div style="margin-left: 40px; width: 70px; display: list-item;">
   <div style="float: left; height: 20px; width: 15px"></div>
   <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
 </div>
--- a/layout/reftests/bugs/428810-2e-ltr-insets.html
+++ b/layout/reftests/bugs/428810-2e-ltr-insets.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 6px">
   <div style="float: left; height: 20px; width: 116px"></div>
 </div>
 <div style="width: 70px; display: list-item; margin: 1px 1px 32px 32px; border: medium solid transparent; border-width: 2px 2px 16px 16px; padding: 4px 4px 8px 8px">
   <div style="float: left; height: 20px; width: 15px"></div>
   <div style="clear:left"></div>
 </div>
--- a/layout/reftests/bugs/428810-2e-ltr.html
+++ b/layout/reftests/bugs/428810-2e-ltr.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px">
   <div style="float: left; height: 20px; width: 100px"></div>
 </div>
 <div style="margin-left: 40px; width: 70px; display: list-item;">
   <div style="float: left; height: 20px; width: 15px"></div>
   <div style="clear:left"></div>
 </div>
--- a/layout/reftests/bugs/428810-2e-rtl-insets.html
+++ b/layout/reftests/bugs/428810-2e-rtl-insets.html
@@ -1,13 +1,14 @@
 <!DOCTYPE HTML>
 <html dir="rtl">
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 6px">
   <div style="float: right; height: 20px; width: 116px"></div>
 </div>
 <div style="width: 70px; display: list-item; margin: 1px 32px 32px 1px; border: medium solid transparent; border-width: 2px 16px 16px 2px; padding: 4px 8px 8px 4px">
   <div style="float: right; height: 20px; width: 15px"></div>
   <div style="clear:right"></div>
 </div>
--- a/layout/reftests/bugs/428810-2e-rtl.html
+++ b/layout/reftests/bugs/428810-2e-rtl.html
@@ -1,13 +1,14 @@
 <!DOCTYPE HTML>
 <html dir="rtl">
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px">
   <div style="float: right; height: 20px; width: 100px"></div>
 </div>
 <div style="margin-right: 40px; width: 70px; display: list-item;">
   <div style="float: right; height: 20px; width: 15px"></div>
   <div style="clear:right"></div>
 </div>
--- a/layout/reftests/bugs/428810-2f-ltr-insets.html
+++ b/layout/reftests/bugs/428810-2f-ltr-insets.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 6px">
   <div style="float: left; height: 20px; width: 116px"></div>
 </div>
 <div style="width: 70px; display: list-item; margin: 1px 1px 32px 32px; border: medium solid transparent; border-width: 2px 2px 16px 16px; padding: 4px 4px 8px 8px">
   <div style="float: left; height: 20px; width: 15px"></div>
 </div>
 
--- a/layout/reftests/bugs/428810-2f-ltr.html
+++ b/layout/reftests/bugs/428810-2f-ltr.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px">
   <div style="float: left; height: 20px; width: 100px"></div>
 </div>
 <div style="margin-left: 40px; width: 70px; display: list-item;">
   <div style="float: left; height: 20px; width: 15px"></div>
 </div>
 
--- a/layout/reftests/bugs/428810-2f-rtl-insets.html
+++ b/layout/reftests/bugs/428810-2f-rtl-insets.html
@@ -1,13 +1,14 @@
 <!DOCTYPE HTML>
 <html dir="rtl">
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 6px">
   <div style="float: right; height: 20px; width: 116px"></div>
 </div>
 <div style="width: 70px; display: list-item; margin: 1px 32px 32px 1px; border: medium solid transparent; border-width: 2px 16px 16px 2px; padding: 4px 8px 8px 4px">
   <div style="float: right; height: 20px; width: 15px"></div>
 </div>
 
--- a/layout/reftests/bugs/428810-2f-rtl.html
+++ b/layout/reftests/bugs/428810-2f-rtl.html
@@ -1,13 +1,14 @@
 <!DOCTYPE HTML>
 <html dir="rtl">
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px">
   <div style="float: right; height: 20px; width: 100px"></div>
 </div>
 <div style="margin-right: 40px; width: 70px; display: list-item;">
   <div style="float: right; height: 20px; width: 15px"></div>
 </div>
 
--- a/layout/reftests/bugs/428810-3-ltr-ref.html
+++ b/layout/reftests/bugs/428810-3-ltr-ref.html
@@ -1,10 +1,11 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 40px"></div>
 <div style="margin-left: 40px; display: list-item;">
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </div>
 
--- a/layout/reftests/bugs/428810-3a-ltr.html
+++ b/layout/reftests/bugs/428810-3a-ltr.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px">
   <div style="float: left; height: 20px; width: 100px"></div>
 </div>
 <div style="margin-left: 40px; width: 70px; display: list-item;">
   <div style="float: left; height: 20px; width: 60px"></div>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </div>
--- a/layout/reftests/bugs/428810-3b-ltr.html
+++ b/layout/reftests/bugs/428810-3b-ltr.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px">
   <div style="float: left; height: 20px; width: 100px"></div>
 </div>
 <div style="margin-left: 40px; width: 70px; display: list-item;">
   <div style="float: left; height: 20px; width: 60px"></div>
   <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
 </div>
--- a/layout/reftests/bugs/428810-3e-ltr-insets.html
+++ b/layout/reftests/bugs/428810-3e-ltr-insets.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 6px">
   <div style="float: left; height: 20px; width: 116px"></div>
 </div>
 <div style="width: 70px; display: list-item; margin: 1px 1px 32px 32px; border: medium solid transparent; border-width: 2px 2px 16px 16px; padding: 4px 4px 8px 8px">
   <div style="float: left; height: 20px; width: 60px"></div>
   <div style="clear:left"></div>
 </div>
--- a/layout/reftests/bugs/428810-3e-ltr.html
+++ b/layout/reftests/bugs/428810-3e-ltr.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px">
   <div style="float: left; height: 20px; width: 100px"></div>
 </div>
 <div style="margin-left: 40px; width: 70px; display: list-item;">
   <div style="float: left; height: 20px; width: 60px"></div>
   <div style="clear:left"></div>
 </div>
--- a/layout/reftests/bugs/428810-3e-rtl-insets.html
+++ b/layout/reftests/bugs/428810-3e-rtl-insets.html
@@ -1,13 +1,14 @@
 <!DOCTYPE HTML>
 <html dir="rtl">
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 6px">
   <div style="float: right; height: 20px; width: 116px"></div>
 </div>
 <div style="width: 70px; display: list-item; margin: 1px 32px 32px 1px; border: medium solid transparent; border-width: 2px 16px 16px 2px; padding: 4px 8px 8px 4px">
   <div style="float: right; height: 20px; width: 60px"></div>
   <div style="clear:right"></div>
 </div>
--- a/layout/reftests/bugs/428810-3e-rtl.html
+++ b/layout/reftests/bugs/428810-3e-rtl.html
@@ -1,13 +1,14 @@
 <!DOCTYPE HTML>
 <html dir="rtl">
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px">
   <div style="float: right; height: 20px; width: 100px"></div>
 </div>
 <div style="margin-right: 40px; width: 70px; display: list-item;">
   <div style="float: right; height: 20px; width: 60px"></div>
   <div style="clear:right"></div>
 </div>
--- a/layout/reftests/bugs/428810-3f-ltr-insets.html
+++ b/layout/reftests/bugs/428810-3f-ltr-insets.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 6px">
   <div style="float: left; height: 20px; width: 116px"></div>
 </div>
 <div style="width: 70px; display: list-item; margin: 1px 1px 32px 32px; border: medium solid transparent; border-width: 2px 2px 16px 16px; padding: 4px 4px 8px 8px">
   <div style="float: left; height: 20px; width: 60px"></div>
 </div>
 
--- a/layout/reftests/bugs/428810-3f-ltr.html
+++ b/layout/reftests/bugs/428810-3f-ltr.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px">
   <div style="float: left; height: 20px; width: 100px"></div>
 </div>
 <div style="margin-left: 40px; width: 70px; display: list-item;">
   <div style="float: left; height: 20px; width: 60px"></div>
 </div>
 
--- a/layout/reftests/bugs/428810-3f-rtl-insets.html
+++ b/layout/reftests/bugs/428810-3f-rtl-insets.html
@@ -1,13 +1,14 @@
 <!DOCTYPE HTML>
 <html dir="rtl">
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 6px">
   <div style="float: right; height: 20px; width: 116px"></div>
 </div>
 <div style="width: 70px; display: list-item; margin: 1px 32px 32px 1px; border: medium solid transparent; border-width: 2px 16px 16px 2px; padding: 4px 8px 8px 4px">
   <div style="float: right; height: 20px; width: 60px"></div>
 </div>
 
--- a/layout/reftests/bugs/428810-3f-rtl.html
+++ b/layout/reftests/bugs/428810-3f-rtl.html
@@ -1,13 +1,14 @@
 <!DOCTYPE HTML>
 <html dir="rtl">
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px">
   <div style="float: right; height: 20px; width: 100px"></div>
 </div>
 <div style="margin-right: 40px; width: 70px; display: list-item;">
   <div style="float: right; height: 20px; width: 60px"></div>
 </div>
 
--- a/layout/reftests/bugs/428810-empty-ltr-insets-ref.html
+++ b/layout/reftests/bugs/428810-empty-ltr-insets-ref.html
@@ -1,10 +1,11 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 13px"></div>
 <div style="margin-left: 92px; display: list-item;">
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </div>
 
--- a/layout/reftests/bugs/428810-empty-ltr-ref.html
+++ b/layout/reftests/bugs/428810-empty-ltr-ref.html
@@ -1,10 +1,11 @@
 <!DOCTYPE HTML>
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px"></div>
 <div style="margin-left: 100px; display: list-item;">
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </div>
 
--- a/layout/reftests/bugs/428810-empty-rtl-insets-ref.html
+++ b/layout/reftests/bugs/428810-empty-rtl-insets-ref.html
@@ -1,11 +1,12 @@
 <!DOCTYPE HTML>
 <html dir="rtl">
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 13px"></div>
 <div style="margin-right: 92px; display: list-item;">
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </div>
 
--- a/layout/reftests/bugs/428810-empty-rtl-ref.html
+++ b/layout/reftests/bugs/428810-empty-rtl-ref.html
@@ -1,11 +1,12 @@
 <!DOCTYPE HTML>
 <html dir="rtl">
 <title>Testcase, bug 428810</title>
 <style type="text/css">
 html, body { margin: 0; padding: 0; }
+::marker { font-family: inherit; }
 </style>
 <div style="height: 10px"></div>
 <div style="margin-right: 100px; display: list-item;">
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </div>
 
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1038,76 +1038,76 @@ fuzzy-if(skiaContent,0-1,0-60) == 427370
 == 428423-1a.html 428423-1-ref.html
 == 428423-1b.html 428423-1-ref.html
 == 428521-1a.html 428521-1-ref.html
 == 428521-1b.html 428521-1-ref.html
 == 428521-1c.html 428521-1-ref.html
 == 428810-1a-ltr.html 428810-1-ltr-ref.html
 == 428810-1b-ltr.html 428810-1-ltr-ref.html
 == 428810-1c-ltr.html 428810-empty-ltr-ref.html
-fails == 428810-1d-ltr.html 428810-empty-ltr-ref.html # bug 179596
+== 428810-1d-ltr.html 428810-empty-ltr-ref.html
 != 428810-1-ltr-ref.html about:blank
 == 428810-2a-ltr.html 428810-2-ltr-ref.html
 == 428810-2b-ltr.html 428810-2-ltr-ref.html
-fails == 428810-2e-ltr.html 428810-empty-ltr-ref.html # bug 179596
+== 428810-2e-ltr.html 428810-empty-ltr-ref.html
 == 428810-2f-ltr.html 428810-empty-ltr-ref.html
 != 428810-2-ltr-ref.html about:blank
 == 428810-3a-ltr.html 428810-3-ltr-ref.html
 == 428810-3b-ltr.html 428810-3-ltr-ref.html
-fails == 428810-3e-ltr.html 428810-empty-ltr-ref.html # bug 179596
+== 428810-3e-ltr.html 428810-empty-ltr-ref.html
 == 428810-3f-ltr.html 428810-empty-ltr-ref.html
 != 428810-3-ltr-ref.html about:blank
 == 428810-1a-rtl.html 428810-1-rtl-ref.html
-== 428810-1b-rtl.html 428810-1-rtl-ref.html
+fails-if(winWidget||cocoaWidget) == 428810-1b-rtl.html 428810-1-rtl-ref.html # bug 179596
 == 428810-1c-rtl.html 428810-empty-rtl-ref.html
-fails == 428810-1d-rtl.html 428810-empty-rtl-ref.html # bug 179596
+== 428810-1d-rtl.html 428810-empty-rtl-ref.html
 != 428810-1-rtl-ref.html about:blank
 != 428810-1-rtl-ref.html 428810-1-ltr-ref.html
 == 428810-2a-rtl.html 428810-2-rtl-ref.html
-== 428810-2b-rtl.html 428810-2-rtl-ref.html
-fails == 428810-2e-rtl.html 428810-empty-rtl-ref.html # bug 179596
+fails-if(winWidget||cocoaWidget) == 428810-2b-rtl.html 428810-2-rtl-ref.html # bug 179596
+== 428810-2e-rtl.html 428810-empty-rtl-ref.html
 == 428810-2f-rtl.html 428810-empty-rtl-ref.html
 != 428810-2-rtl-ref.html about:blank
 != 428810-2-rtl-ref.html 428810-2-ltr-ref.html
 == 428810-3a-rtl.html 428810-3-rtl-ref.html
-== 428810-3b-rtl.html 428810-3-rtl-ref.html
-fails == 428810-3e-rtl.html 428810-empty-rtl-ref.html # bug 179596
+fails-if(winWidget||cocoaWidget) == 428810-3b-rtl.html 428810-3-rtl-ref.html # bug 179596
+== 428810-3e-rtl.html 428810-empty-rtl-ref.html
 == 428810-3f-rtl.html 428810-empty-rtl-ref.html
 != 428810-3-rtl-ref.html about:blank
 != 428810-3-rtl-ref.html 428810-3-ltr-ref.html
 == 428810-1a-ltr-insets.html 428810-1-ltr-insets-ref.html
-== 428810-1b-ltr-insets.html 428810-1-ltr-insets-ref.html
+fails-if(winWidget||cocoaWidget) == 428810-1b-ltr-insets.html 428810-1-ltr-insets-ref.html # bug 179596
 == 428810-1c-ltr-insets.html 428810-empty-ltr-insets-ref.html
-fails == 428810-1d-ltr-insets.html 428810-empty-ltr-insets-ref.html # bug 179596
+== 428810-1d-ltr-insets.html 428810-empty-ltr-insets-ref.html
 != 428810-1-ltr-insets-ref.html about:blank
 == 428810-2a-ltr-insets.html 428810-2-ltr-insets-ref.html
-== 428810-2b-ltr-insets.html 428810-2-ltr-insets-ref.html
-fails == 428810-2e-ltr-insets.html 428810-empty-ltr-insets-ref.html # bug 179596
+fails-if(winWidget||cocoaWidget) == 428810-2b-ltr-insets.html 428810-2-ltr-insets-ref.html # bug 179596
+== 428810-2e-ltr-insets.html 428810-empty-ltr-insets-ref.html
 == 428810-2f-ltr-insets.html 428810-empty-ltr-insets-ref.html
 != 428810-2-ltr-insets-ref.html about:blank
 == 428810-3a-ltr-insets.html 428810-3-ltr-insets-ref.html
-== 428810-3b-ltr-insets.html 428810-3-ltr-insets-ref.html
-fails == 428810-3e-ltr-insets.html 428810-empty-ltr-insets-ref.html # bug 179596
+fails-if(winWidget||cocoaWidget) == 428810-3b-ltr-insets.html 428810-3-ltr-insets-ref.html # bug 179596
+== 428810-3e-ltr-insets.html 428810-empty-ltr-insets-ref.html
 == 428810-3f-ltr-insets.html 428810-empty-ltr-insets-ref.html
 != 428810-3-ltr-insets-ref.html about:blank
 == 428810-1a-rtl-insets.html 428810-1-rtl-insets-ref.html
-== 428810-1b-rtl-insets.html 428810-1-rtl-insets-ref.html
+fails-if(winWidget||cocoaWidget) == 428810-1b-rtl-insets.html 428810-1-rtl-insets-ref.html # bug 179596
 == 428810-1c-rtl-insets.html 428810-empty-rtl-insets-ref.html
-fails == 428810-1d-rtl-insets.html 428810-empty-rtl-insets-ref.html # bug 179596
+== 428810-1d-rtl-insets.html 428810-empty-rtl-insets-ref.html
 != 428810-1-rtl-insets-ref.html about:blank
 != 428810-1-rtl-insets-ref.html 428810-1-ltr-insets-ref.html
 == 428810-2a-rtl-insets.html 428810-2-rtl-insets-ref.html
-== 428810-2b-rtl-insets.html 428810-2-rtl-insets-ref.html
-fails == 428810-2e-rtl-insets.html 428810-empty-rtl-insets-ref.html # bug 179596
+fails-if(winWidget||cocoaWidget) == 428810-2b-rtl-insets.html 428810-2-rtl-insets-ref.html # bug 179596
+== 428810-2e-rtl-insets.html 428810-empty-rtl-insets-ref.html
 == 428810-2f-rtl-insets.html 428810-empty-rtl-insets-ref.html
 != 428810-2-rtl-insets-ref.html about:blank
 != 428810-2-rtl-insets-ref.html 428810-2-ltr-insets-ref.html
 == 428810-3a-rtl-insets.html 428810-3-rtl-insets-ref.html
-== 428810-3b-rtl-insets.html 428810-3-rtl-insets-ref.html
-fails == 428810-3e-rtl-insets.html 428810-empty-rtl-insets-ref.html # bug 179596
+fails-if(winWidget||cocoaWidget) == 428810-3b-rtl-insets.html 428810-3-rtl-insets-ref.html # bug 179596
+== 428810-3e-rtl-insets.html 428810-empty-rtl-insets-ref.html
 == 428810-3f-rtl-insets.html 428810-empty-rtl-insets-ref.html
 != 428810-3-rtl-insets-ref.html about:blank
 != 428810-3-rtl-insets-ref.html 428810-3-ltr-insets-ref.html
 == 430412-1.html 430412-1-ref.html
 == 430813-1.html 430813-1-ref.html
 == 430813-2.html 430813-2-ref.html
 == 430813-3.html 430813-3-ref.html
 == 431341-1.html 431341-1-ref.html
--- a/layout/reftests/counters/counter-reset-integer-range-ref.html
+++ b/layout/reftests/counters/counter-reset-integer-range-ref.html
@@ -1,9 +1,7 @@
 <!DOCTYPE HTML>
 <title>Expected integer range</title>
 0
 2147483647
 2147483647
 2147483647
 -2147483647
-0
-0
--- a/layout/reftests/counters/counter-reset-integer-range.html
+++ b/layout/reftests/counters/counter-reset-integer-range.html
@@ -6,10 +6,12 @@ span::after { content: counter(c); }
 
 </style>
 <span style="counter-reset: c 0"></span>
 <span style="counter-reset: c 2147483647"></span>
 <span style="counter-reset: c 2147483648"></span>
 <span style="counter-reset: c 2147483649"></span>
 <span style="counter-reset: c -2147483647"></span>
 <!-- The next two computes to std::numeric_limits<int32_t>::min() which we use as the "magic" number for the content based <ol reversed> start value.  See https://drafts.csswg.org/css-lists-3/#ua-stylesheet -->
+<!-- TODO: bug 1706346
 <span style="counter-reset: c -2147483648"></span>
 <span style="counter-reset: c -2147483649"></span>
+-->
--- a/layout/reftests/counters/reftest.list
+++ b/layout/reftests/counters/reftest.list
@@ -62,17 +62,17 @@ random-if(/^Windows\x20NT\x206\.1/.test(
 == counter-reset-integer-range.html counter-reset-integer-range-ref.html
 == counter-ua-limits-00.html counter-ua-limits-00-ref.html
 == counter-ua-limits-01.html counter-ua-limits-01-ref.html
 == counter-ua-limits-02.html counter-ua-limits-02-ref.html
 == counter-ua-limits-03.html counter-ua-limits-03-ref.html
 == counter-ua-limits-list-00.html counter-ua-limits-list-00-ref.html
 == counter-ua-limits-list-01.html counter-ua-limits-list-01-ref.html
 == multiple-thai-counters.html multiple-thai-counters-ref.html
-fuzzy-if(webrender&&cocoaWidget,76-76,5-5) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == counter-suffix.html counter-suffix-ref.html # Bug 1392106
+random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == counter-suffix.html counter-suffix-ref.html # Bug 1392106
 random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == counter-cjk-decimal.html counter-cjk-decimal-ref.html # Bug 1392106
 random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == counter-japanese-informal.html counter-japanese-informal-ref.html # Bug 1392106
 random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == counter-japanese-formal.html counter-japanese-formal-ref.html # Bug 1392106
 random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == counter-korean-hangul-formal.html counter-korean-hangul-formal-ref.html # Bug 1392106
 random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == counter-korean-hanja-informal.html counter-korean-hanja-informal-ref.html # Bug 1392106
 random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == counter-korean-hanja-formal.html counter-korean-hanja-formal-ref.html # Bug 1392106
 random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == counter-simp-chinese-informal.html counter-simp-chinese-informal-ref.html # Bug 1392106
 random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == counter-simp-chinese-formal.html counter-simp-chinese-formal-ref.html # Bug 1392106
--- a/layout/reftests/counters/t1202-counter-04-b-reference.html
+++ b/layout/reftests/counters/t1202-counter-04-b-reference.html
@@ -5,24 +5,24 @@
   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content"/>
   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/>
   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counter-styles"/>
 
  </head>
  <body>
 
  <div>
-   <span>&#x25FE;</span>
-   <span>&#x25FE;</span>
-   <span>&#x25FE;</span>
-   <span>&#x25FE;</span>
-   <span>&#x25FE;</span>
-   <span>&#x25FE;</span>
-   <span>&#x25FE;</span>
-   <span>&#x25FE;</span>
-   <span>&#x25FE;</span>
-   <span>&#x25FE;</span>
-   <span>&#x25FE;</span>
-   <span>&#x25FE;</span>
+   <span>&#x25AA;</span>
+   <span>&#x25AA;</span>
+   <span>&#x25AA;</span>
+   <span>&#x25AA;</span>
+   <span>&#x25AA;</span>
+   <span>&#x25AA;</span>
+   <span>&#x25AA;</span>
+   <span>&#x25AA;</span>
+   <span>&#x25AA;</span>
+   <span>&#x25AA;</span>
+   <span>&#x25AA;</span>
+   <span>&#x25AA;</span>
  </div>
 
  </body>
 </html>
--- a/layout/reftests/counters/t1202-counters-04-b-reference.html
+++ b/layout/reftests/counters/t1202-counters-04-b-reference.html
@@ -6,24 +6,24 @@
   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/>
   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counter-styles"/>
  </head>
  <body>
 
  <p></p>
 
  <div>
-   <span>&#x25FE;.&#x25FE;</span>
-   <span>&#x25FE;.&#x25FE;</span>
-   <span>&#x25FE;.&#x25FE;</span>
-   <span>&#x25FE;.&#x25FE;</span>
-   <span>&#x25FE;.&#x25FE;</span>
-   <span>&#x25FE;.&#x25FE;</span>
-   <span>&#x25FE;.&#x25FE;</span>
-   <span>&#x25FE;.&#x25FE;</span>
-   <span>&#x25FE;.&#x25FE;</span>
-   <span>&#x25FE;.&#x25FE;</span>
-   <span>&#x25FE;.&#x25FE;</span>
-   <span>&#x25FE;.&#x25FE;</span>
+   <span>&#x25AA;.&#x25AA;</span>
+   <span>&#x25AA;.&#x25AA;</span>
+   <span>&#x25AA;.&#x25AA;</span>
+   <span>&#x25AA;.&#x25AA;</span>
+   <span>&#x25AA;.&#x25AA;</span>
+   <span>&#x25AA;.&#x25AA;</span>
+   <span>&#x25AA;.&#x25AA;</span>
+   <span>&#x25AA;.&#x25AA;</span>
+   <span>&#x25AA;.&#x25AA;</span>
+   <span>&#x25AA;.&#x25AA;</span>
+   <span>&#x25AA;.&#x25AA;</span>
+   <span>&#x25AA;.&#x25AA;</span>
  </div>
 
  </body>
 </html>
--- a/layout/reftests/list-item/bullet-space-1-ref.html
+++ b/layout/reftests/list-item/bullet-space-1-ref.html
@@ -19,28 +19,27 @@
     list-style-type:none;
   }
   span {
     display:inline-block;
   }
   .L {
     width:40px;
     text-align:right;
+    white-space: pre;
   }
   .R {
     width:40px;
     text-align:left;
+    white-space: pre;
   }
   .bullet {
     background:yellow;
-    padding:0 2px;
   }
-  .spacer {
-    width:calc(0.5em - 2px);
-  }
+  ::marker { font-family:inherit; }
  </style>
 </head>
 
 <body>
 
 <div class="outer">
 <div>
  <ul>
@@ -57,19 +56,19 @@
 
 <!-- The yellow background of the bullet spans here should completely cover the
      bullets from the <ul> items above, even though the exact positioning of the
      list item images may not match the plain-text version of the bullets.
      Therefore, the testcase (with list-style-type:disc) and reference (none)
      should match. -->
 <div class="outer">
 <div>
- <span class="L"><span class="bullet">&#x2022;</span><span class="spacer"></span></span>foo
+ <span class="L"><span class="bullet">&#x2022;</span> </span>foo
 </div>
 
 <div dir="rtl">
- <span class="R"><span class="bullet">&#x2022;</span><span class="spacer"></span></span>bar
+ <span class="R"><span class="bullet">&#x2022;</span> </span>bar
 </div>
 </div>
 
 </body>
 
 </html>
--- a/layout/reftests/list-item/bullet-space-1.html
+++ b/layout/reftests/list-item/bullet-space-1.html
@@ -19,28 +19,27 @@
     list-style-type:disc;
   }
   span {
     display:inline-block;
   }
   .L {
     width:40px;
     text-align:right;
+    white-space: pre;
   }
   .R {
     width:40px;
     text-align:left;
+    white-space: pre;
   }
   .bullet {
     background:yellow;
-    padding:0 2px;
   }
-  .spacer {
-    width:calc(0.5em - 2px);
-  }
+  ::marker { font-family:inherit; }
  </style>
 </head>
 
 <body>
 
 <div class="outer">
 <div>
  <ul>
@@ -57,19 +56,19 @@
 
 <!-- The yellow background of the bullet spans here should completely cover the
      bullets from the <ul> items above, even though the exact positioning of the
      list item images may not match the plain-text version of the bullets.
      Therefore, the testcase (with list-style-type:disc) and reference (none)
      should match. -->
 <div class="outer">
 <div>
- <span class="L"><span class="bullet">&#x2022;</span><span class="spacer"></span></span>foo
+ <span class="L"><span class="bullet">&#x2022;</span> </span>foo
 </div>
 
 <div dir="rtl">
- <span class="R"><span class="bullet">&#x2022;</span><span class="spacer"></span></span>bar
+ <span class="R"><span class="bullet">&#x2022;</span> </span>bar
 </div>
 </div>
 
 </body>
 
 </html>
--- a/layout/reftests/list-item/bullet-space-2-ref.html
+++ b/layout/reftests/list-item/bullet-space-2-ref.html
@@ -15,27 +15,25 @@
   .L {
     width:40px;
     text-align:right;
   }
   .R {
     width:40px;
     text-align:left;
   }
-  .spacer {
-    width:0.5em;
-  }
+  .L,.R { white-space:pre; }
  </style>
 </head>
 
 <body>
 
 <div>
- <span class="L"><span><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC"></span><span class="spacer"></span></span>foo
+ <span class="L"><span><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC"> </span></span>foo
 </div>
 
 <div dir="rtl">
- <span class="R"><span><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC"></span><span class="spacer"></span></span>bar
+ <span class="R"><span><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC"> </span></span>bar
 </div>
 
 </body>
 
 </html>
--- a/layout/reftests/list-item/bullet-space-2.html
+++ b/layout/reftests/list-item/bullet-space-2.html
@@ -6,18 +6,20 @@
  <title>Bug 1019470</title>
  <style>
   body {
     font-family:monospace;
     font-size:24px;
   }
   ul {
     margin:0;
+    list-style-type: none; /* to ensure we use the same font metrics as the reference for the trailing space */
     list-style-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC");
   }
+  ::marker { font-family: inherit; }
  </style>
 </head>
 
 <body>
 
 <div>
  <ul>
   <li>foo</li>
--- a/layout/reftests/list-item/numbering-1.html
+++ b/layout/reftests/list-item/numbering-1.html
@@ -1,25 +1,29 @@
 <!DOCTYPE HTML>
 <html><head>
     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
     <title>Testcase #1 for bug 614969</title>
+    <style>
+      .col {column-width:1em}
+      .col::marker {white-space:initial}
+    </style>
 </head>
 <body>
 
 <ol style="list-style: decimal inside">
     <li style="overflow: hidden">List item 1</li>
     <li style="overflow: hidden">List item 2</li>
     <li>List item 3</li>
     <li style="overflow: hidden">List item 4</li>
     <li style="overflow: hidden">List item 5</li>
     <li>List item 6</li>
     <div style="overflow: hidden"><li>List item 7</li></div>
 </ol>
 
 <ol style="list-style: decimal inside;">
-    <li style="column-width:1em;">item1</li>
-    <li style="column-width:1em;">item2</li>
-    <li style="column-width:1em;">item3</li>
+    <li class="col">item1</li>
+    <li class="col">item2</li>
+    <li class="col">item3</li>
 </ol>
 
 </body>
 </html>
--- a/layout/style/test/test_font_face_cascade.html
+++ b/layout/style/test/test_font_face_cascade.html
@@ -25,11 +25,11 @@ load_sheet(
   "@font-face { font-family: TestAuthor; src: url(about:invalid); }",
   "AUTHOR_SHEET");
 
 load_sheet(
   "@font-face { font-family: TestUser; src: url(about:invalid); }",
   "USER_SHEET");
 
 is([...document.fonts].map(f => f.family).join(" "),
-   'TestAgent TestUser TestAuthor',
-   "@font-face rules are returned in correct cascade order");
+   'TestAuthor',
+   "document.fonts only contains author @font-face rules");
 </script>
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/cjk-decimal/css3-counter-styles-001.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-001.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/cjk-decimal/css3-counter-styles-004.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-004.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-201.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-201.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-202.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-202.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-204.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-204.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-205.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-205.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/georgian/css3-counter-styles-010.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-010.html]
-  expected:
-    if (os == "win") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/hiragana-iroha/css3-counter-styles-033.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-033.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/hiragana-iroha/css3-counter-styles-034.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-034.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/hiragana/css3-counter-styles-030.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-030.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/hiragana/css3-counter-styles-031.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-031.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/hiragana/css3-counter-styles-032.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-032.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/japanese-formal/css3-counter-styles-047.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-047.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/japanese-formal/css3-counter-styles-048.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-048.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/japanese-formal/css3-counter-styles-050.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-050.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/japanese-formal/css3-counter-styles-051.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-051.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/japanese-informal/css3-counter-styles-042.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-042.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/japanese-informal/css3-counter-styles-043.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-043.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/japanese-informal/css3-counter-styles-045.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-045.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/katakana-iroha/css3-counter-styles-039.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-039.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/katakana-iroha/css3-counter-styles-040.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-040.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/katakana/css3-counter-styles-036.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-036.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/katakana/css3-counter-styles-037.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-037.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/korean-hangul-formal/css3-counter-styles-052.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-052.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/korean-hangul-formal/css3-counter-styles-053.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-053.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/korean-hangul-formal/css3-counter-styles-055.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-055.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/korean-hangul-formal/css3-counter-styles-056.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-056.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
--- a/testing/web-platform/meta/css/css-counter-styles/korean-hanja-formal/css3-counter-styles-062.html.ini
+++ b/testing/web-platform/meta/css/css-counter-styles/korean-hanja-formal/css3-counter-styles-062.html.ini
@@ -1,4 +1,3 @@
 [css3-counter-styles-062.html]
   expected:
     if (os == "win") and (processor == "x86") and not debug: ["PASS", "FAIL"]
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/korean-hanja-formal/css3-counter-styles-063.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-063.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
--- a/testing/web-platform/meta/css/css-counter-styles/korean-hanja-formal/css3-counter-styles-065.html.ini
+++ b/testing/web-platform/meta/css/css-counter-styles/korean-hanja-formal/css3-counter-styles-065.html.ini
@@ -1,4 +1,3 @@
 [css3-counter-styles-065.html]
   expected:
     if (os == "win") and (processor == "x86") and not debug: ["PASS", "FAIL"]
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/korean-hanja-formal/css3-counter-styles-066.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-066.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/korean-hanja-informal/css3-counter-styles-057.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-057.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/korean-hanja-informal/css3-counter-styles-058.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-058.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/korean-hanja-informal/css3-counter-styles-060.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-060.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/myanmar/css3-counter-styles-140.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[css3-counter-styles-140.html]
-  expected:
-    if webrender: FAIL
-    PASS
-  bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1706696
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/myanmar/css3-counter-styles-141.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[css3-counter-styles-141.html]
-  expected:
-    if webrender: FAIL
-    PASS
-  bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1706696
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/myanmar/css3-counter-styles-142.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[css3-counter-styles-142.html]
-  expected:
-    if webrender: FAIL
-    PASS
-  bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1706696
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/simp-chinese-formal/css3-counter-styles-076.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-076.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/simp-chinese-formal/css3-counter-styles-077.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-077.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/simp-chinese-formal/css3-counter-styles-079.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-079.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/simp-chinese-formal/css3-counter-styles-080.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-080.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/simp-chinese-informal/css3-counter-styles-071.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-071.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/simp-chinese-informal/css3-counter-styles-072.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-072.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/simp-chinese-informal/css3-counter-styles-074.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-074.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/tamil/css3-counter-styles-146.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[css3-counter-styles-146.html]
-  expected:
-    if webrender and (os == "android"): FAIL
-    if webrender and (os == "linux"): FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/tamil/css3-counter-styles-147.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[css3-counter-styles-147.html]
-  expected:
-    if webrender and (os == "linux"): FAIL
-    if webrender and (os == "android"): FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/tibetan/css3-counter-styles-155.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-155.html]
-  expected:
-    if (os == "win") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/tibetan/css3-counter-styles-156.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-156.html]
-  expected:
-    if (os == "win") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/tibetan/css3-counter-styles-157.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-157.html]
-  expected:
-    if (os == "win") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-086.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-086.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-087.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-087.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-089.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-089.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-090.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-090.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/trad-chinese-informal/css3-counter-styles-081.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-081.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/trad-chinese-informal/css3-counter-styles-082.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-082.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-counter-styles/trad-chinese-informal/css3-counter-styles-084.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[css3-counter-styles-084.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-lists/content-property/marker-text-matches-georgian.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[marker-text-matches-georgian.html]
-  expected:
-    if os == "win": FAIL
-    if (os == "android"): FAIL
-  max-asserts: 3
--- a/testing/web-platform/meta/css/css-multicol/multicol-height-002-print.xht.ini
+++ b/testing/web-platform/meta/css/css-multicol/multicol-height-002-print.xht.ini
@@ -1,4 +1,6 @@
 [multicol-height-002-print.xht]
   expected:
     if os == "linux": PASS
     if os == "mac": FAIL
+  fuzzy:
+    if os == "win": maxDifference=0-84;totalPixels=0-16
--- a/testing/web-platform/meta/css/css-multicol/multicol-list-item-006.html.ini
+++ b/testing/web-platform/meta/css/css-multicol/multicol-list-item-006.html.ini
@@ -1,2 +1,5 @@
 [multicol-list-item-006.html]
-  expected: FAIL
+  expected:
+    if (os == "win"): PASS
+    if (os == "mac"): PASS
+    FAIL
--- a/testing/web-platform/meta/css/css-pseudo/marker-computed-size.html.ini
+++ b/testing/web-platform/meta/css/css-pseudo/marker-computed-size.html.ini
@@ -1,7 +1,4 @@
 [marker-computed-size.html]
-  [::marker with no box due to 'list-style']
-    expected: FAIL
-
   [::marker with no box due to 'content']
     expected: FAIL
 
--- a/testing/web-platform/meta/css/css-pseudo/marker-content-008.tentative.html.ini
+++ b/testing/web-platform/meta/css/css-pseudo/marker-content-008.tentative.html.ini
@@ -1,2 +1,3 @@
 [marker-content-008.tentative.html]
   prefs: [layout.css.marker.restricted:false]
+  fuzzy: maxDifference=0-30;totalPixels=0-20
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-pseudo/marker-content-012.html.ini
+++ /dev/null
@@ -1,6 +0,0 @@
-[marker-content-012.html]
-  expected:
-    if not webrender and (os == "linux") and not debug: FAIL
-    if not webrender and (os == "linux") and debug: ["FAIL", "PASS"]
-    if not webrender and (os == "win"): FAIL
-    if not webrender and (os == "mac"): ["FAIL", "PASS"]
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-pseudo/marker-content-016.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[marker-content-016.html]
-  expected: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-pseudo/marker-content-018.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[marker-content-018.html]
-  expected: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-pseudo/marker-hit-testing.html.ini
+++ /dev/null
@@ -1,13 +0,0 @@
-[marker-hit-testing.html]
-  [outside image ::marker]
-    expected: FAIL
-
-  [outside nested image ::marker]
-    expected: FAIL
-
-  [outside nested string ::marker]
-    expected: FAIL
-
-  [outside string ::marker]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-pseudo/marker-inherit-line-height.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[marker-inherit-line-height.html]
-  expected:
-    if os == "mac": FAIL
-    if os == "linux": FAIL
-    if (os == "android"): FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-pseudo/marker-text-transform-uppercase.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[marker-text-transform-uppercase.html]
-  expected: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-pseudo/marker-unicode-bidi-default.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[marker-unicode-bidi-default.html]
-  expected:
-    if os == "mac": FAIL
-    if os == "android": FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-pseudo/marker-unicode-bidi-normal.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[marker-unicode-bidi-normal.html]
-  expected: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/system-alphabetic.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[system-alphabetic.html]
-  expected:
-    if (os == "mac") and webrender: FAIL
--- a/testing/web-platform/meta/mathml/relations/html5-tree/integration-point-2.html.ini
+++ b/testing/web-platform/meta/mathml/relations/html5-tree/integration-point-2.html.ini
@@ -1,3 +1,3 @@
 [integration-point-2.html]
   fuzzy:
-    if webrender: maxDifference=0-1;totalPixels=0-4
+    if webrender: maxDifference=0-4;totalPixels=0-4
--- a/testing/web-platform/meta/quirks/line-height-in-list-item.tentative.html.ini
+++ b/testing/web-platform/meta/quirks/line-height-in-list-item.tentative.html.ini
@@ -1,2 +1,3 @@
 [line-height-in-list-item.tentative.html]
-  expected: FAIL
+  fuzzy:
+    if os == "win": maxDifference=0-4;totalPixels=0-4
--- a/testing/web-platform/tests/css/CSS2/generated-content/content-counter-004-ref.xht
+++ b/testing/web-platform/tests/css/CSS2/generated-content/content-counter-004-ref.xht
@@ -1,33 +1,32 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <title>CSS Reftest Reference</title>
 <link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com"/>
 <style type="text/css">
-div {
-  white-space: nowrap;
-}
-
 #test {
   color: blue;
 }
+li { list-style-type: square; list-style-position: inside; }
+li::marker { font-family: inherit; }
+ib {  }
 </style>
 </head>
 <body>
 <p>Test passes if there are 12 blue filled squares below.</p>
 <div id="test">
-&#x25FE;
-&#x25FE;
-&#x25FE;
-&#x25FE;
-&#x25FE;
-&#x25FE;
-&#x25FE;
-&#x25FE;
-&#x25FE;
-&#x25FE;
-&#x25FE;
-&#x25FE;
+<li></li>
+<li></li>
+<li></li>
+<li></li>
+<li></li>
+<li></li>
+<li></li>
+<li></li>
+<li></li>
+<li></li>
+<li></li>
+<li></li>
 </div>
 </body>
 </html>
--- a/testing/web-platform/tests/css/CSS2/generated-content/content-counter-004.xht
+++ b/testing/web-platform/tests/css/CSS2/generated-content/content-counter-004.xht
@@ -4,21 +4,18 @@
   <title>CSS Test: content: counter(c, square)</title>
   <link rel="author" title="L. David Baron" href="https://dbaron.org/"/>
   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content"/>
   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/>
   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counter-styles"/>
   <link rel="match" href="content-counter-004-ref.xht"/>
   <style type="text/css">
 
-  div { white-space: nowrap; }
-
-
   #test { counter-reset: c; color: blue; }
-  #test span { counter-increment: c; }
+  #test span { display: block; counter-increment: c; }
   #test span:before { content: counter(c, square); }
 
   </style>
  </head>
  <body>
 
  <p>Test passes if there are 12 blue filled squares below.</p>
 
--- a/testing/web-platform/tests/css/CSS2/lists/list-style-021-ref.xht
+++ b/testing/web-platform/tests/css/CSS2/lists/list-style-021-ref.xht
@@ -7,16 +7,17 @@
   <title>CSS Reftest Reference</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
 
   <style type="text/css"><![CDATA[
   body {margin-left: 100px;}
 
   ul {list-style-image: url("../support/cat.png");}
+  li::marker { font-family: inherit; }
   ]]></style>
 
  </head>
 
  <body>
 
   <p>Test passes if there is a <strong>cat image</strong>.</p>
 
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/lists/list-style-image-007-ref.html
@@ -0,0 +1,15 @@
+<!doctype html>
+<html
+ <head>
+  <title>Reference: CSS List Images: invalid</title>
+  <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
+ </head>
+ <body>
+  <p>There should be a bullet list with three similarly formatted list items below.</p>
+  <ul>
+   <li>One.</li>
+   <li>Two.</li>
+   <li>Three.</li>
+  </ul>
+ </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/lists/list-style-image-007.html
@@ -0,0 +1,22 @@
+<!doctype html>
+<html
+ <head>
+  <title>CSS Test: CSS List Images: invalid</title>
+  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
+  <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
+  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style" >
+  <link rel="match" href="list-style-image-007-ref.html">
+
+  <style>
+   .no { list-style-image: url(404); }
+  </style>
+ </head>
+ <body>
+  <p>There should be a bullet list with three similarly formatted list items below.</p>
+  <ul>
+   <li> One.</li>
+   <li class="no"> Two.</li>
+   <li> Three.</li>
+  </ul>
+ </body>
+</html>
--- a/testing/web-platform/tests/css/CSS2/visudet/height-applies-to-010a-ref.xht
+++ b/testing/web-platform/tests/css/CSS2/visudet/height-applies-to-010a-ref.xht
@@ -8,16 +8,17 @@
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
 
   <style type="text/css"><![CDATA[
   li
   {
   color: green;
   font: 2em/1 serif;
+  list-style-type: "\2022";
   }
   ]]></style>
 
  </head>
 
  <body>
 
   <p>Test passes if <strong>3 green "PASS"</strong> are each preceded by a filled disc.</p>
--- a/testing/web-platform/tests/css/CSS2/visudet/height-applies-to-010a.xht
+++ b/testing/web-platform/tests/css/CSS2/visudet/height-applies-to-010a.xht
@@ -19,31 +19,33 @@
   div
   {
   color: green;
   display: list-item;
   font: 2em/1 serif;
   height: 0px;
   margin-left: 1.25em;
   overflow: visible;
+  list-style-type: "\2022";
   }
 
   ul
   {
   height: auto;
   margin-top: 3em;
   overflow: visible;
   }
 
   li
   {
   color: green;
   font: 2em/1 serif;
   height: 0px;
   overflow: visible;
+  list-style-type: "\2022";
   }
 
   ul#heightless {height: 0px;}
   ]]></style>
 
  </head>
 
  <body>
--- a/testing/web-platform/tests/css/css-contain/contain-paint-clip-005.html
+++ b/testing/web-platform/tests/css/css-contain/contain-paint-clip-005.html
@@ -16,16 +16,17 @@
     contain: paint;
     overflow-y: scroll;
     width: 100px;
     height: 100px;
     background: green;
     margin: 25px;
     padding: 25px;
   }
+  ::marker { font-family: inherit; }
   </style>
 </head>
 <body>
   <ul>
     <li class="root">
       AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA This text should
       be clipped to the box. Lorem ipsum dolor sit amet, consectetur adipiscing
       elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam.
--- a/testing/web-platform/tests/css/css-display/display-flow-root-list-item-001-ref.html
+++ b/testing/web-platform/tests/css/css-display/display-flow-root-list-item-001-ref.html
@@ -24,30 +24,30 @@ body { padding-left: 100px; }
 .clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
 
   </style>
 </head>
 <body>
 
 <div style="border:1px solid">
   <div style="margin: 40px 0">
-    <div style="display:list-item">x</div>
+    <div style="display:list-item"><div>x</div></div>
   </div>
 </div>
 
 <div style="border:1px solid">
   <div style="display:list-item" class="float"></div>
   <div class="clearfix"></div>
 </div>
 
 <div style="border:1px solid">
   <div class="float"></div>
   <div style="display:list-item; border:1px solid; margin-left:20px">x</div>
 </div>
 
 <span>
-  <span style="display:list-item; background:grey; margin:20px 0 0 21px"><div style="padding:20px">x</div></span>
+  <div style="display:flow-root; margin-top:20px"><span style="display:list-item; background:grey"><div style="padding:20px">x</div></span></div>
 </span>
 
 <div style="display:list-item; border:3px solid; height:10px;"></div>
 
 </body>
 </html>
--- a/testing/web-platform/tests/css/css-display/run-in/run-in-listitem-between-002.xht
+++ b/testing/web-platform/tests/css/css-display/run-in/run-in-listitem-between-002.xht
@@ -9,17 +9,17 @@
   <meta name="flags" content="dom" />
   <meta name="assert"
         content="Tests that run-ins don't run in if there's a dynamically
                  inserted list-item between them and the block."/>
   <style type="text/css"><![CDATA[
     div { display: block; }
     .run-in { display: run-in; font-weight: bold }
     #target { border: 2px solid black; }
-    #r { display: list-item; }
+    #r { display: list-item; list-style-type: ""; }
   ]]></style>
   <script type="text/javascript"><![CDATA[
     function flushLayout(elt) {
       elt.offsetWidth; /* Just undefined on non-elements, but that's ok */
       for (var i = 0; i < elt.childNodes.length; ++i) {
         flushLayout(elt.childNodes[i]);
       }
     }
--- a/testing/web-platform/tests/css/css-flexbox/flexbox_columns.html
+++ b/testing/web-platform/tests/css/css-flexbox/flexbox_columns.html
@@ -10,16 +10,17 @@ ul {
 	padding: 0;
 	margin: 0;
 
 	display: flex;
 	justify-content: space-around;
 	columns: 3;
 	column-rule: 1em solid red;
 }
+::marker { font-family:inherit; }
 </style>
 
 <ul>
 	<li>one two three four</li>
 	<li>filler</li>
 	<li>filler</li>
 	<li>filler</li>
 	<li>filler</li>
--- a/testing/web-platform/tests/css/css-lists/inline-list-ref.html
+++ b/testing/web-platform/tests/css/css-lists/inline-list-ref.html
@@ -19,31 +19,31 @@ li { display: list-item; list-style-posi
 
 .wrap { width: 22ch; }
 ib { display:inline-block; }
 </style>
 </head>
 <body>
 
 <div class="wrap">
-<span><ib><li>A</li></ib> A A A A A A A A A A A A A A A A A A A </span><span><ib><li value=2></li></ib>B</span>
+<span><ib><li>A</li></ib> A A A A A A A A A A A A A A A A A A A </span><span style="white-space:pre"><ib><li value=2></li></ib>B</span>
 
 <ol>
 <span><ib><li>A</li></ib> A A A A A A A A A A A A A A A A A A A </span><span><ib><li>B</li></ib></span>
 <span><ib><li>C</li></ib></span>
 </ol>
 
 <ol style="display:inline">
 <span><ib><li>A</li></ib> A A A A A A A A A A A A A A A A A A A </span><span><ib><li>B</li></ib></span>
 <span><ib><li>C</li></ib></span></ol><ol style="display:inline">
 <span><ib><li>A</li></ib> A A A A A A A A A A A A A A A A A A A </span><span><ib><li></li></ib>B<ol>
 <span><ib><li>a</li></ib> a a a a a a a a a a a a a a a a a a a </span><span><ib><li>b</li></ib></span>
 </ol></li></ib></span>
 <span><ib><li>C</li></ib></span>
 </ol>
 
 <ul>
-<span><ib><li>A</li></ib> A A A A A A A A A A A A A A A A A A A </span><span><ib><li></li></ib><br>B <ol style="display:inline"><span><ib><li>a</li></ib> a a a a a a a a a a a a a a a a a a a </span><span><ib><li>b</li></ib></span>
+<span><ib><li>A</li></ib> A A A A A A A A A A A A A A A A A A A </span><span><x style="white-space:pre"><ib><li></li></ib>B</x> <ol style="display:inline"><span><ib><li>a</li></ib> a a a a a a a a a a a a a a a a a a a </span><span><ib><li>b</li></ib></span>
 </ol></span><span><ib><li>C</li></ib></span>
 </ul>
 </div>
 
 </body>
--- a/testing/web-platform/tests/css/css-lists/list-marker-alignment-ref.html
+++ b/testing/web-platform/tests/css/css-lists/list-marker-alignment-ref.html
@@ -1,9 +1,10 @@
 <!DOCTYPE html>
+<style>::marker { font-family:inherit; }</style>
 <div style="display:inline-block;">
   <ul>
     <li>
         xx
     </li>
     xx
   </ul>
 </div>
--- a/testing/web-platform/tests/css/css-lists/list-marker-alignment.html
+++ b/testing/web-platform/tests/css/css-lists/list-marker-alignment.html
@@ -1,12 +1,13 @@
 <!DOCTYPE html>
 <link rel="help" href="https://crbug.com/1051181">
 <link rel="match" href="list-marker-alignment-ref.html">
 <meta name="assert" content="This test checks the list marker aligns to the first baseline.">
+<style>::marker { font-family:inherit; }</style>
 <div style="display:inline-block;">
   <ul>
     <li>
       <p>
         xx<br>xx
       </p>
     </li>
   </ul>
--- a/testing/web-platform/tests/css/css-lists/list-marker-symbol-bidi-ref.html
+++ b/testing/web-platform/tests/css/css-lists/list-marker-symbol-bidi-ref.html
@@ -7,16 +7,17 @@ section {
   float: left;
 }
 .inside {
   list-style-position: inside;
 }
 span {
   float: right;
 }
+::marker { font-family: inherit; }
 </style>
 <section>
   <ul dir="ltr">
     <li class="outside embed-none">text</li>
     <li class="outside embed-item">text</li>
     <li class="outside embed-marker">text</li>
     <li class="outside embed-both">text</li>
     <li class="inside embed-none">text</li>
--- a/testing/web-platform/tests/css/css-lists/list-marker-symbol-bidi.html
+++ b/testing/web-platform/tests/css/css-lists/list-marker-symbol-bidi.html
@@ -29,16 +29,17 @@ section {
 }
 .embed-item::marker, .embed-none::marker,
 .isolate-item::marker, .isolate-none::marker,
 .override-item::marker, .override-none::marker,
 .paintext-item::marker, .paintext-none::marker,
 .isolateoverride-item::marker, .isolateoverride-none::marker {
   unicode-bidi: normal;
 }
+::marker { font-family: inherit; }
 </style>
 <section>
   <ul dir="ltr">
     <li class="outside embed-none">text</li>
     <li class="outside embed-item">text</li>
     <li class="outside embed-marker">text</li>
     <li class="outside embed-both">text</li>
     <li class="inside embed-none">text</li>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-lists/list-style-image-gradients-dynamic-ref.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<!--
+     Any copyright is dedicated to the Public Domain.
+     http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<html>
+<meta charset="utf-8">
+<title>CSS Reference: Gradient list markers with dynamic font-size change</title>
+<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
+<style>
+li {
+  list-style-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' style='background: blue'></svg>");
+}
+::marker {
+  font-size: 36px;
+}
+</style>
+<ul>
+  <li>text</li>
+  <li>text</li>
+  <li>text</li>
+  <li>text</li>
+</ul>
+</html>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-lists/list-style-image-gradients-dynamic.html
@@ -0,0 +1,33 @@
+<!doctype html>
+<!--
+     Any copyright is dedicated to the Public Domain.
+     http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<html class="reftest-wait">
+<meta charset="utf-8">
+<title>CSS Test: Gradient list markers with dynamic font-size change</title>
+<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
+<link rel="help" href="https://drafts.csswg.org/css-lists/#image-markers">
+<link rel="help" href="https://drafts.csswg.org/css-images-3/#typedef-gradient">
+<link rel="match" href="list-style-image-gradients-dynamic-ref.html">
+<meta name="assert" content="list-style-image:<gradient> with a single color renders the same as an image without an intrinsic size of the same color">
+<style>
+.larger-font ::marker {
+  font-size: 36px;
+}
+</style>
+<ul>
+  <li style="list-style-image: linear-gradient(blue, blue)">text</li>
+  <li style="list-style-image: repeating-linear-gradient(blue, blue 2px, blue 4px)">text</li>
+  <li style="list-style-image: radial-gradient(blue, blue)">text</li>
+  <li style="list-style-image: repeating-radial-gradient(blue, blue .2em, blue .4em)">text</li>
+</ul>
+<script src="/common/reftest-wait.js"></script>
+<script>
+addEventListener("load", () => {
+  document.body.offsetLeft;
+  document.body.classList.add("larger-font");
+  takeScreenshot();
+}, {once: true});
+</script>
+</html>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-lists/list-style-image-gradients-ref.html
@@ -0,0 +1,34 @@
+<!doctype html>
+<!--
+     Any copyright is dedicated to the Public Domain.
+     http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<html>
+<meta charset="utf-8">
+<title>CSS Reference: Gradient list markers</title>
+<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
+<style>
+li {
+  list-style-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' style='background: blue'></svg>");
+}
+.none > li { list-style-type: none; }
+</style>
+<ul>
+  <li>text</li>
+  <li>text</li>
+  <li>text</li>
+  <li>text</li>
+</ul>
+<ol>
+  <li>text</li>
+  <li>text</li>
+  <li>text</li>
+  <li>text</li>
+</ol>
+<ol class="none">
+  <li>text</li>
+  <li>text</li>
+  <li>text</li>
+  <li>text</li>
+</ol>
+</html>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-lists/list-style-image-gradients.html
@@ -0,0 +1,35 @@
+<!doctype html>
+<!--
+     Any copyright is dedicated to the Public Domain.
+     http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<html>
+<meta charset="utf-8">
+<title>CSS Test: Gradient list markers</title>
+<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
+<link rel="help" href="https://drafts.csswg.org/css-lists/#image-markers">
+<link rel="help" href="https://drafts.csswg.org/css-images-3/#typedef-gradient">
+<link rel="match" href="list-style-image-gradients-ref.html">
+<meta name="assert" content="list-style-image:<gradient> with a single color renders the same as an image without an intrinsic size of the same color">
+<style>
+.none > li { list-style-type: none; }
+</style>
+<ul>
+  <li style="list-style-image: linear-gradient(blue, blue)">text</li>
+  <li style="list-style-image: repeating-linear-gradient(blue, blue 2px, blue 4px)">text</li>
+  <li style="list-style-image: radial-gradient(blue, blue)">text</li>
+  <li style="list-style-image: repeating-radial-gradient(blue, blue .2em, blue .4em)">text</li>
+</ul>
+<ol>
+  <li style="list-style-image: linear-gradient(blue, blue)">text</li>
+  <li style="list-style-image: repeating-linear-gradient(blue, blue 2px, blue 4px)">text</li>
+  <li style="list-style-image: radial-gradient(blue, blue)">text</li>
+  <li style="list-style-image: repeating-radial-gradient(blue, blue .2em, blue .4em)">text</li>
+</ol>
+<ol class="none">
+  <li style="list-style-image: linear-gradient(blue, blue)">text</li>
+  <li style="list-style-image: repeating-linear-gradient(blue, blue 2px, blue 4px)">text</li>
+  <li style="list-style-image: radial-gradient(blue, blue)">text</li>
+  <li style="list-style-image: repeating-radial-gradient(blue, blue .2em, blue .4em)">text</li>
+</ol>
+</html>
--- a/testing/web-platform/tests/css/css-lists/list-type-none-style-image-ref.html
+++ b/testing/web-platform/tests/css/css-lists/list-type-none-style-image-ref.html
@@ -2,16 +2,19 @@
 <html>
   <head>
     <title>Reference: CSS Lists: 'list-style-image' takes precedence over 'list-style-type: none'</title>
     <link rel="author" title="Emil A Eklund" href="mailto:eae@chromium.org">
     <style>
       li {
         list-style-image: url('../../images/green-16x16.png');
       }
+      ::marker {
+        font-family: inherit;
+      }
     </style>
   </head>
   <body>
     <ul>
       <li>Should have a green square list marker.</li>
     </ul>
   </body>
 </html>
--- a/testing/web-platform/tests/css/css-multicol/multicol-list-item-001.xht
+++ b/testing/web-platform/tests/css/css-multicol/multicol-list-item-001.xht
@@ -23,16 +23,17 @@
   }
 
   li, span {font-size: 1em;}
 
   li
   {
   margin-left: 1em;
   padding: 0em;
+  list-style-type: "X";
   }
 
   span {display: block;}
   ]]></style>
  </head>
 
  <body>
 
@@ -45,9 +46,9 @@
 	<li><span>6tli</span></li>
 	<li>7tli</li>
 	<li>8tli</li>
 	<li>9tli</li>
 	<li>10tl</li>
   </ul>
 
  </body>
-</html>
\ No newline at end of file
+</html>
--- a/testing/web-platform/tests/css/css-multicol/multicol-span-all-list-item-001-ref.html
+++ b/testing/web-platform/tests/css/css-multicol/multicol-span-all-list-item-001-ref.html
@@ -15,17 +15,17 @@
     outline: 1px solid blue;
     margin: 0;
   }
   </style>
 
   <body>
     <ul>
       <li style="list-style-position: outside;">
-        bullet outside
+        <div>bullet outside</div>
         <h3>spanner</h3>
       </li>
       <li style="list-style-position: inside;">
         bullet inside
         <h3>spanner</h3>
       </li>
       <li style="list-style-position: outside;">
         <h3>spanner (bullet outside)</h3>
--- a/testing/web-platform/tests/css/css-multicol/multicol-span-all-list-item-002-ref.html
+++ b/testing/web-platform/tests/css/css-multicol/multicol-span-all-list-item-002-ref.html
@@ -16,17 +16,17 @@
     outline: 1px solid blue;
     margin: 0;
   }
   </style>
 
   <body>
     <ul>
       <li style="list-style-position: outside;">
-        bullet outside
+        <div>bullet outside</div>
         <h3>spanner</h3>
       </li>
       <li style="list-style-position: inside;">
         bullet inside
         <h3>spanner</h3>
       </li>
       <li style="list-style-position: outside;">
         <h3>spanner (bullet outside)</h3>
--- a/testing/web-platform/tests/css/css-position/position-absolute-dynamic-list-marker.html
+++ b/testing/web-platform/tests/css/css-position/position-absolute-dynamic-list-marker.html
@@ -14,16 +14,17 @@ ul {
 }
 
 #target {
   position: absolute;
   width: 100px;
   height: 100px;
   background: green;
 }
+::marker { color: white; }
 </style>
 <p>Test passes if there is a filled green square.</p>
 <ul>
   <li style="position: relative;">
     <div style="height: 50px;"></div>
     <div id=target></div>
   </li>
 </ul>
--- a/testing/web-platform/tests/css/css-pseudo/marker-content-008-ref.html
+++ b/testing/web-platform/tests/css/css-pseudo/marker-content-008-ref.html
@@ -2,17 +2,17 @@
 <html>
 <head>
 <meta charset="utf-8">
 <title>CSS Reference: ::marker pseudo elements styled with 'content' property</title>
 <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
 <style>
 li { list-style-type: "ab"; }
 #t1 > li { list-style-type: "ab"; }
-#t2 > li { list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAMCAIAAAD3UuoiAAAAGklEQVQoz2Nk%2BP%2BfgRqAiYFKYNSgUYOGp0EA%2BQMCFrJdTgsAAAAASUVORK5CYII%3D); }
+#t2 > li::before { content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAMCAIAAAD3UuoiAAAAGklEQVQoz2Nk%2BP%2BfgRqAiYFKYNSgUYOGp0EA%2BQMCFrJdTgsAAAAASUVORK5CYII%3D); margin-left: -24px; }
 li::after {
   content: "d";
 }
 span { font-size: 32pt; }
 </style>
 </head>
 <body>
 <ol id="t1"><li>c</li><li>cB</li><li>c<span>C</span></li></ol>
--- a/testing/web-platform/tests/css/css-pseudo/marker-content-008.tentative.html
+++ b/testing/web-platform/tests/css/css-pseudo/marker-content-008.tentative.html
@@ -6,17 +6,17 @@
 <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
 <link rel="match" href="marker-content-008-ref.html">
 <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo">
 <style>
 li {
   list-style-position: outside;
 }
 #t1 > li::marker { content: "a" "b"; }
-#t2 > li::marker { content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAMCAIAAAD3UuoiAAAAGklEQVQoz2Nk%2BP%2BfgRqAiYFKYNSgUYOGp0EA%2BQMCFrJdTgsAAAAASUVORK5CYII%3D); padding-inline-end: calc(1em / 2); }
+#t2 > li::marker { content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAMCAIAAAD3UuoiAAAAGklEQVQoz2Nk%2BP%2BfgRqAiYFKYNSgUYOGp0EA%2BQMCFrJdTgsAAAAASUVORK5CYII%3D); }
 li::before {
   content: "c";
 }
 li::after {
   content: "d";
 }
 span { font-size: 32pt; }
 </style>
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-062.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-062.xht
@@ -37,16 +37,27 @@
     {
       background-color: blue;
       border-top: blue solid 1em;
       list-style: none outside url("support/blue1x1.png");
       margin: 0em;
       padding-bottom: 1em; /* overriding default 40px in several browsers */
     }
 
+  /*
+     This test depends on the blue ::marker image being placed inside the (blue)
+     padding area.  That depends on how the spacing between it and the list-item
+     box is calculated, which depends on font metrics.  The following rule is
+     to avoid these uncertainties and place it inside the padding for sure.
+  */
+  ::marker
+    {
+      font-size: 0;
+    }
+
   ul.left-border
     {
       border-left: blue solid 1em;
     }
 
   ul#right-border
     {
       border-right: blue solid 1em;
@@ -90,9 +101,9 @@
 
 <!-- The 2nd left-most line of right-most "S" --> <ul><li>c&nbsp; d&nbsp; e</li></ul>
 
 <!-- The 3rd left-most line of right-most "S" --> <ul><li>f&nbsp; g&nbsp; h</li></ul>
 
 <!-- The 4th left-most line of right-most "S" --> <ul id="right-border"><li>jjjj &nbsp;k</li></ul>
 
  </body>
-</html>
\ No newline at end of file
+</html>
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-061.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-061.xht
@@ -37,16 +37,27 @@
     {
       background-color: blue;
       border-bottom: blue solid 1em;
       list-style: none outside url("support/blue1x1.png");
       margin: 0em;
       padding-top: 1em; /* overriding default padding-start: 40px in several browsers */
     }
 
+  /*
+     This test depends on the blue ::marker image being placed inside the (blue)
+     padding area.  That depends on how the spacing between it and the list-item
+     box is calculated, which depends on font metrics.  The following rule is
+     to avoid these uncertainties and place it inside the padding for sure.
+  */
+  ::marker
+    {
+      font-size: 0;
+    }
+
   ul.right-border
     {
       border-right: blue solid 1em;
     }
 
   ul#left-border
     {
       border-left: blue solid 1em;
@@ -90,9 +101,9 @@
 
 <!-- The 2nd right-most line of "P" --> <ul><li>f&nbsp; g&nbsp;&nbsp; </li></ul>
 
 <!-- The 3rd right-most line of "P" --> <ul><li>h&nbsp; j&nbsp;&nbsp; </li></ul>
 
 <!-- The 4th right-most line of "P" --> <ul id="left-border"><li>kkkkkkk</li></ul>
 
  </body>
-</html>
\ No newline at end of file
+</html>
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-vlr-022.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-vlr-022.xht
@@ -46,16 +46,27 @@
     {
       border-left: blue solid 1em;
     }
 
   ul#right-border
     {
       border-right: blue solid 1em;
     }
+
+  /*
+     This test depends on the blue ::marker image being placed inside the (blue)
+     padding area.  That depends on how the spacing between it and the list-item
+     box is calculated, which depends on font metrics.  The following rule is
+     to avoid these uncertainties and place it inside the padding for sure.
+  */
+  ::marker
+    {
+      font-size: 0;
+    }
   ]]></style>
  </head>
 
  <body>
 
 <!-- The 1st left-most line of "P" --> <ul class="left-border"><li>AAAAAAA</li></ul>
 
 <!-- The 2nd left-most line of "P" --> <ul><li>B&nbsp; C&nbsp;&nbsp; </li></ul>
@@ -90,9 +101,9 @@
 
 <!-- The 2nd left-most line of right-most "S" --> <ul><li>c&nbsp; d&nbsp; e</li></ul>
 
 <!-- The 3rd left-most line of right-most "S" --> <ul><li>f&nbsp; g&nbsp; h</li></ul>
 
 <!-- The 4th left-most line of right-most "S" --> <ul id="right-border"><li>j&nbsp; kkkk</li></ul>
 
  </body>
-</html>
\ No newline at end of file
+</html>
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-vrl-021.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-vrl-021.xht
@@ -46,16 +46,27 @@
     {
       border-right: blue solid 1em;
     }
 
   ul#left-border
     {
       border-left: blue solid 1em;
     }
+
+  /*
+     This test depends on the blue ::marker image being placed inside the (blue)
+     padding area.  That depends on how the spacing between it and the list-item
+     box is calculated, which depends on font metrics.  The following rule is
+     to avoid these uncertainties and place it inside the padding for sure.
+  */
+  ::marker
+    {
+      font-size: 0;
+    }
   ]]></style>
  </head>
 
  <body>
 
 <!-- The right-most line of right-most "S" --> <ul class="right-border"><li>A&nbsp; BBBB</li></ul>
 
 <!-- The 2nd right-most line of right-most "S" --> <ul><li>C&nbsp; D&nbsp; E</li></ul>
@@ -90,9 +101,9 @@
 
 <!-- The 2nd right-most line of "P" --> <ul><li>f&nbsp; g&nbsp;&nbsp; </li></ul>
 
 <!-- The 3rd right-most line of "P" --> <ul><li>h&nbsp; j&nbsp;&nbsp; </li></ul>
 
 <!-- The 4th right-most line of "P" --> <ul id="left-border"><li>kkkkkkk</li></ul>
 
  </body>
-</html>
\ No newline at end of file
+</html>
--- a/testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/redefine-attr-mapping-ref.html
+++ b/testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/redefine-attr-mapping-ref.html
@@ -5,16 +5,17 @@
 <link rel="stylesheet" href="support/test-common.css">
 <style type="text/css">
   .circle { list-style-type: circle; }
   .square { list-style-type: square; }
   .hiragana { list-style-type: hiragana; }
   .katakana { list-style-type: katakana; }
   .hiragana-iroha { list-style-type: hiragana-iroha; }
   .katakana-iroha { list-style-type: katakana-iroha; }
+  ::marker { font-family: inherit; }
 </style>
 <ul class="circle"><li></ul>
 <ul class="square"><li></ul>
 
 <ol><li></ol>
 <ol class="hiragana"><li></ol>
 <ol class="katakana"><li></ol>
 <ol class="hiragana-iroha"><li></ol>
--- a/testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/redefine-attr-mapping.html
+++ b/testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/redefine-attr-mapping.html
@@ -24,16 +24,17 @@
     system: extends katakana;
   }
   @counter-style lower-alpha {
     system: extends hiragana-iroha;
   }
   @counter-style upper-alpha {
     system: extends katakana-iroha;
   }
+  ::marker { font-family: inherit; }
 </style>
 <ul type="circle"><li></ul>
 <ul type="square"><li></ul>
 
 <ol><li></ol>
 <ol type="i"><li></ol>
 <ol type="I"><li></ol>
 <ol type="a"><li></ol>
--- a/testing/web-platform/tests/html/rendering/the-details-element/summary-text-decoration-ref.html
+++ b/testing/web-platform/tests/html/rendering/the-details-element/summary-text-decoration-ref.html
@@ -1,5 +1,11 @@
 <!doctype html>
 <title>Test reference</title>
-<details>
-  <summary><span style="text-decoration:underline">This text should be underlined.</span></summary>
-</details>
+<style>
+div {
+  display: list-item;
+  list-style-type: disclosure-closed;
+  list-style-position: inside;
+  text-decoration: underline;
+}
+</style>
+<div>This text should be underlined.</div>