Commit Graph

20878 Commits

Author SHA1 Message Date
Nathan Froyd
104c1f5f20 Bug 997820 - part 1.1 - really disable telemetry during reftests; r=ted 2014-04-24 09:37:21 -04:00
Birunthan Mohanathas
504b581650 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Birunthan Mohanathas
c8c6722bb4 Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Arpad Borsos
0ffd585a0c Bug 474369 - remove nsVoidArray includes; r=ehsan
--HG--
extra : rebase_source : dd3abeb623fd8b784fd6ba639c88def84a4daf58
2014-04-26 16:12:45 +02:00
Timothy Nikkel
906dfb4a31 Bug 1000350. Don't overwrite a layout set display port base with an APZC-guessed one. r=kats
APZC set ones are only meant to fill in the gaps, use them only if we have nothing else.
2014-04-26 00:13:36 -05:00
Simon Montagu
dd8aa347c7 Follow up the parent chain when making continuations non-fluid at the end of a directional run. Bug 989994, r=roc 2014-04-25 00:01:24 -07:00
Frédéric Wang
7a5fdadd38 Bug 1000879 - Remove the ::-moz-math-stretchy pseudo-element. r=karl, roc 2014-04-24 21:30:00 +02:00
Bill McCloskey
6b1f974ec4 Bug 991837 - Only enable APZC during reftest-ipc (r=roc) 2014-04-24 11:17:31 -07:00
Dmitry Rozhkov
2cbfe9e859 Bug 993936 - Make check for continuing session stricter. r=smaug 2014-04-24 13:21:56 +03:00
L. David Baron
9d7b13eae0 Bug 997506: Call CreateNeededFrames for all ProcessPendingRestyles calls rather than just most. r=tn
This is needed to avoid hitting the assertion "Why did this not get
handled while processing mRestyleRoots?" in CollectRestyles, because we
have a restyle posted for a frame that has the NEEDS_FRAME bit flag set.
2014-04-24 09:30:12 -07:00
Aryeh Gregor
57e61e9d15 Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan 2014-04-10 19:09:40 +03:00
Frédéric Wang
5c8e85c17a Bug 1000745 - Part 2: Remove font.mathfont-glyph-tables. r=karlt 2014-04-24 02:41:00 -04:00
Frédéric Wang
dfecf6ca8b Bug 1000745 - Part 1: Remove obsolete font.mathfont-family* preferences. r=karlt 2014-04-24 02:33:00 -04:00
Frédéric Wang
187d109cb4 Bug 960115 - No longer scale stretchy operators when a variant of any size is found. r=karlt 2014-04-23 00:28:00 -04:00
Aryeh Gregor
e229b75b12 Bug 923376 - Spellcheck all appended nodes, not just the first; r=ehsan 2014-04-06 17:56:08 +03:00
Robert O'Callahan
9d73647f2e Bug 998206. Add --shuffle option to runreftests.py and 'mach reftest'. r=dbaron
--HG--
extra : rebase_source : 8270c601ad8d5afe4b598e78ed8d84a3c1385f1f
2014-03-03 18:13:01 +13:00
Carsten "Tomcat" Book
9f6bd57bb5 Merge m-c to mozilla-inbound 2014-04-24 13:20:37 +02:00
Carsten "Tomcat" Book
e6e2deab22 merge b2g-inbound to mozilla-central 2014-04-24 13:12:50 +02:00
Timothy Nikkel
58d05a6240 Bug 1000266. Don't purge the canvas fixed background image cache if we are only scrolling. r=mattwoodrow
Also NotifyRenderingChanged was on the canvas background color item, not the background image item.

Bug 818643 was a problem where the cache didn't get purged enough, but the fix meant we basically always purged the cached and never got to use it, making it useless. It meant that we purged the cache anytime the item has any type of invalidation whatsoever, even if the item would be drawn the same but the layer contents needed to be invalidated so that it would be redrawn (ie due to staying at the same position on screen but a different position in the layer).

This is really hacky, but NotifyRenderingChanged is only observed on one type of display item. So we just isolate the case where the only thing that changed is the offset (due to scrolling) and skip the NotifyRenderingChanged in that case.
2014-04-23 21:56:15 -05:00
Timothy Nikkel
8ca9076c73 Bug 1000322. Don't let the display port base be larger than the subdocuments root frame bounds. r=roc
The dirty rect can be larger.
2014-04-23 21:12:11 -05:00
Ehsan Akhgari
164e703836 Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
Carsten "Tomcat" Book
072b32208c Backed out changeset 87f6ee3f86c1 (bug 997367) for mochitest assertions on a CLOSED TREE 2014-04-24 10:40:35 +02:00
Markus Stange
2d595cf6e4 Bug 1000382 - Don't simplify the invalidation region before calling nsSVGIntegrationUtils::AdjustInvalidAreaForSVGEffects. r=roc
--HG--
extra : rebase_source : a0eb465b54735c13e7b1934c3f6379ef74fd3f35
2014-04-24 10:25:17 +02:00
Markus Stange
721f6dd14c Bug 1000167 - Choose the right animated geometry root for inactive layer contents. r=roc
Choosing a frame that is scrolled along with the inactive layer results in a fixed offset between the two, so the transform that we set on the thebes layer in the basic layer manager of the inactive layer doesn't change when the page is scrolled.

--HG--
extra : rebase_source : 9b7996e2979e7d833aaddada2eebdd3c15ab621e
2014-04-24 10:18:11 +02:00
Chris Peterson
619b0d656a Bug 999717 - CSS value lists other than shadows and filters may not be null. rs=dholbert 2014-04-22 23:11:01 -07:00
Mats Palmgren
4d27c5ee3a Bug 990340 - Use GetContentInsertionFrame() when searching for ::before/::after frames. r=bz 2014-04-23 22:52:43 +00:00
Shelly Lin
c016875e6a Bug 908995 - Part 3: Add source events for TaskTracer. r=khuey,smaug. 2014-04-23 15:32:31 +08:00
Peter Chang
ce8d02436e Bug 997367 - fix crash at CrossProcessCompositorParent::GetCompositionManager. r=roc 2014-04-22 19:07:00 +02:00
Jonathan Kew
bb5ac26a44 Bug 947650 - [FT2 fonts] Prefer OS/2 sTypo* metrics to hhea ascent/descent if USE_TYPO_METRICS flag is set, and for OpenType Math fonts. r=karlt 2014-02-04 13:06:27 +00:00
Geoff Brown
525a0366da Bug 967704 - Update reftest manifests for Android 2.3; r=me 2014-04-23 08:42:50 -06:00
Frédéric Wang
fae97a2ca5 Bug 407059 - Part 5: Add reftest. r=karlt 2014-04-23 06:57:43 -07:00
Frédéric Wang
0736878ae6 Bug 407059 - Part 4: Use gfxHarfbuzzShaper::GetGlyphHAdvance() for math operators. r=jfkthame 2014-04-23 06:57:42 -07:00
Frédéric Wang
0e79b88b13 Bug 407059 - Part 3: remove mathfontAsanaMath.properties and STIX 1.0 beta. r=karlt 2014-04-23 06:57:42 -07:00
Frédéric Wang
f67f80ef9e Bug 407059 - Part 2: Make nsMathMLChar use the MATH table. r=karlt 2014-04-23 06:57:42 -07:00
Frédéric Wang
29382d05a4 Bug 407059 - Part 0: Remove the Truncate() calls from nsMathMLChar::StretchEnumContext. r=karlt 2014-04-23 06:57:41 -07:00
Maksim Lebedev
cde396c725 Bug 979345 - Implement "touch-action: manipulation" CSS value for Pointer Events. r=kats,botond,dbaron,mbrubeck 2014-04-23 09:56:46 -04:00
Kartikaya Gupta
c5c2f5338c Bug 984460 - Fill in a missing piece of code to compute the right dirty rect in the face of CSS transforms. r=mattwoodrow 2014-04-23 09:26:52 -04:00
Markus Stange
0fdc4e2df4 Bug 997735 - Invalidate when reflowing SVG containers. r=roc
Without this patch, when changing the x/y attributes of svg:use, innerSVG and foreignObject, we were relying on the transform changes of the children to trigger the right invalidations. However, changes to those attributes can also change the filter region. And there's a difference between moving children in a fixed filter region and moving the filter region along with the children: In the first case, we wouldn't need to invalidate anything outside the old filter region, because those parts of the children would be clipped away anyway. But when the filter region changes, we need to invalidate both the old and the new filter region. Also, when the filter has primitives without inputs, e.g. flood or turbulence, the filtered frame needs to be invalidate even if it has no children.
2014-04-23 11:48:07 +02:00
Markus Stange
7cfec060c6 Bug 997735 - Use consistent offset both in nsSVGIntegrationUtils::PaintFramesWithEffects and in nsFilterInstance::GetUserSpaceToFrameSpaceInCSSPxTransform. r=roc 2014-04-23 11:47:54 +02:00
Markus Stange
c8d362ffad Bug 997735 - Add nsSVGUtils::FrameSpaceInCSSPxToUserSpaceOffset. r=roc
This function calculates the offset between "bounding box frame space" and "user space" for SVG frames. For non-SVG frames it returns no offset.

It's crucial that this is consistent with what nsSVGUtils::GetBBox does.

nsFilterInstance has several methods that are called by consumers before the actual painting, e.g. to calculate post filter extents or invalidation regions. Those nsFilterInstance APIs have their input and output values in "bounding box frame space" coordinates, but if the filter units are "objectBoundingBox", then those methods also do calculations involving the result of nsSVGUtils::GetBBox. So a consistent conversion is very important.
2014-04-23 11:47:42 +02:00
Markus Stange
185d706431 Bug 997735 - Rename nsSVGIntegrationUtils::GetOffsetToUserSpace to GetOffsetToBoundingBox. r=roc
There are three spaces that nsSVGIntegrationUtils needs to convert between. I'll call them "frame space", "bounding box frame space" and "user space".

"Bounding box frame space" has its origin at the top left of the union of a frame's border boxes over all continuations.

For SVG frames, "frame space" and "bounding box frame space" are the same because SVG frames don't have multiple continuations.

For non-SVG frames, "bounding box frame space" and "user space" are the same.

However, for SVG frames, "bounding box frame space" and "user space" are different! For example, for a <rect x="100" y="100">, the point 0,0 in frame space is at the rect's top left corner, but the point 0,0 in user space is 100,100 pixels away from the rect's corner.

nsSVGIntegrationUtils::GetOffsetToUserSpace took the non-SVG viewpoint, but it's misleading for SVG frames.
2014-04-23 11:47:31 +02:00
Markus Stange
72ccff7902 Bug 997735 - Add a test. r=roc 2014-04-23 11:47:19 +02:00
Kearwood (Kip) Gilbert
6ff2e0547d Bug 920688 - Remove FIXME comment from StickyScrollContainer::ComputeStickyLimits. r=dbaron
- The condition described in the FIXME comment is already handled by
  GetNearestBlockContainer in nsFrame.cpp (helper for
  nsIFrame::GetContainingBlock).
2014-04-22 15:30:00 +02:00
Phil Ringnalda
f0f9b8c0f5 Back out 5544ddbd6581 (bug 999717) for assertions
CLOSED TREE
2014-04-22 20:58:03 -07:00
Chris Peterson
ddffd256b0 Bug 999717 - Fix gcc -Wlogical-op warning in layout. r=dholbert 2014-04-22 15:50:35 -07:00
Wes Kocher
e4fa4a7a0c Backed out changeset 039b15c9b84e (bug 979345) for build bustage on a CLOSED TREE 2014-04-22 15:29:11 -07:00
Maksim Lebedev
d740bfbfaa Bug 987078 - If pointerType is "mouse" and buttons > 0, then pressure must be 0.5. r=smaug 2014-04-22 14:27:02 -07:00
Maksim Lebedev
d692c75b81 Bug 979345 - Implement "touch-action: manipulation" CSS value for Pointer Events. r=kats, r=botond, r=dbaron, r=mbrubeck 2014-04-22 14:27:02 -07:00
Ryan VanderMeulen
63287be17c Merge fx-team to m-c. 2014-04-22 13:05:09 -07:00
Eugen Sawin
8dbe22eb92 Bug 611556 - Add persistent zoom history sessions. r=roc, r=snorp 2014-04-07 13:43:58 +02:00