Bug 1747934 - Make marker-line-height pass reliably in all platforms.
authorEmilio Cobos Álvarez <emilio@crisal.io>
Wed, 19 Jan 2022 20:51:45 +0100
changeset 604920 cc33400f0ff80f0eada6c3aa637f37d247a3ff46
parent 604919 5ca0244ba6d35ed29e915473ef7cf2238f378860
child 604921 85736aebde69025e054719838a9d8401c24ac29d
child 604946 38023fe54f8f832cc625fd2bde39efe3f1bf25e5
push id39165
push usermlaza@mozilla.com
push dateWed, 19 Jan 2022 21:47:18 +0000
treeherdermozilla-central@cc33400f0ff8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1747934
milestone98.0a1
first release with
nightly linux64
cc33400f0ff8 / 98.0a1 / 20220119214718 / files
nightly mac
cc33400f0ff8 / 98.0a1 / 20220119214718 / files
nightly win32
cc33400f0ff8 / 98.0a1 / 20220119214718 / files
nightly win64
cc33400f0ff8 / 98.0a1 / 20220119214718 / files
nightly linux32
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1747934 - Make marker-line-height pass reliably in all platforms. The line height might be font-family-dependent. MANUAL PUSH: Trivial orange fix CLOSED TREE
testing/web-platform/tests/css/css-pseudo/marker-line-height-ref.html
testing/web-platform/tests/css/css-pseudo/marker-line-height.html
--- a/testing/web-platform/tests/css/css-pseudo/marker-line-height-ref.html
+++ b/testing/web-platform/tests/css/css-pseudo/marker-line-height-ref.html
@@ -1,13 +1,14 @@
 <!DOCTYPE html>
 <meta charset="utf-8" />
 <title>CSS Reftest Reference</title>
 <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com" />
 <style>
+::marker { font-family: inherit; }
 ol {
   float: left;
   width: 50px;
   list-style-position: inside;
   line-height: 3;
 }
 li:first-child {
   list-style-type: disc;
--- a/testing/web-platform/tests/css/css-pseudo/marker-line-height.html
+++ b/testing/web-platform/tests/css/css-pseudo/marker-line-height.html
@@ -2,16 +2,17 @@
 <meta charset="utf-8">
 <title>::marker supports 'line-height'</title>
 <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com" />
 <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo">
 <link rel="help" href="https://drafts.csswg.org/css-inline/#propdef-line-height">
 <link rel="match" href="marker-line-height-ref.html">
 <meta name="assert" content="Checks that ::marker supports 'line-height', both explicitly set or inherited from an ancestor">
 <style>
+::marker { font-family: inherit; }
 ol {
   float: left;
   width: 50px;
   list-style-position: inside;
 }
 ol, ol div {
   line-height: 1;
   font-size: 1rem;