Commit Graph

20857 Commits

Author SHA1 Message Date
Markus Stange
9a26ffaabc 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
Shelly Lin
d63debcb8f Bug 908995 - Part 3: Add source events for TaskTracer. r=khuey,smaug. 2014-04-23 15:32:31 +08:00
Peter Chang
333249dccc Bug 997367 - fix crash at CrossProcessCompositorParent::GetCompositionManager. r=roc 2014-04-22 19:07:00 +02:00
Timothy Nikkel
dc5c4979ef 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
8dacd34ec8 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
15916f4738 Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
Chris Peterson
c7ddeb32d0 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
f7f777c391 Bug 990340 - Use GetContentInsertionFrame() when searching for ::before/::after frames. r=bz 2014-04-23 22:52:43 +00:00
Jonathan Kew
f8cc32297f 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
20233ccc77 Bug 967704 - Update reftest manifests for Android 2.3; r=me 2014-04-23 08:42:50 -06:00
Frédéric Wang
84fd852d09 Bug 407059 - Part 5: Add reftest. r=karlt 2014-04-23 06:57:43 -07:00
Frédéric Wang
a8464ba408 Bug 407059 - Part 4: Use gfxHarfbuzzShaper::GetGlyphHAdvance() for math operators. r=jfkthame 2014-04-23 06:57:42 -07:00
Frédéric Wang
f128db4954 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
4b93f4c2f2 Bug 407059 - Part 2: Make nsMathMLChar use the MATH table. r=karlt 2014-04-23 06:57:42 -07:00
Frédéric Wang
8f50bde673 Bug 407059 - Part 0: Remove the Truncate() calls from nsMathMLChar::StretchEnumContext. r=karlt 2014-04-23 06:57:41 -07:00
Maksim Lebedev
39d6a3538b 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
c4ff39d0ca 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
11d4b8640e 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
ee4070b6a8 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
5e518b311e 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
41b53d8786 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
c975d2bc81 Bug 997735 - Add a test. r=roc 2014-04-23 11:47:19 +02:00
Kearwood (Kip) Gilbert
09214db039 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
1c6d24d3d4 Back out 5544ddbd6581 (bug 999717) for assertions
CLOSED TREE
2014-04-22 20:58:03 -07:00
Chris Peterson
49cf04f23c Bug 999717 - Fix gcc -Wlogical-op warning in layout. r=dholbert 2014-04-22 15:50:35 -07:00
Wes Kocher
5abf643c50 Backed out changeset 039b15c9b84e (bug 979345) for build bustage on a CLOSED TREE 2014-04-22 15:29:11 -07:00
Maksim Lebedev
b2db0d721f 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
7906420c60 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
59b9ab5fc0 Merge fx-team to m-c. 2014-04-22 13:05:09 -07:00
Eugen Sawin
7432a9bcf8 Bug 611556 - Add persistent zoom history sessions. r=roc, r=snorp 2014-04-07 13:43:58 +02:00
Phil Ringnalda
5254d5a0bf Back out 3df94ef87444 (bug 999266) for build bustage
CLOSED TREE
2014-04-21 21:57:06 -07:00
Michael Wu
6301fbfb1e Bug 999266 - Switch DrawPixelSnapped to gfx::SurfaceFormat, r=mattwoodrow 2014-04-19 21:03:35 -04:00
Ehsan Akhgari
5b410ec7ae 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
d374edde0a Bug 999121 - Avoid mFramesMarkedForDisplay relloc with SetCapacity. r=mwoodrow
--HG--
extra : rebase_source : dd3d1b9cd756dcbb9c014d9d5472c794057b4073
2014-04-21 16:46:03 -04:00
Daniel Holbert
145b80cc24 (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
ef7676b117 Bug 993714 - [e10s] Cache native key bindings in tests (r=masayuki,sr=roc) 2014-04-21 13:40:09 -07:00
William Lachance
a29417e3f7 Bug 996862 - Remove use of mozdevice's networktools. r=ahal 2014-04-21 11:03:51 -04:00
Ryan VanderMeulen
e50ce58691 Backed out 5 changesets (bug 407059) for reftest asserts.
Backed out changeset 21fee1261f2e (bug 407059)
Backed out changeset c940a2d399c4 (bug 407059)
Backed out changeset 77593dd1b044 (bug 407059)
Backed out changeset cfcbc731d4db (bug 407059)
Backed out changeset d8244f3ecdcb (bug 407059)
2014-04-22 11:00:13 -04:00
Markus Stange
5c83daaf1f Bug 987005 - Add comments to a condition in PopThebesLayerData(). r=roc 2014-04-22 16:27:44 +02:00
Adrian Lungu
ad51575296 Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst 2013-10-15 18:35:44 -07:00
Mats Palmgren
96d62d5ba4 Back out bug 613659 (for regression bug 998792)
--HG--
rename : layout/reftests/backgrounds/background-size-slice.html => layout/reftests/backgrounds/background-size-continuous.html
rename : layout/reftests/backgrounds/background-size-cover-slice.html => layout/reftests/backgrounds/background-size-cover-continuous.html
rename : layout/reftests/backgrounds/background-size-cover-clone.html => layout/reftests/backgrounds/background-size-cover-each-box.html
rename : layout/reftests/backgrounds/background-size-clone.html => layout/reftests/backgrounds/background-size-each-box.html
2014-04-20 19:39:24 +00:00
Mats Palmgren
f160eee815 Bug 613659 - Make GetBorderRadii non-inline to make it compile on Windows. r=dholbert 2014-04-18 23:01:24 +00:00
Mats Palmgren
7e0b8100c5 Bug 613659 - Minor whitespace fixes. r=cam 2014-04-18 23:01:24 +00:00
Mats Palmgren
842095893c Bug 613659 - Change mode-lines and indentation to 2-space indent. r=cam 2014-04-18 23:01:24 +00:00
Mats Palmgren
88f3a05aa4 Bug 613659 - Reftests for box-decoration-break. r=cam 2014-04-18 23:01:23 +00:00
Mats Palmgren
d335554b04 Bug 613659 - Remove remaining vestiges of -moz-background-inline-policy. r=cam 2014-04-18 23:01:23 +00:00
Mats Palmgren
c183756a9b Bug 613659 - Implement box-decoration-break layout for backgrounds. r=cam,jmuizelaar
--HG--
rename : layout/reftests/backgrounds/background-size-each-box.html => layout/reftests/backgrounds/background-size-clone.html
rename : layout/reftests/backgrounds/background-size-cover-each-box.html => layout/reftests/backgrounds/background-size-cover-clone.html
rename : layout/reftests/backgrounds/background-size-cover-continuous.html => layout/reftests/backgrounds/background-size-cover-slice.html
rename : layout/reftests/backgrounds/background-size-continuous.html => layout/reftests/backgrounds/background-size-slice.html
2014-04-18 23:01:23 +00:00
Mats Palmgren
3dc34b05d8 Bug 613659 - Implement box-decoration-break layout for border/box-shadow and paddding/margin for inlines. r=cam 2014-04-18 23:01:23 +00:00
Mats Palmgren
aa112b9264 Bug 613659 - Add "skip sides" and border/frame size parameters to GetBorderRadii(). Add an inline convenience method for the old signature. r=cam 2014-04-18 23:01:23 +00:00
Mats Palmgren
38f499fee7 Bug 613659 - Implement box-decoration-break in the style system. r=cam 2014-04-18 23:01:22 +00:00