Граф коммитов

47 Коммитов

Автор SHA1 Сообщение Дата
Xidorn Quan d9975fe508 Bug 1458159 - Use rounding instead of ceiling on max{Ascent,Descent} for DWriteFont. r=jfkthame
The ceiling was introduced in bug 549190 for improve the consistency of
underline positioning. However, removing ceiling now doesn't seem to
regress the testcases in that bug, probably thanks to improvement in
other part.

The ceiling here causes us to have different font metrics than other
browsers on Windows, and can lead to webcompat issue. We also don't do
this for other backends. So it's probably better removing it in favor
of rounding.

There are several test changes:

* min-intrinsic-with-percents-across-elements.html changes result due to
  height of wrapping div in reference page depends on line height, so a
  fixed line height is set to work around the issue.

* 368020-1.html changes result because a slightly different line-height
  triggers bug 1462514. It is changed to use fixed line-height to work
  around the issue.

* 456147.xul is disabled because it compares XUL against HTML page, but
  XUL has different approach to position text in its elements than HTML.
  Specifically, XUL elements don't seem to respect line height while
  HTML elements do. The original line height in the file was probably
  chosen to make the HTML match XUL, so it seems to be non-trivial to
  fix it in a platform-independent way.

* sizing-orthog-{vlr,vrl}-in-htb-{008,020}.xht fails due to text in <p>
  after the testing block shifts 1px up for unknown reason.

MozReview-Commit-ID: 2WJG1AigWl1

--HG--
extra : source : 653c6b7480997c4e1dbead5f0441bc06a0605b7a
2018-05-22 11:43:30 +10:00
Noemi Erli e380c579e9 Backed out changeset 1be70a3d127f (bug 1458159) for reftest failures in sizing-orthog-vlr-in-htb-008.xht on a CLOSED TREE 2018-05-22 04:23:47 +03:00
Xidorn Quan 98bfde7521 Bug 1458159 - Use rounding instead of ceiling on max{Ascent,Descent} for DWriteFont. r=jfkthame
The ceiling was introduced in bug 549190 for improve the consistency of
underline positioning. However, removing ceiling now doesn't seem to
regress the testcases in that bug, probably thanks to improvement in
other part.

The ceiling here causes us to have different font metrics than other
browsers on Windows, and can lead to webcompat issue. We also don't do
this for other backends. So it's probably better removing it in favor
of rounding.

There are several test changes:

* min-intrinsic-with-percents-across-elements.html changes result due to
  height of wrapping div in reference page depends on line height, so a
  fixed line height is set to work around the issue.

* 368020-1.html changes result because a slightly different line-height
  triggers bug 1462514. It is changed to use fixed line-height to work
  around the issue.

* 456147.xul is disabled because it compares XUL against HTML page, but
  XUL has different approach to position text in its elements than HTML.
  Specifically, XUL elements don't seem to respect line height while
  HTML elements do. The original line height in the file was probably
  chosen to make the HTML match XUL, so it seems to be non-trivial to
  fix it in a platform-independent way.

* sizing-orthog-{vlr,vrl}-in-htb-{008,020}.xht fails due to text in <p>
  after the testing block shifts 1px up for unknown reason.

MozReview-Commit-ID: 2WJG1AigWl1

--HG--
extra : rebase_source : 540e68ffff618a6dc3c14b3702b2c042988061a3
2018-05-01 15:18:55 +10:00
Andreea Pavel 5298f758aa Backed out changeset 5352d48512f7 (bug 1458159) for failing reftest min-intrinsic-with-percents-across-elements.html == min-intrinsic-with-percents-across-elements-ref.html on a CLOSED TREE 2018-05-21 13:00:19 +03:00
Xidorn Quan d8a44ee949 Bug 1458159 - Use rounding instead of ceiling on max{Ascent,Descent} for DWriteFont. r=jfkthame
The ceiling was introduced in bug 549190 for improve the consistency of
underline positioning. However, removing ceiling now doesn't seem to
regress the testcases in that bug, probably thanks to improvement in
other part.

The ceiling here causes us to have different font metrics than other
browsers on Windows, and can lead to webcompat issue. We also don't do
this for other backends. So it's probably better removing it in favor
of rounding.

There are several test changes:

* min-intrinsic-with-percents-across-elements.html changes result due to
  height of wrapping div in reference page depends on line height, so a
  fixed line height is set to work around the issue.

* 368020-1.html changes result because a slightly different line-height
  triggers bug 1462514. It is changed to use fixed line-height to work
  around the issue.

* 456147.xul is disabled because it compares XUL against HTML page, but
  XUL has different approach to position text in its elements than HTML.
  Specifically, XUL elements don't seem to respect line height while
  HTML elements do. The original line height in the file was probably
  chosen to make the HTML match XUL, so it seems to be non-trivial to
  fix it in a platform-independent way.

* sizing-orthog-{vlr,vrl}-in-htb-{008,020}.xht fails due to text in <p>
  after the testing block shifts 1px up for unknown reason.

MozReview-Commit-ID: 2WJG1AigWl1

--HG--
extra : rebase_source : 6c61fa95a3b01e7b439be46a2498b4f893d8b84b
2018-05-01 15:18:55 +10:00
Kartikaya Gupta 0f89486f32 Bug 1452658 - Mark many reftests as fuzzy instead of failing for windows-qr. r=jrmuizel
MozReview-Commit-ID: BDvtV6trKkK

--HG--
extra : rebase_source : 0591564f6cea5c782de6baecc24c3defcef0c4fb
2018-04-10 17:48:16 -04:00
Kartikaya Gupta 9a9c13a09f Bug 1344350 - Mark reftests failing with webrender on windows. r=jrmuizel
Many of these could probably be fuzzed but in the interests of getting
the reftest suite turned on sooner I'm doing a blanket fails-if. This
covers all the reftests where there is more fuzz with webrender on
windows than any of existing annotations account for. In some cases the
fuzz is only a few pixels more than the equivalent Linux fuzz already
annotated, but I'll clean that up in a future bug.

MozReview-Commit-ID: IaKarbnL46d

--HG--
extra : rebase_source : 71889340305b0b12fa8eace722e42bb3faf14419
2018-04-06 11:58:43 -04:00
Emilio Cobos Álvarez 13a91fa9f6 Bug 1417200: Make -moz-border-colors chrome only. r=xidorn
On a CLOSED TREE, since the servo patch managed to get in.

This also makes the border longhand no longer reset them.

MozReview-Commit-ID: KNais1e5FnE
2017-12-01 23:25:01 +01:00
Mats Palmgren 297b9d70e1 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
MozReview-Commit-ID: IbwWM0FL6HF

--HG--
extra : source : bbb688fe1ba3f5201a190c6e25b693ef7272ea2d
2017-05-21 17:15:00 +08:00
Mats Palmgren f7e4384ac8 Bug 1365614 part 2 - Backout bug 1357655. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
MozReview-Commit-ID: Ig0RVKSQw4r

--HG--
extra : source : e528713f882cfc92f4c7acaf41e00dd302105ed0
2017-05-18 11:09:00 +08:00
Carsten "Tomcat" Book 2565b104f7 Backed out changeset e528713f882c (bug 1365614) 2017-05-22 15:45:34 +02:00
Carsten "Tomcat" Book 00d4ea331d Backed out changeset bbb688fe1ba3 (bug 1365614) 2017-05-22 15:45:31 +02:00
Mats Palmgren e706869580 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-21 17:15:00 +08:00
Mats Palmgren a928a1b1f6 Bug 1365614 part 2 - Backout bug 1357655. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-18 11:09:00 +08:00
Emilio Cobos Álvarez 215e98ef37 Bug 1341102: Update test expectations for servo/servo#16859. r=emilio
Patch by Anthony Ramine.

MozReview-Commit-ID: 7uTzBU8yG0E
2017-05-15 17:22:48 +02:00
Shing Lyu c46f5d5baf Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08:00
Shing Lyu 435db45b79 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-28 11:15:50 +08:00
Sebastian Hengst ceff3b0678 Backed out changeset 1f9d0f8e65b9 (bug 1351548) 2017-04-26 13:13:05 +02:00
Sebastian Hengst f46ebb0d94 Backed out changeset aebb0ceeb20a (bug 1351548) 2017-04-26 13:12:53 +02:00
Shing Lyu 96b400c04a Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Shing Lyu dae014d9d5 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-26 18:21:43 +08:00
Jeremy Chen 3e5064f08f Bug 1348173 - stylo: combined gecko side patch for -moz-border-*-colors support. r=heycam
MozReview-Commit-ID: 53gWkWKJNmV

--HG--
extra : rebase_source : 5bd1ddaf954533094c77a3ca5bdf9f3c3441056f
2017-04-25 14:50:44 +08:00
Iris Hsiao 28a432c0ec Backed out changeset 9c7c061b959f (bug 1348173) for hazard busted 2017-04-25 14:24:10 +08:00
Jeremy Chen 9cd2c96926 Bug 1348173 - stylo: combined gecko side patch for -moz-border-*-colors support. r=heycam
1. add binding functions for -moz-border-*-colors support.

  In Gecko, we use double pointers to nsBorderColors to store -moz-border-*-colors.
  The computed values of -moz-border-*-colors are set by couple member functions.

  To pass the computed value from Servo to Gecko, we need support for these member
  functions as well. So, I'm adding some binding functions in this patch. The
  actual use of these bindings to pass/store the computed values is separated
  in the following patch, which should be a pure Servo change. See servo PR:
  https://github.com/servo/servo/pull/16586.

2. update test expectations for -moz-border-*-colors support.

  Note that with the support of -moz-border-*-colors, 165 mochitests and 17 reftests
  could be fixed.

MozReview-Commit-ID: KDbp8C6Aoqd

--HG--
extra : rebase_source : 7d9675d9ece091ea6957dcae7d28c39066e69035
2017-04-24 18:23:52 +08:00
Mats Palmgren d0a6556067 Bug 1357655 part 2 - [css-ui] Add an explicit 'appearance:auto' to a couple of reftest that needs it.
MozReview-Commit-ID: 82ANStMIm5z
2017-04-21 02:24:19 +02:00
Emilio Cobos Álvarez 55e9a2ee3f Bug 1350140: Update test expectations. r=emilio
MozReview-Commit-ID: 4ZTM0r5KJfn

--HG--
extra : rebase_source : 139db22ea2b38d796c6d99707818a897104e091e
2017-03-24 09:25:12 +01:00
Mats Palmgren 2feec4025d Bug 1333482 part 5 - [css-ui] Enable '-moz-appearance' support for some tests. r=dholbert
* * *
[mq]: sssssssss

MozReview-Commit-ID: 4wgnjld1rDt
2017-03-23 22:11:23 -07:00
Mats Palmgren 00b74113a3 Bug 1333482 part 4 - [css-ui] Amend all uses of '-moz-appearance:none' in tests to also specify 'appearance:none' (automated change). r=dholbert
MozReview-Commit-ID: BNOR5VRpV2E
2017-03-23 22:11:22 -07:00
Boris Zbarsky a11bfd53bd Bug 1341988. Reenable a bunch of stylo reftests that were disabled for reasons that are not relevant anymore. r=bz
MozReview-Commit-ID: CLqLHexhBX3

--HG--
extra : rebase_source : 07dfb89d0651240362395494fdd7ee94363430b6
2017-02-23 02:09:57 -05:00
Shing Lyu 39ec052547 Bug 1331860 - Update reftest-stylo expectations. r=heycam
--HG--
extra : rebase_source : 2c39a745949d3dfeb369f0e1efbf4befde8535c9
2017-01-12 10:37:36 +08:00
Astley Chen 8ce1c2ecff Bug 1331296 : Part 1 - Remove or unprefix -moz-calc() from layout tests. r=heycam
MozReview-Commit-ID: HKCS8Uqv1Cs

--HG--
extra : rebase_source : 1d49bf139db6204cf31fa6820cced7f5b8a17af6
2017-01-18 10:50:19 +08:00
Shing Lyu 11a1d3e940 Bug 1328825 - Update reftest-stylo.list and expectations. r=heycam
MozReview-Commit-ID: AMwdk5wvM0F
2017-01-10 15:50:59 +08:00
Shing Lyu db11558e50 Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
Alex Henrie 5b028ed455 Bug 968029 - Use unprefixed box-sizing in content/, dom/, layout/, and widget/. r=dbaron 2014-02-06 12:32:05 -07:00
Masatoshi Kimura baee7fa4d1 Bug 771975 - Remove -moz-prefixed gradients usage from rest of the tree. r=roc 2013-04-09 07:44:26 +09:00
Robert O'Callahan 921be17640 Bug 779399. A horizontally-flipped gradient can dither differently. r=jrmuizel 2012-08-16 23:03:59 +12:00
Mounir Lamouri 7cbc177be1 Bug 663119 - Implement native vertical meters for MacOS X. r=bgirard 2012-06-06 09:58:00 +02:00
Mounir Lamouri 20983000a7 Bug 662870 - Use a native rendering for meter elements on MacOS X. r=bgirard 2012-06-06 09:56:28 +02:00
Mounir Lamouri 8aee8c7ad2 Bug 663365 - Implement the rules for the fallback to the default rendering for the meter element. r=roc
--HG--
rename : widget/reftests/progressbar-fallback-default-style-ref.html => widget/reftests/meter-fallback-default-style-ref.html
rename : widget/reftests/progressbar-fallback-default-style.html => widget/reftests/meter-fallback-default-style.html
2012-05-16 18:31:01 +02:00
Mounir Lamouri 0963688358 Bug 664925 - ASSERTION: We shouldn't have another size than small and regular for the moment. r=mstange 2011-07-11 11:41:26 +02:00
Mounir Lamouri 291c3f01be Bug 644361 - Improve the progress bar rendering by using hexadecimal colors. r=bz,davidb 2011-05-23 22:51:03 +02:00
Mounir Lamouri 43a7619e54 Bug 656284 - Fix clipped XUL progressmeter on Windows. r=roc 2011-05-16 12:19:27 +02:00
Mounir Lamouri c3a93d449e Bug 638176 - Make <progress> friendly with -moz-appearance:none and author styling. r=bz 2011-05-06 12:00:30 +02:00
Shawn Wilsher d616bf2fcb Back out bug 514437, bug 567872, bug 568825, bug 633209, bug 633913, bug 634086, bug 634088, bug 634549, bug 634551, bug 638176, bug 641517, bug 641905, bug 641942, bug 642127, and bug 642667 to undo the performance regression tracked by bug 655860. 2011-05-09 15:48:39 -07:00
Mounir Lamouri 091f771777 Bug 638176 - Make <progress> friendly with -moz-appearance:none and author styling. r=bz 2011-05-06 12:00:30 +02:00
L. David Baron b0ac8dc333 Switch reftest manifests to new, shorter syntax for widget toolkit tests. (Bug 570329) a2.0=tests
This patch was created by running the following sed commands:
s/MOZ_WIDGET_TOOLKIT=="\(gtk2\|cocoa\|qt\|windows\)"/\1Widget/g
s/MOZ_WIDGET_TOOLKIT!="\(gtk2\|cocoa\|qt\|windows\)"/!\1Widget/g
on all *.list files in the tree.
2010-07-30 16:48:57 -07:00
Markus Stange 8f20569aa3 Test for bug 507947, r=roc 2009-08-05 11:20:58 +12:00