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

340 Коммитов

Автор SHA1 Сообщение Дата
Morgan Reschenberg 05ad28e67c Bug 1539212: Add readability backplate for all elements containing text when HCM or a11y theme is active. r=dholbert,mattwoodrow,Jamie
Differential Revision: https://phabricator.services.mozilla.com/D42979

--HG--
extra : moz-landing-system : lando
2019-10-04 16:44:49 +00:00
Bogdan Tara 4ba431cc02 Backed out changeset 928b755ef57b (bug 1539212) for backplate-bg-image-006.html failures 2019-09-20 03:59:03 +03:00
Morgan Reschenberg b20a6706d3 Bug 1539212: Add readability backplate for all elements containing text when HCM or a11y theme is active. r=dholbert,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D42979

--HG--
extra : moz-landing-system : lando
2019-09-19 21:25:12 +00:00
Brindusan Cristian 4a840d4653 Backed out changeset f5b8fba989b4 (bug 1539212) for reftest failures on backplate-bg-image-001.html. CLOSED TREE 2019-09-17 00:01:04 +03:00
Morgan Reschenberg 8c4b2ed8ff Bug 1539212: Add readability backplate for all elements containing text when HCM or a11y theme is active. r=dholbert,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D42979

--HG--
extra : moz-landing-system : lando
2019-09-16 18:26:04 +00:00
Emilio Cobos Álvarez ad082043b5 Back out changeset 0e9ee7d2188b (bug 1541233) as per bug discussion. 2019-05-02 21:50:57 +02:00
Mike Conley 4988b53733 Bug 1541233 - Stop loading userContent.css in the parent process. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D28677

--HG--
extra : moz-landing-system : lando
2019-04-30 14:51:19 +00:00
Hiroyuki Ikezoe 7b600a0531 Bug 1534070 - Factor scroll-padding into the position calculation where nsIPresShell::ScrollContentIntoView() is going to scroll if necessary. r=botond
In the case where scroll-snap-type is specified for the scroll container, the
scroll-padding is also factored into in ScrollFrameHelper::ComputeScrollSnapInfo
which is called via ScrollFrameHelper::ScrollToWithOrigin.  It doesn't double
the scroll-padding value, but it's actually redundant, we should avoid it.
We could separate the functionality of ScrollToWithOrigin, one is to scroll
to a given element, the other is to scroll to a given position.  The former will
be used for Element.scrollIntoElement and relevant stuff, the latter will be
used for Element.scrollTo and relevant stuff.  That's being said, as of now, we
have still the old scroll snap implementation, so the separation will introduce
complexity, the separation should be done once after the old implementation
removed.

There are 9 call sites of nsIPresShell::ScrollContentIntoView:
  nsIPresShell::GoToAnchor
  nsIPresShell::ScrollToAnchor
  Element::ScrollIntoView
   We definitely needs scroll-padding and scroll-margin for these functions.

  nsCoreUtils::ScrollTo
   This is used for Accesible::ScrollTo which scrolls to a given accesible node,
   probably we should behave as what Element::ScrollIntoView does.

  Accessible::DispatchClickEvent
   Similar to the above, similated various mouse events on a given target node.

  PresShell::EventHandler::PrepareToUseCaretPosition
  PresShell::EventHandler::GetCurrentItemAndPositionForElement
   Both are for context menu, we shouldn't consider scroll-padding and
   scroll-margin.

  nsFormFillController::SetPopupOpen
   This is used for autocompletion popup, we shouldn't consider scroll-padding
   and scroll-margin.

  nsFocusManager::ScrollIntoView
   This is bit unfortunate, we should use scroll-padding and scroll-margin
   depending on call site of this function. Bug 1535232 is for this case.

cssom-view/scrollIntoView-scrollPadding.html which has some tests that is
actually testing scroll-padding with scrollIntoView passes with this change.

The reftest in this change is a test case that the browser navigates to an
element with specifying the anchor to the element.

Differential Revision: https://phabricator.services.mozilla.com/D23084

--HG--
extra : moz-landing-system : lando
2019-04-11 06:22:14 +00:00
Hiroyuki Ikezoe 9bebe3cf91 Bug 1423709 - Reftests for auto initial zoom value calculation. r=botond
There are 7 test cases in this commit.

 - no-viewport.html
   A test case that wider contents should be scaled down even if no viewport
   meta tag exists.

 - viewport-width.html
   A test case that wider contents should be scaled down (i.e. fit to the
   device screen).

 - minimum-scale.html
   A test case that the initial zoom value is clamped by minimum-scale.

 - initial-scale-0.html
   A test case that specified initial-scale value is less than the default
   minimum scale value (0.1), in such cases we shrink the content to fit
   the display size.

 - initial-scale-100.html
   A test case that specified initial-scale value is greater than the default
   maximum scale value (10), in such cases we shrink the content to fit
   the display size.

 - initial-scale-1.html
   A test case that the auto initial zoom calculation doesn't apply to the
   documents specifying initial-scale.

 - box-shadow.html
   A test case that box-shadow-ed area isn't incorporated into the initial zoom
   value.

Depends on D10197

Differential Revision: https://phabricator.services.mozilla.com/D10198

--HG--
extra : moz-landing-system : lando
2018-11-20 01:24:58 +00:00
Xidorn Quan ddfe10946a Bug 1478225 - Always propagate repaint change hint from html/body element to viewport frame. r=heycam
Generally there isn't really much difference for painting on html/body
element vs. viewport, so it's probably not worth finer grained control
over when we should propagate and when not.

MozReview-Commit-ID: HK7DsQdz41D

--HG--
extra : rebase_source : 444277648b9b5ee9bc9d14f549b42f4147afbeb3
2018-07-26 15:37:10 +10:00
Joel Maher 5b3afd93d3 backout 3 patches (1ee5b2531836, cac593a84f72, 95ccdb87f63f) from bug 1392106 for not fixing font rendering problems.
--HG--
extra : rebase_source : 30b2aa771eeaa978a8e3af18009f22562d764831
2018-05-18 06:40:00 +03:00
Joel Maher fa141745dd Bug 1392106 - split reftest fonts into seperate suite. r=gbrown 2018-04-12 13:58:54 -04:00
Emilio Cobos Álvarez 48957d62c0 Bug 1446954: Cleanup !stylo and styloVsGecko test expectations. r=xidorn
MozReview-Commit-ID: J2glxiCWBVn
2018-03-20 11:29:51 +01:00
Emilio Cobos Álvarez de099db7bd Bug 1444905: Remove scoped style support from the old style system. r=xidorn,smaug
Summary: It uses two node bits that can be better suited for something else.

Reviewers: xidorn, smaug

Bug #: 1444905

Differential Revision: https://phabricator.services.mozilla.com/D709

MozReview-Commit-ID: HIPDtHm6xpM
2018-03-13 10:26:13 +01:00
Jonathan Kew 39f06257ec Bug 1435692 - Add a reftest for font-optical-sizing with OpenType Variation fonts. r=jwatt 2018-03-03 22:12:15 +01:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E) db37a82e0b Bug 1404181 - Part 9: Add code for detecting if display list building happened for a given frame, and use it to add some tests for retained display lists. r=mstange
MozReview-Commit-ID: AIb0AWU7iiS

--HG--
extra : rebase_source : f6277bbe2c8ffd571e32bb886903243df655918e
2017-09-27 17:17:11 +13:00
Xidorn Quan 72eecf2abd Bug 1408235 part 3 - Update test expectation for this bug. r=heycam
MozReview-Commit-ID: 2p0BAlW9Asc

--HG--
extra : source : 7a9582ad6d089b8a1db112461efb43fed4a60dfa
2017-10-21 11:02:34 +11:00
Xidorn Quan fd467033f9 Bug 1407847 - Enable stylo for XUL document without system principal and annotate failures accordingly. r=heycam
MozReview-Commit-ID: KcJxloT2rR8

--HG--
extra : rebase_source : 8943efaa7afbf1bc74ac85ca103a52e2f4d1b1a4
2017-10-12 10:43:38 +11:00
Joel Maher e5023d1194 Bug 1401228 - disable transforms/* on win7 non-e10s to prevent Assertion failure: [GFX1]: Failed to create DrawTarget, Type: 3 Size: Size(800,1000). r=gbrown 2017-09-26 15:16:41 -04:00
Tobias Schneider ebc08714b9 Bug 1299848 - Add support for (real) print reftests. r=dholbert
--HG--
extra : rebase_source : 58c4a76114582ba5504035f399659820ff8f66a5
2017-09-06 09:54:29 -07:00
Brad Werth 271b9b7643 Bug 1359834 Part 4: Add a reftest to ensure dynamic changes to shape-outside trigger reflow. r=dholbert
MozReview-Commit-ID: BDGRKlss8JE

--HG--
extra : rebase_source : 4a3f9ee513e29b83fbbad3a1c2d1176910681379
2017-07-12 13:16:25 -07:00
Sebastian Hengst a0cd2b025a Backed out changeset 074972bd94a6 (bug 1359834) 2017-07-14 10:26:09 +02:00
Brad Werth 631aca48fc Bug 1359834 Part 2: Add a reftest to ensure dynamic changes to shape-outside trigger reflow. r=dholbert
MozReview-Commit-ID: BDGRKlss8JE

--HG--
extra : rebase_source : 0e23658a245c65630abd8233eb5def8509a01dad
2017-07-12 13:16:25 -07:00
Kirk Steuber a55c46f192 Bug 1371073 - Add reftests to ensure rows and cols are properly added and removed from framesets r=bz
MozReview-Commit-ID: A6uLt8oSn6F

--HG--
extra : rebase_source : 09e64dc66a0718b8ab0e4e27ddb9dacf1afbe9ea
2017-06-14 16:05:20 -07:00
Daosheng Mu 071f8f0124 Bug 1229481 - Part 2: Add draw rect reftest for WebVR; r=kip
MozReview-Commit-ID: CnSYFFZS8lP

--HG--
extra : rebase_source : 9f139a9cb96a792aefa329c5c79d423c7a2d0ed5
2017-05-05 19:00:25 +08:00
bechen 97ab63e82a Bug 1361655 - Add new reftest to verify the first and last frame for short.mp4. r=jwwang
Since the ref-sample made by linux, the mac and windows platforms need fuzzy.
And on windows platform, the first frame is different to other platform, skip it first.
Android platform somehow can not load the video src.

MozReview-Commit-ID: A0VbEcNSmck

--HG--
extra : rebase_source : 266f0012d460b8fd6b62ac1d2878dc9aa686f9a8
2017-05-17 16:54:16 +08:00
Brad Werth 159967604d Bug 1339629 Part 13: Consolidate stylesheet cloning tests into a named directory. r=heycam
MozReview-Commit-ID: 2t2H49RCS7M

--HG--
rename : layout/reftests/bugs/1348481-3.html => layout/reftests/stylesheet-cloning/style_rule_clone.html
extra : rebase_source : 91c500f48c7d597320ec94901f4fab33fbcdeec5
2017-05-18 11:58:19 -07:00
Xidorn Quan 262d2eb93a Bug 1063162 part 2 - Implement caret-color property. r=dholbert
MozReview-Commit-ID: DH7CX1d477R

--HG--
extra : rebase_source : 29c57f59a3073a05beed1c4160e2fd74d3e29617
2016-12-22 11:04:15 +11:00
Sebastian Hengst 0c01725b19 Backed out changeset 148e65bd3f3b (bug 1063162) 2016-12-22 17:43:34 +01:00
Xidorn Quan 90a0e4020f Bug 1063162 part 2 - Implement caret-color property. r=dholbert
MozReview-Commit-ID: DH7CX1d477R

--HG--
extra : rebase_source : 7ae1fe1f438e8b8b475370924cea31eb65c78fab
2016-12-22 11:04:15 +11:00
Masatoshi Kimura 8cb8860cb2 Bug 1322634 - Add a reftest to make sure userContent.css will not break again. r=dholbert
MozReview-Commit-ID: ItkknK9NLu

--HG--
extra : rebase_source : fee6392dcbbc78c088ed89d6829fcdf3d81f6c02
2016-12-15 21:58:55 +09:00
Sebastian Hengst cb0457ad89 Bug 1307332 - Remove B2G and Mulet annotations from reftest.list: layout/reftests/reftest.list. r=dholbert
MozReview-Commit-ID: CD0nmkbXLTq
2016-10-09 09:51:33 +02:00
Marcos Caceres 4b42312a6f Bug 1160200 - APNG can't be used with type switching. r=mcaceres, r=jrmuizel, r=johns 2016-08-09 22:15:00 +02:00
Tooru Fujisawa 2e9d18cb2f Bug 382721 - Part 5: Add testcases for dashed/dotted borders. r=jrmuizel 2015-08-06 11:42:09 +09:00
Carsten "Tomcat" Book d02a177069 Backed out changeset 63f10496a3e4 (bug 382721)
--HG--
extra : rebase_source : af456f047e9be536b0bfd15947d52e42e17b7db0
2016-06-10 15:38:35 +02:00
Tooru Fujisawa 73cafd1729 Bug 382721 - Part 5: Add testcases for dashed/dotted borders. r=jrmuizel 2015-08-06 11:42:09 +09:00
Sebastian Hengst f29c1e7fc6 Backed out changeset e8d313145a59 (bug 382721) 2016-06-08 11:07:46 +02:00
Tooru Fujisawa 673c010895 Bug 382721 - Part 5: Add testcases for dashed/dotted borders. r=jrmuizel 2015-08-06 11:42:09 +09:00
Sebastian Hengst c108701a85 Backed out changeset 68442febc36c (bug 1160200) for almost permafailing added test apng-mime/test.html Android 4.3 API15+ opt. r=backout 2016-04-23 22:33:26 +02:00
Jeremy Chen 51c6f6da30 Bug 1248708 - Part3: add reftests. r=jfkthame 2016-04-23 01:40:38 +08:00
David Newton f44103a43f Bug 1160200 - APNG can't be used with type switching. r=mcaceres,r=jrmuizel 2016-04-20 23:57:00 +02:00
Aryeh Gregor d7620bcfda Bug 1213670 follow-up - Re-add mistakenly removed line; rs=Ms2ger 2016-04-13 15:33:49 +03:00
Aryeh Gregor 1b51264c4c Bug 1213670 - Remove dom/imptests/ that aren't likely to be platform-specific; r=jgraham
These are all duplicated in testing/web-platform/, so the only reason to
keep them is that web-platform-tests don't yet run on every platform
that mochitests do.  But they get in the way, so let's remove the ones
that are relatively unlikely to be platform-specific.
2016-04-13 15:21:13 +03:00
Ryan VanderMeulen e093d8dae2 Revert bug 1252630 because it proved to be way more hassle than it's worth. 2016-03-18 14:21:12 -04:00
Ryan VanderMeulen e5d256eaa8 Bug 1252630 - Move the asyncPan skip-if for APZ reftests to the manifest level instead of per-test. r=kats 2016-03-01 16:56:41 -05:00
Matt Woodrow 3bf68e972e Bug 1248323: P3. Add test for NV12/YUV422 readback. r=me
reftest is disabled on windows due to localized try readback errors that can't be reproduced.

MozReview-Commit-ID: 379PZsRE5d6

--HG--
extra : rebase_source : b990572c0f33860998eb5485824e417387d3e204
2015-02-26 08:01:07 +13:00
Brian Birtles 063bfa030d Bug 1246046 part 2 - Add reftest for style updating for script-generated animations; r=heycam 2016-02-15 16:10:03 +09:00
Ting-Yu Lin 4cf1fb1626 Bug 591737 - Add reftests for details and summary. r=bz
--HG--
extra : commitid : 4a11NfD9hZ0
extra : rebase_source : d8e2f28fb17df614a9a3da47289ba848d74c94ca
2016-01-20 23:20:41 +08:00
L. David Baron 8eb78e1885 Bug 823483 patch 6 - Tests r=dholbert
Our behavior on these tests is reasonably close to matching Chromium
thanks to the combination of patches 1, 3, and 4, and 5.

--HG--
extra : commitid : BzErQKgv86B
2016-02-04 09:43:03 +11:00
Daniel Holbert bfd8e047b1 Bug 1234941 part 1: Add reftests for "-webkit-box" rendering, with -webkit-box-orient unset. r=heycam 2015-12-30 23:36:31 -08:00