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

54084 Коммитов

Автор SHA1 Сообщение Дата
cku 1d4fd4233f Bug 537623 - Part 3. Fix test cases of filter-userspace-offset.svg. r=longsonr+218550
There are three test cases which are actually wrong, for example:
* offsetContainer=use&mask=userSpace-at100
  This test case is actually wrong one. All the content of <use> element should
  be masked out by the selected mask. We should use <mask id="userSpace-atZero">
  instead.

MozReview-Commit-ID: B3D2gTWmwXC

--HG--
extra : source : fcb3c9a6426e9a54a28abd5acf4448bbfac5cf0c
extra : histedit_source : 8d6c685c4d051f0e20bc286d2ab829e47d22efef
2017-01-17 17:00:46 +08:00
cku 5f8074c155 Bug 537623 - Part 2. reftests for filter/clip-path/mask painting in an use element. r=longsonr+218550
MozReview-Commit-ID: 6fFEhKHIK0U

--HG--
extra : source : f69bd7779bc9fbf3d4e38c8025eee0041da4bca1
extra : histedit_source : 5fd10ee8dbbfb073aa47ed9dbb81aed2cb47d798
2017-01-17 01:46:22 +08:00
cku 5064a33bd2 Bug 537623 - Part 1. Remove extra translation for <use> element in nsSVGUtils. r=longsonr+218550
For nsSVGUtils::FrameSpaceInCSSPxToUserSpace:
If we give a nsSVGUseFrame to this function, it will return <use>'s x/y as
translation vector, which is not necessary. A point (a, b) in frame's
coordinate space should keep (a, b) in <use>'s coordinate space with no change.

Since we remove extra translation in nsSVGUtils::FrameSpaceInCSSPxToUserSpace,
aslo update nsSVGUtils::GetBBox accordingly.

MozReview-Commit-ID: BMjSonjoWd2

--HG--
extra : source : e32814fc5ab6fdb9e723b8109aa8f398b1c883f6
extra : histedit_source : 564968d47a3d95fde8e5b83c55148b63c1feb085
2017-01-17 17:06:16 +08:00
Iris Hsiao 6dbea17a8e Backed out changeset e32814fc5ab6 (bug 537623) 2017-01-18 11:25:25 +08:00
Iris Hsiao 86f0c869f1 Backed out changeset f69bd7779bc9 (bug 537623) 2017-01-18 11:25:22 +08:00
Iris Hsiao b158e11d27 Backed out changeset fcb3c9a6426e (bug 537623) for developer's request 2017-01-18 11:25:18 +08:00
cku 76e27537b0 Bug 537623 - Part 3. Fix test cases of filter-userspace-offset.svg.
There are three test cases which are actually wrong, for example:
* offsetContainer=use&mask=userSpace-at100
  This test case is actually wrong one. All the content of <use> element should
  be masked out by the selected mask. We should use <mask id="userSpace-atZero">
  instead.

MozReview-Commit-ID: B3D2gTWmwXC

--HG--
extra : rebase_source : 09390a59d6bcd187e0e8b99ca6a78da84af49805
2017-01-17 17:00:46 +08:00
cku 9e0315b953 Bug 537623 - Part 2. reftests for filter/clip-path/mask painting in an use element.
MozReview-Commit-ID: 6fFEhKHIK0U

--HG--
extra : rebase_source : 626602168e24d539d0588658b3e7200e50539fbd
2017-01-17 01:46:22 +08:00
cku 47cf7545f7 Bug 537623 - Part 1. Remove extra translation for <use> element in nsSVGUtils.
For nsSVGUtils::FrameSpaceInCSSPxToUserSpace:
If we give a nsSVGUseFrame to this function, it will return <use>'s x/y as
translation vector, which is not necessary. A point (a, b) in frame's
coordinate space should keep (a, b) in <use>'s coordinate space with no change.

Since we remove extra translation in nsSVGUtils::FrameSpaceInCSSPxToUserSpace,
aslo update nsSVGUtils::GetBBox accordingly.

MozReview-Commit-ID: BMjSonjoWd2

--HG--
extra : rebase_source : da629ba4464534a89718db1cd5b9705261ae4a4d
2017-01-17 17:06:16 +08:00
Wes Kocher 602c930ba0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 10MpA6zwIWr
2017-01-17 17:59:26 -08:00
Daniel Holbert 85f6680212 Bug 1331756 part 5: Drop redundant 'virtual' keyword from method overrides in several frame classes. r=xidorn
MozReview-Commit-ID: IwjWBbGe9jo
2017-01-17 16:27:03 -08:00
Daniel Holbert 1c1b78e4b7 Bug 1331756 part 4: Miscellaneous whitespace cleanup in nsFrame.h - reindent args, rewrap long methods (whitespace-only, no review)
MozReview-Commit-ID: 6zsFJ8om369
2017-01-17 16:27:03 -08:00
Daniel Holbert 835931f57f Bug 1331756 part 3: Remove extra space character between return value & function name, in some nsFrame.h method declarations. (whitespace-only, no review)
MozReview-Commit-ID: ANyG6tB2NJP
2017-01-17 16:27:03 -08:00
Daniel Holbert e9a569a3a8 Bug 1331756 part 2: Drop redundant 'virtual' keyword from nsFrame method overrides. r=xidorn
(This patch creates some mis-indentation issues; I'll fix those up in a
subsequent whitespace-only patch.)

MozReview-Commit-ID: 7gi8kmi8ZAF
2017-01-17 16:27:03 -08:00
Daniel Holbert ec6d60e965 Bug 1331756 part 1: Drop redundant 'virtual' keyword from some macros that declare nsIFrame method overrides. r=xidorn
MozReview-Commit-ID: EjPoyunTLsc
2017-01-17 16:27:02 -08:00
Bill McCloskey aa90d7dcb6 Bug 1328423 - Add AutoAssertNoContentJS to PresShell::Paint (r=dvander)
MozReview-Commit-ID: 4M4pYZSygPH
2017-01-17 13:29:04 -08:00
Emilio Cobos Álvarez 3455634fb0 Bug 1331213: Implement the bulk of media query evaluation. r=heycam
Two main notes:

 * The nsStringBuffer bit goes untested, since it's only used on windows and
   there's no way I can test it, please review with care.

 * I haven't implemented yet the "enumerated" media queries. I'd want to do it
   as a follow-up, because I'm running out of time, and it requires some
   investigation.

MozReview-Commit-ID: 1pBbzyIViPk
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-01-17 14:20:13 +01:00
Emilio Cobos Álvarez 672bb172f2 Bug 1331213: Add an API to drop a nsCSSValue in the stack. r=heycam
The getter function may create an nsCSSValue with allocated stuff, and we don't
want to leak it.

MozReview-Commit-ID: DYkUD8CW88E
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-01-17 14:20:08 +01:00
Emilio Cobos Álvarez 1aed15b692 Bug 1331213: Bootstrap a Gecko-side Device, and track it's dirtiness manually in the per-doc data. r=heycam
The setup is quite different to Servo-land, so add a comment about the different
setup.

Also, check viewport rules when flushing stylesheets. I believe that the
previous behavior is plain wrong, though I haven't taken the time to come up
with a test case.

In any case, it doesn't hurt any of both back-ends.

MozReview-Commit-ID: 46gtTkesOsr
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-01-17 14:20:03 +01:00
Emilio Cobos Álvarez 367ac14b53 Bug 1331213: Add an API to get nsMediaFeatures::features. r=heycam
We can't use the generated ones if we want a windows build.

MozReview-Commit-ID: 200LNgWl5Lm
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-01-17 14:19:57 +01:00
Emilio Cobos Álvarez c17c6d769f Bug 1331213: Export nsMediaFeatures.h and nsMediaList.h. r=heycam
We're going to bindgen them really soon.

MozReview-Commit-ID: 97E8z4YdFV9
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-01-17 14:19:52 +01: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
Cameron McCormack a5a8aebb09 Bug 1323892 - stylo: Add the annotations to the right manifest file. r=me
MozReview-Commit-ID: 8Zm7FHDqXtO
2017-01-17 16:03:11 +08:00
Cameron McCormack 4af3584f80 Bug 1323892 - stylo: Disable and annotate some more crashtests and reftests. r=me
MozReview-Commit-ID: 5Ot9dZR0q8T
2017-01-17 15:06:50 +08:00
Timothy Nikkel ab29b8925b Bug 1327294. When drawing XUL images allow some decoding if it's fast. r=aosmond
We aren't likely to implement predictive size decoding for XUL images. So instead do some sync decoding when we Draw them at their specified size. This will avoid a paint where we don't draw the image, or draw it at the wrong size, followed later by the correctly sized image.
2017-01-16 14:12:51 -06:00
Phil Ringnalda b3c440155b Merge m-c to m-i 2017-01-16 14:50:05 -08:00
Carsten "Tomcat" Book c30b03e2f0 Merge mozilla-central to autoland 2017-01-16 16:45:16 +01:00
Carsten "Tomcat" Book 7cb92b4443 merge mozilla-inbound to mozilla-central a=merge 2017-01-16 16:35:14 +01:00
Hiroyuki Ikezoe abd87081bf Bug 1330190 - Part 4: Resolve styles without animations in case of GetStyleContextForElementWithoutAnimation(). r=heycam
Now we skip nsAnimationManager::UpdateAnimations() and
EffectCompositor::UpdateEffectProperties() in case of
GetStyleContextForElementWithoutAnimation().

MozReview-Commit-ID: 4rF6n3XtMQq

--HG--
extra : rebase_source : b71e6a080df9ad730a4ee0b67d217d7f74df7de8
2017-01-16 17:41:20 +09:00
Hiroyuki Ikezoe 082a3da7a4 Bug 1330190 - Part 3: Add ResolvePseudoElementStyleWithoutAnimation. ?heycam r=heycam
This has the same functionality of ResolveStyleWithoutAnimation() but for pseudo
element instead.

MozReview-Commit-ID: I34lrfqdtuP

--HG--
extra : rebase_source : 5467923c4a4cb06e8999a1116cc2da9b2ed89c5e
2017-01-16 16:57:16 +09:00
Hiroyuki Ikezoe 37f87086c5 Bug 1330190 - Part 2: Add a new function named ResolveStyleWithoutAnimation. r=heycam
Unlike the other one this function does not need an old nsStyleContext.
This function just resolves style without all animation data in the first place.
The existing ResolveStyleWithoutAnimation is renamed to
ResolveStyleByRemovingAnimation.

MozReview-Commit-ID: 1RmCQNw0MmW

--HG--
extra : rebase_source : eaf55ecac77f6bb803b1f9508444bf34106d6da3
2017-01-16 16:57:13 +09:00
Hiroyuki Ikezoe 35cfe1a88f Bug 1330190 - Part 1: Add nsComputedDOMStyle::GetStyleContextForElementWithoutAnimation. r=heycam
We need another variant of GetStyleContextForElement() that does not consider
animation rules at all to get the base styles of the target element (i.e.
styles without animations).
In subsequent patches we also skip nsAnimationManager::UpdateAnimations() and
EffectCompositor::UpdateEffectProperties() to avoid (indirect) recursive calls
for resolving style of the same element.

MozReview-Commit-ID: G5olgXIMtvY

--HG--
extra : rebase_source : 1d08e649a4355262e2d83102c7b2de22cd7a67a1
2017-01-16 16:57:09 +09:00
Xidorn Quan 92f187a889 No bug - Change test_clip-path_polygon.html to use standard mode.
MozReview-Commit-ID: HPBjMMlJP4V

--HG--
extra : source : 12a8afbfe87f4efb16f219459a2d19b537161171
2017-01-16 18:05:49 +11:00
Jesse Ruderman bd4e0b2549 Bug 767251 - Add a crashtest. 2017-01-16 02:09:21 +01:00
Jesse Ruderman 32e0c74c91 Bug 742602 - Add a crashtest. 2017-01-16 02:09:21 +01:00
Jesse Ruderman 0b542426f1 Bug 606914 - Add a crashtest. 2017-01-16 02:09:21 +01:00
Jesse Ruderman 0401f89b1c Bug 743469 - Add a crashtest. 2017-01-16 02:09:21 +01:00
Phil Ringnalda c477aa8bd9 Merge m-i to m-c, a=merge 2017-01-15 12:34:02 -08:00
Phil Ringnalda c4129ca15b Merge autoland to m-c, a=merge 2017-01-15 12:31:23 -08:00
Phil Ringnalda 686006613e Backed out 20 changesets (bug 851892) for load failures in Android crashtest-4
Backed out changeset b9c4115cdeac (bug 851892)
Backed out changeset 5f491bf49b85 (bug 851892)
Backed out changeset 9bf5bcb3e8c5 (bug 851892)
Backed out changeset a9cab46e8b45 (bug 851892)
Backed out changeset 73858e15c8c0 (bug 851892)
Backed out changeset a25638588b6b (bug 851892)
Backed out changeset d58e0e5069ef (bug 851892)
Backed out changeset d8da2a3d8f10 (bug 851892)
Backed out changeset a8da3c34983f (bug 851892)
Backed out changeset 29cf8acbd21e (bug 851892)
Backed out changeset c53cd7bdf8b3 (bug 851892)
Backed out changeset e841a2796375 (bug 851892)
Backed out changeset 2eab85b00159 (bug 851892)
Backed out changeset ca4b1fb9cae4 (bug 851892)
Backed out changeset 74c0ba66f108 (bug 851892)
Backed out changeset 719bb9f41e5b (bug 851892)
Backed out changeset d6aa4c6192df (bug 851892)
Backed out changeset dc81a167a75d (bug 851892)
Backed out changeset 65422477b3a5 (bug 851892)
Backed out changeset 3089dd379077 (bug 851892)
2017-01-15 11:50:10 -08:00
Mats Palmgren acb94fc181 Bug 1330380 - Follow-up: remove debug console.log script from a few CSS Grid reftests. r=me 2017-01-15 16:40:20 +01:00
Emilio Cobos Álvarez 7a40386fed Bug 1330874: Preserve neutral style changes for stylo. r=heycam
Since we use the presence of a change hint to determine whether we should
recreate a style context, we can't just strip them out on CalcStyleDifference.

MozReview-Commit-ID: GLhbTc2W3d7
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-01-15 16:10:01 +01:00
Jonathan Kew 3742b82262 Bug 1281424 followup, remove spec link from reference file. r=dbaron
DONTBUILD
2017-01-14 18:25:12 +00:00
Phil Ringnalda 082d6bd9df Merge m-i to m-c, a=merge
MozReview-Commit-ID: 1NtOkt6oQ7d
2017-01-14 09:38:58 -08:00
Hiroyuki Ikezoe 66779abf27 Bug 1330824 - Drop skip-if from test cases that failed due to animation property handling for stylo. r=heycam
These test cases will not crash once the below PR gets merged into stylo tree.
https://github.com/servo/servo/pull/15022

MozReview-Commit-ID: LwU3RfhfVfH
2017-01-14 15:03:47 +09:00
Mats Palmgren 31135bdfca Bug 1330380 part 3 - Add more reftests using percentages in various properties. 2017-01-14 01:05:53 +01:00
Mats Palmgren 6944ddd800 Bug 1330380 part 2 - We must always pass along a CB size when reflowing grid items, also in MeasuringReflow. r=dholbert 2017-01-14 01:05:52 +01:00
Mats Palmgren a3cd53c12c Bug 1330380 part 1 - Rename a couple of variables. r=dholbert 2017-01-14 01:05:52 +01:00
Wes Kocher f8a62a9ce6 Merge m-c to inbound, a=merge
MozReview-Commit-ID: ASajzspkOe1
2017-01-13 15:48:34 -08:00
Wes Kocher 565fdbe5d8 Merge inbound to m-c a=merge
MozReview-Commit-ID: JcbGWqzzYJj
2017-01-13 15:43:52 -08:00