Commit Graph

339 Commits

Author SHA1 Message Date
Manish Goregaokar
029d0ddc55 Bug 1341102 - Fix failures from -moz-system-metric changes (bug 1341086); r=manishearth
MozReview-Commit-ID: KBnVFQuzoz5
2017-03-16 00:42:40 -07:00
Manish Goregaokar
12b518aef0 Bug 1340696 - stylo: Support system colors; r=heycam
MozReview-Commit-ID: HUfTdcMRoEx

--HG--
extra : rebase_source : 85af717eb521a2c790d3ec7a20c46dd318e4761f
2017-03-15 14:49:35 -07:00
Boris Zbarsky
fccccf142c Bug 1347411 part 5. Change stylo to correctly recompute style on the anonymous boxes that hang off comboboxes. r=heycam
I did manual testing for ::-moz-dropdown-list.  Unfortunately, the only way I
know to test it is to have a combobox in a non-e10s window and dynamically
change its background color, then drop down the dropdown and see whether it
picked up the changed background color.

MozReview-Commit-ID: B2RkW4otv4s
2017-03-15 14:00:43 -04:00
Boris Zbarsky
ed85b458f3 Bug 1347411 part 3. Fix stylo to properly update styles for the content container frame of <fieldset>. r=heycam
MozReview-Commit-ID: D9D2xtjRldF
2017-03-15 14:00:43 -04:00
Boris Zbarsky
784eb8f590 Bug 1347411 part 2. Fix stylo to properly update styles for the various frames that use FCDATA_WITH_WRAPPING_BLOCK to wrap an anonymous block around their kids. r=heycam
This handles ::-moz-button-content, ::-moz-html-canvas-content, ::-moz-svg-text,
::-moz-svg-foreign-content.

MozReview-Commit-ID: 3xk7214X2uR
2017-03-15 14:00:43 -04:00
Mats Palmgren
ceb92b1b6a Bug 1344395 - Reftest for checkbox/radio controls with width/height:auto.
MozReview-Commit-ID: LUqFBdNtMRE
2017-03-10 14:52:08 +01:00
Florian Quèze
9d62681259 Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Iris Hsiao
b0564b3436 Backed out changeset da035ac87fe4 (bug 713680) for reftest failures 2017-03-07 14:55:21 +08:00
Chris Peterson
1fbca779ac Bug 713680 - Change default Windows monospace font from Courier New to Consolas. r=jfkthame r=masayuki
Consolas is narrower than Courier New, so we must adjust some tests to accommodate.

* Change some tests from generic 'monospace' to 'Courier New' to continue using previous font metrics.

* selectAtPoint.html no longer needs one of its Windows-only code paths because Firefox on Windows now selects the same text as it does on Mac and Linux.

* 323386-1.html's intermittent assertion failure (bug 718883) now appears to be 100% reliable on Windows, joining Linux and Android.

* size-1-ref.html reftest needs a little fuzz because the horizontal line of the test image's '4' character is ~1 pixel shorter than the reference image's.

MozReview-Commit-ID: EB5wzhG178U

--HG--
extra : rebase_source : e7aca6d16c255e45bef5dca93fff6c09bce787c4
2017-02-22 22:08:19 -08:00
Boris Zbarsky
a16891fa05 Reenable some more stylo reftests. No bug. r=bzbarsky
MozReview-Commit-ID: BbRlPC60tvt
2017-02-24 10:49:37 -05:00
Boris Zbarsky
f35eb2c2a6 Reenable various stylo reftests that are loaded over HTTP. No bug. r=bzbarsky
MozReview-Commit-ID: KrPqplxJJwE
2017-02-23 18:17:56 -05: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
Mats Palmgren
910811cccd Bug 1339287 - Reftest. 2017-02-20 17:43:08 +01:00
cam@mcc.id.au
35e68ba276 Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time, and eliminate explicit style contexts in nsIAnonymousContentCreator::ContentInfo. r=bholley
MozReview-Commit-ID: LO0t92orjWZ

--HG--
extra : rebase_source : 56611b57af30555f46e8d417f95690fb5d6ab115
2017-01-13 03:21:11 +00:00
Phil Ringnalda
d2fa909610 Backed out 4 changesets (bug 1331322) for Android reftest failures in 1169331-1.html and forced-bg-color-outside-visible-region.html
Backed out changeset 96c6b5a11284 (bug 1331322)
Backed out changeset 15877d32de7d (bug 1331322)
Backed out changeset 841d608704d7 (bug 1331322)
Backed out changeset 02096c5eb029 (bug 1331322)
2017-02-15 21:24:00 -08:00
cam@mcc.id.au
34be31a2d7 Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time, and eliminate explicit style contexts in nsIAnonymousContentCreator::ContentInfo. r=bholley
MozReview-Commit-ID: LO0t92orjWZ

--HG--
extra : rebase_source : 56611b57af30555f46e8d417f95690fb5d6ab115
2017-01-13 03:21:11 +00:00
Xidorn Quan
95c1b23bd9 Bug 1339341- Downgrade several stylo errors to warnings. r=heycam
MozReview-Commit-ID: 2Sa8dS8uSo5

--HG--
extra : rebase_source : c6809309bbef5faf458b56018b964619ff386238
2017-02-14 18:26:10 +11:00
Cameron McCormack
058a689aa1 Bug 1338872 - stylo: Test expectation adjustments. r=bholley
MozReview-Commit-ID: 4q7NJJrpX7q

--HG--
extra : rebase_source : 98279628439e6d432794e726955605d6f1358b10
2017-02-12 17:23:14 +08:00
Mats Palmgren
78d1a58a65 Bug 1338293 - Reftest. 2017-02-12 01:44:05 +01:00
Mats Palmgren
a06eb5c98d Bug 605985 part 3 - The expected result for all checkboxes and radios with -moz-appearance:none is about:blank now (except on Android).
--HG--
rename : layout/reftests/forms/input/checkbox/checked.html => layout/reftests/forms/input/checkbox/checked-appearance-none.html
rename : layout/reftests/forms/input/checkbox/checked-notref.html => layout/reftests/forms/input/checkbox/unchecked-appearance-none.html
rename : layout/reftests/forms/input/radio/checked.html => layout/reftests/forms/input/radio/checked-appearance-none.html
rename : layout/reftests/forms/input/radio/checked-notref.html => layout/reftests/forms/input/radio/unchecked-appearance-none.html
2017-02-09 21:22:40 +01:00
Mason Chang
2618be0754 Bug 1322897. Part 2: Reftest fuzzing for skia dwrite grayscale fonts. r=lsalzman 2017-02-06 10:32:04 -05:00
Cameron McCormack
8731638062 Bug 1334768 - stylo: Adjust a bunch of reftest expectations. r=me on a CLOSED TREE
MozReview-Commit-ID: 1qa08cspl7o
2017-01-31 17:38:24 +01:00
Sebastian Hengst
79a42c161e Backed out changeset e3687105be00 (bug 1334768) 2017-01-31 17:30:16 +01:00
Cameron McCormack
0333846acf Bug 1334768 - stylo: Adjust a bunch of reftest expectations. r=me
MozReview-Commit-ID: 1qa08cspl7o
2017-01-31 23:36:46 +08:00
Sebastian Hengst
b2d8163bfc Bug 1334898 - Remove annotations for OSX<10.9 from layout reftests. r=dholbert
MozReview-Commit-ID: Iq4Ja98TJ7C
2017-01-30 21:03:33 +01:00
Sebastian Hengst
4422a9afe2 Bug 1334898 - Remove annotations for Windows XP from layout reftests. r=dholbert
MozReview-Commit-ID: Asje35DLMHq
2017-01-30 21:03:19 +01:00
Cameron McCormack
9c4ea5685f Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Cameron McCormack
35486c881a Bug 1334768 - stylo: More reftest expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: 8TT4JzUIBZl
2017-01-30 10:53:58 +08:00
Mats Palmgren
84fc7f3624 Bug 1330962 part 5 - Reftests for baseline alignment of various form controls. 2017-01-30 00:36:59 +01:00
Cameron McCormack
7805d4716e Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Phil Ringnalda
5ee174a663 Backed out 5 changesets (bug 1330962) for failures in display-block-baselines-1.html and 315920-17.html
CLOSED TREE

Backed out changeset 71c277105903 (bug 1330962)
Backed out changeset 8cfebee598a6 (bug 1330962)
Backed out changeset 2394701998b2 (bug 1330962)
Backed out changeset 0b92b30ed1d3 (bug 1330962)
Backed out changeset cc7508381dc1 (bug 1330962)
2017-01-27 20:30:07 -08:00
Mats Palmgren
3035683048 Bug 1330962 part 5 - Reftests for baseline alignment of various form controls. 2017-01-28 02:34:14 +01: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
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Andrew Halberstadt
79791a2cff Bug 1330772 - Remove all b2g related code from reftests, r=jmaher
MozReview-Commit-ID: HY1XbcliTNA

--HG--
extra : rebase_source : f02093222f1cc619e328c877382361950f83329d
2017-01-12 16:37:37 -05: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
Mats Palmgren
55bf867155 Bug 1322698 - Reftest for 'appearance:none' checkbox/radio baseline alignment. 2016-12-23 19:11:03 +01:00
Mason Chang
b2a25208e6 Bug 1323587. Part 2: Reftest fuzzing for updated gamma and contrast. r=lsalzman 2016-12-15 18:37:38 -08:00
Thomas Wisniewski
c10198c6f1 Bug 140562 - Part 3: Fix up reftests to account for the fact that -moz-focus-inner no longer affects button size. r=dbaron
--HG--
rename : layout/reftests/forms/button/percent-height-child-1-ref.html => layout/reftests/forms/button/percent-height-child-ref.html
rename : layout/reftests/forms/button/percent-height-child-1.html => layout/reftests/forms/button/percent-height-child.html
rename : layout/reftests/forms/button/percent-width-child-1-ref.html => layout/reftests/forms/button/percent-width-child-ref.html
rename : layout/reftests/forms/button/percent-width-child-1.html => layout/reftests/forms/button/percent-width-child.html
2016-11-30 21:43:32 -05:00
Thomas Wisniewski
d48094301d Bug 140562 - Part 1: Remove unused moz-focus-outer code for buttons. r=dbaron 2016-10-21 12:19:03 -04:00
Boris Zbarsky
248f86449a Bug 504622 followup for a review comment I missed. r=dbaron 2016-12-01 15:29:17 -05:00
Boris Zbarsky
c2aae6a433 Bug 504622 part 2. Allow fieldsets to shrink below their intrinsic min-width and below the width of their legend if their min-width is explicitly overridden. r=dbaron 2016-11-29 15:52:55 -05:00
Boris Zbarsky
5b089631f6 Bug 504622 part 1. Rewrite fieldset border drawing to just clip to the area outside the legend instead of doing it in pieces with different clip rects. r=mattwoodrow,dbaron
This change will allow the border drawing code to deal with the following
changes, which will make us no longer force the fieldset to be wider than the
legend.  Without this patch, allowing the fieldset to be narrower than the
legend causes the vertical inline-start-side and inline-end-side borders of the
fieldset to paint under the legend, because the current code only modifies the
painting of the block-start-side border (the one the legend is positioned on).

This does change behavior in one situation, which the new tests test.  For
relatively positioned legends, we used to use the original vertical location but
the positioned horizontal location of the legend to decide which parts of the
border to not paint.  In the new setup, we use the original location for both.
I did check that this new behavior matches Chrome and Safari.  Edge seems to
have our old behavior.
2016-11-29 15:52:30 -05:00
Wes Kocher
f0071bb179 Backed out 2 changesets (bug 504622) for android reftest failures a=backout
Backed out changeset c024721d9b03 (bug 504622)
Backed out changeset 056f728704e7 (bug 504622)
2016-11-29 14:04:40 -08:00
Boris Zbarsky
6f55f6fce6 Bug 504622 part 2. Allow fieldsets to shrink below their intrinsic min-width and below the width of their legend if their min-width is explicitly overridden. r=dbaron 2016-11-29 15:52:55 -05:00
Boris Zbarsky
6b2f992350 Bug 504622 part 1. Rewrite fieldset border drawing to just clip to the area outside the legend instead of doing it in pieces with different clip rects. r=mattwoodrow,dbaron
This change will allow the border drawing code to deal with the following
changes, which will make us no longer force the fieldset to be wider than the
legend.  Without this patch, allowing the fieldset to be narrower than the
legend causes the vertical inline-start-side and inline-end-side borders of the
fieldset to paint under the legend, because the current code only modifies the
painting of the block-start-side border (the one the legend is positioned on).

This does change behavior in one situation, which the new tests test.  For
relatively positioned legends, we used to use the original vertical location but
the positioned horizontal location of the legend to decide which parts of the
border to not paint.  In the new setup, we use the original location for both.
I did check that this new behavior matches Chrome and Safari.  Edge seems to
have our old behavior.
2016-11-29 15:52:30 -05:00
Mats Palmgren
99131f1777 Bug 1317351 - Reftest. 2016-11-15 19:31:14 +01:00
Sebastian Hengst
e5ce97f69a Bug 1307332 - Remove B2G and Mulet annotations from reftest.list: layout/reftests/forms. r=dholbert
MozReview-Commit-ID: FWNHc6zuarg
2016-10-09 09:51:29 +02:00
Jessica Jong
b3014cc00b Bug 1288591 - Implement the layout for <input type=time>. r=mconley, r=dholbert, r=smaug 2016-10-06 00:17:00 -04:00