diff --git a/testing/web-platform/tests/css/css-fonts/font-size-adjust-012-ref.html b/testing/web-platform/tests/css/css-fonts/font-size-adjust-012-ref.html index 9b24c758b625..e60769737dad 100644 --- a/testing/web-platform/tests/css/css-fonts/font-size-adjust-012-ref.html +++ b/testing/web-platform/tests/css/css-fonts/font-size-adjust-012-ref.html @@ -19,9 +19,9 @@ } .test { font-family: var(--primary-font), var(--secondary-font); - font-size: 50px; + font-size: 100px; color: peru; - height: 50px; + height: 200px; } .primary-font { font-family: var(--primary-font); diff --git a/testing/web-platform/tests/css/css-fonts/font-size-adjust-012.html b/testing/web-platform/tests/css/css-fonts/font-size-adjust-012.html index a6037ffbacee..426349542760 100644 --- a/testing/web-platform/tests/css/css-fonts/font-size-adjust-012.html +++ b/testing/web-platform/tests/css/css-fonts/font-size-adjust-012.html @@ -23,9 +23,9 @@ } .test { font-family: var(--primary-font), var(--secondary-font); - font-size: 50px; + font-size: 100px; color: peru; - height: 50px; + height: 200px; } .primary-font { font-family: var(--primary-font); @@ -70,4 +70,4 @@ xA - \ No newline at end of file + diff --git a/testing/web-platform/tests/css/css-fonts/font-size-adjust-metrics-override-ref.html b/testing/web-platform/tests/css/css-fonts/font-size-adjust-metrics-override-ref.html new file mode 100644 index 000000000000..a8d06c9674bb --- /dev/null +++ b/testing/web-platform/tests/css/css-fonts/font-size-adjust-metrics-override-ref.html @@ -0,0 +1,58 @@ + + + + +Tests if font metric overrides reflect the adjustment of font-size-adjust. + + +
+ +
diff --git a/testing/web-platform/tests/css/css-fonts/font-size-adjust-metrics-override.html b/testing/web-platform/tests/css/css-fonts/font-size-adjust-metrics-override.html new file mode 100644 index 000000000000..b7787b93073a --- /dev/null +++ b/testing/web-platform/tests/css/css-fonts/font-size-adjust-metrics-override.html @@ -0,0 +1,55 @@ + + + + + + +Tests if font metric overrides reflect the adjustment of font-size-adjust. + + +
+ X +
diff --git a/testing/web-platform/tests/lint.ignore b/testing/web-platform/tests/lint.ignore index 95354d71e057..d7b97d233336 100644 --- a/testing/web-platform/tests/lint.ignore +++ b/testing/web-platform/tests/lint.ignore @@ -610,6 +610,8 @@ AHEM SYSTEM FONT: css/css-fonts/font-size-adjust-012.html AHEM SYSTEM FONT: css/css-fonts/font-size-adjust-012-ref.html AHEM SYSTEM FONT: css/css-fonts/font-size-adjust-013.html AHEM SYSTEM FONT: css/css-fonts/font-size-adjust-013-ref.html +AHEM SYSTEM FONT: css/css-fonts/font-size-adjust-metrics-override.html +AHEM SYSTEM FONT: css/css-fonts/font-size-adjust-metrics-override-ref.html AHEM SYSTEM FONT: css/css-fonts/line-gap-override.html AHEM SYSTEM FONT: html/dom/render-blocking/remove-attr-unblocks-rendering.optional.html AHEM SYSTEM FONT: html/dom/render-blocking/remove-element-unblocks-rendering.optional.html