Commit Graph

40439 Commits

Author SHA1 Message Date
Frédéric Wang
972811fba1 Bug 1000879 - Remove the ::-moz-math-stretchy pseudo-element. r=karl, roc 2014-04-24 21:30:00 +02:00
Bill McCloskey
a35ec487ae Bug 991837 - Only enable APZC during reftest-ipc (r=roc) 2014-04-24 11:17:31 -07:00
Dmitry Rozhkov
8e3379fb03 Bug 993936 - Make check for continuing session stricter. r=smaug 2014-04-24 13:21:56 +03:00
L. David Baron
1cbc91a8da 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
780bdf4c9b Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan 2014-04-10 19:09:40 +03:00
Frédéric Wang
061d40b53c Bug 1000745 - Part 2: Remove font.mathfont-glyph-tables. r=karlt 2014-04-24 02:41:00 -04:00
Frédéric Wang
db47d2fc12 Bug 1000745 - Part 1: Remove obsolete font.mathfont-family* preferences. r=karlt 2014-04-24 02:33:00 -04:00
Frédéric Wang
2e2f1b2079 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
75660868f4 Bug 923376 - Spellcheck all appended nodes, not just the first; r=ehsan 2014-04-06 17:56:08 +03:00
Robert O'Callahan
6a9101204b 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
2299300a51 Merge m-c to mozilla-inbound 2014-04-24 13:20:37 +02:00
Carsten "Tomcat" Book
8c03a5b1e1 merge b2g-inbound to mozilla-central 2014-04-24 13:12:50 +02:00
Timothy Nikkel
2ad94f8051 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
60d1a51c7e 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
2ecbad7b1c Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
Carsten "Tomcat" Book
82238832e7 Backed out changeset 87f6ee3f86c1 (bug 997367) for mochitest assertions on a CLOSED TREE 2014-04-24 10:40:35 +02:00
Markus Stange
acd1568bc2 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
cf6d1698fb 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
625e453b7c 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
e03c6d61cd Bug 990340 - Use GetContentInsertionFrame() when searching for ::before/::after frames. r=bz 2014-04-23 22:52:43 +00:00
Shelly Lin
9c64583a64 Bug 908995 - Part 3: Add source events for TaskTracer. r=khuey,smaug. 2014-04-23 15:32:31 +08:00
Peter Chang
98ef025ea5 Bug 997367 - fix crash at CrossProcessCompositorParent::GetCompositionManager. r=roc 2014-04-22 19:07:00 +02:00
Jonathan Kew
448738e661 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
08d9f8a751 Bug 967704 - Update reftest manifests for Android 2.3; r=me 2014-04-23 08:42:50 -06:00
Frédéric Wang
5ddbcc0e32 Bug 407059 - Part 5: Add reftest. r=karlt 2014-04-23 06:57:43 -07:00
Frédéric Wang
dd936cd2e4 Bug 407059 - Part 4: Use gfxHarfbuzzShaper::GetGlyphHAdvance() for math operators. r=jfkthame 2014-04-23 06:57:42 -07:00
Frédéric Wang
dae40402cd 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
cec6c49525 Bug 407059 - Part 2: Make nsMathMLChar use the MATH table. r=karlt 2014-04-23 06:57:42 -07:00
Frédéric Wang
94bbbf60fd Bug 407059 - Part 0: Remove the Truncate() calls from nsMathMLChar::StretchEnumContext. r=karlt 2014-04-23 06:57:41 -07:00
Maksim Lebedev
8d457861b8 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
a15a9aedef 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
3db3aca9c1 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
bfe0e2ebe3 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
fc56b170d0 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
51c046a07a 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
f011b43abd Bug 997735 - Add a test. r=roc 2014-04-23 11:47:19 +02:00
Kearwood (Kip) Gilbert
de99f78284 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
31b830d88d Back out 5544ddbd6581 (bug 999717) for assertions
CLOSED TREE
2014-04-22 20:58:03 -07:00
Chris Peterson
47bc3b14b8 Bug 999717 - Fix gcc -Wlogical-op warning in layout. r=dholbert 2014-04-22 15:50:35 -07:00
Wes Kocher
b0494d18ea Backed out changeset 039b15c9b84e (bug 979345) for build bustage on a CLOSED TREE 2014-04-22 15:29:11 -07:00
Maksim Lebedev
a579feb770 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
02188c0e1a 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
d27929529c Merge fx-team to m-c. 2014-04-22 13:05:09 -07:00
Eugen Sawin
8c4799afd5 Bug 611556 - Add persistent zoom history sessions. r=roc, r=snorp 2014-04-07 13:43:58 +02:00
Phil Ringnalda
dbe8565e0e Back out 3df94ef87444 (bug 999266) for build bustage
CLOSED TREE
2014-04-21 21:57:06 -07:00
Michael Wu
c5b519ba15 Bug 999266 - Switch DrawPixelSnapped to gfx::SurfaceFormat, r=mattwoodrow 2014-04-19 21:03:35 -04:00
Ehsan Akhgari
bb80dc5c38 Bug 998995 - Reserve stack space for 16 arguments when parsing a CSS function; r=dbaron 2014-04-21 20:44:33 -04:00
Benoit Girard
a51fcecd63 Bug 999121 - Avoid mFramesMarkedForDisplay relloc with SetCapacity. r=mwoodrow
--HG--
extra : rebase_source : dd3d1b9cd756dcbb9c014d9d5472c794057b4073
2014-04-21 16:46:03 -04:00
Daniel Holbert
cdc54b1034 (no bug) Fix mis-indented line in mochitest file 'flexbox_layout_testcases.js'. (whitespace-only, DONTBUILD) 2014-04-21 13:47:51 -07:00
Bill McCloskey
204c0f3633 Bug 993714 - [e10s] Cache native key bindings in tests (r=masayuki,sr=roc) 2014-04-21 13:40:09 -07:00