Bug 1011369 - Reduce the available width slightly in line-break-loose-017a because a couple of the target characters may be less then .2em wide. r=m_kato
authorJonathan Kew <jkew@mozilla.com>
Mon, 20 May 2019 20:47:31 +0000
changeset 474599 b695489a68c4178622bf1efed9d8cf38f2cd175a
parent 474598 2607e7773ed5c4616d09f9ea2645c9204568b34a
child 474600 43952b7f9de845901b053a527efb2925f5247637
push id36042
push userdvarga@mozilla.com
push dateTue, 21 May 2019 04:19:40 +0000
treeherdermozilla-central@ca560ff55451 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersm_kato
bugs1011369
milestone69.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 1011369 - Reduce the available width slightly in line-break-loose-017a because a couple of the target characters may be less then .2em wide. r=m_kato Differential Revision: https://phabricator.services.mozilla.com/D30810
testing/web-platform/tests/css/css-text/line-break/line-break-loose-017a.xht
testing/web-platform/tests/css/css-text/line-break/line-break-normal-017a.xht
testing/web-platform/tests/css/css-text/line-break/line-break-strict-017a.xht
testing/web-platform/tests/css/css-text/line-break/reference/line-break-loose-017a-ref.xht
testing/web-platform/tests/css/css-text/line-break/reference/line-break-normal-017a-ref.xht
testing/web-platform/tests/css/css-text/line-break/reference/line-break-strict-017a-ref.xht
--- a/testing/web-platform/tests/css/css-text/line-break/line-break-loose-017a.xht
+++ b/testing/web-platform/tests/css/css-text/line-break/line-break-loose-017a.xht
@@ -22,17 +22,17 @@
 			}
 			.test span {
 				line-break: loose;						/* The property to be tested */
 			}
 			p.test, p.control {
 				border: 1px solid gray;
 				color: blue;
 				font-family: "mplus-1p-regular";
-				width: 10.2em;		/* added extra .2em for some symbols wider than 1em */
+				width: 10.1em;		/* added extra .1em for some symbols wider than 1em */
 			}
 			span.target {
 				background-color: aqua;
 			}
 			div.wrapper {
 				display: inline-block;
 				border: 1px solid;
 				margin: 10px;
--- a/testing/web-platform/tests/css/css-text/line-break/line-break-normal-017a.xht
+++ b/testing/web-platform/tests/css/css-text/line-break/line-break-normal-017a.xht
@@ -22,17 +22,17 @@
 			}
 			.test span {
 				line-break: normal;						/* The property to be tested */
 			}
 			p.test, p.control {
 				border: 1px solid gray;
 				color: blue;
 				font-family: "mplus-1p-regular";
-				width: 10.2em;		/* added extra .2em for some symbols wider than 1em */
+				width: 10.1em;		/* added extra .1em for some symbols wider than 1em */
 			}
 			span.target {
 				background-color: aqua;
 			}
 			div.wrapper {
 				display: inline-block;
 				border: 1px solid;
 				margin: 10px;
--- a/testing/web-platform/tests/css/css-text/line-break/line-break-strict-017a.xht
+++ b/testing/web-platform/tests/css/css-text/line-break/line-break-strict-017a.xht
@@ -22,17 +22,17 @@
 			}
 			.test span {
 				line-break: strict;						/* The property to be tested */
 			}
 			p.test, p.control {
 				border: 1px solid gray;
 				color: blue;
 				font-family: "mplus-1p-regular";
-				width: 10.2em;		/* added extra .2em for some symbols wider than 1em */
+				width: 10.1em;		/* added extra .1em for some symbols wider than 1em */
 			}
 			span.target {
 				background-color: aqua;
 			}
 			div.wrapper {
 				display: inline-block;
 				border: 1px solid;
 				margin: 10px;
--- a/testing/web-platform/tests/css/css-text/line-break/reference/line-break-loose-017a-ref.xht
+++ b/testing/web-platform/tests/css/css-text/line-break/reference/line-break-loose-017a-ref.xht
@@ -16,17 +16,17 @@
 				/*
 				mplus-1p-regular.ttf can be downloaded at/from [TBD later]
 				*/
 			}
 			p.control {
 				border: 1px solid gray;
 				color: blue;
 				font-family: "mplus-1p-regular";
-				width: 10.2em;		/* added extra .2em for some symbols wider than 1em */
+				width: 10.1em;		/* added extra .1em for some symbols wider than 1em */
 			}
 			span.target {
 				background-color: aqua;
 			}
 			div.wrapper {
 				display: inline-block;
 				border: 1px solid;
 				margin: 10px;
--- a/testing/web-platform/tests/css/css-text/line-break/reference/line-break-normal-017a-ref.xht
+++ b/testing/web-platform/tests/css/css-text/line-break/reference/line-break-normal-017a-ref.xht
@@ -16,17 +16,17 @@
 				/*
 				mplus-1p-regular.ttf can be downloaded at/from [TBD later]
 				*/
 			}
 			p.control {
 				border: 1px solid gray;
 				color: blue;
 				font-family: "mplus-1p-regular";
-				width: 10.2em;		/* added extra .2em for some symbols wider than 1em */
+				width: 10.1em;		/* added extra .1em for some symbols wider than 1em */
 			}
 			span.target {
 				background-color: aqua;
 			}
 			div.wrapper {
 				display: inline-block;
 				border: 1px solid;
 				margin: 10px;
--- a/testing/web-platform/tests/css/css-text/line-break/reference/line-break-strict-017a-ref.xht
+++ b/testing/web-platform/tests/css/css-text/line-break/reference/line-break-strict-017a-ref.xht
@@ -16,17 +16,17 @@
 				/*
 				mplus-1p-regular.ttf can be downloaded at/from [TBD later]
 				*/
 			}
 			p.control {
 				border: 1px solid gray;
 				color: blue;
 				font-family: "mplus-1p-regular";
-				width: 10.2em;		/* added extra .2em for some symbols wider than 1em */
+				width: 10.1em;		/* added extra .1em for some symbols wider than 1em */
 			}
 			span.target {
 				background-color: aqua;
 			}
 			div.wrapper {
 				display: inline-block;
 				border: 1px solid;
 				margin: 10px;