Commit Graph

13715 Commits

Author SHA1 Message Date
Matt Woodrow
8662ef3442 Bug 770144 - Restrict ThebesLayer invalidations to the visible region. r=roc 2012-07-03 14:26:45 +12:00
Robert O'Callahan
69ce2f5f03 Bug 770058. Part 2: When the document switches between active and inactive, invalidate all frames. r=mattwoodrow 2012-07-03 14:24:20 +12:00
Robert O'Callahan
16e3ef3b5f Bug 770058. InvalidateFrame doesn't need flags, we can just avoid calling ScheduleRepaint if we find any ancestor frame with a descendant that needs invalidation. r=mattwoodrow 2012-07-03 14:24:14 +12:00
Matt Woodrow
b14b46dec5 Bug 770096 - Prevent crashes when encountering an empty ThebesLayer. r=roc 2012-07-03 14:23:11 +12:00
Matt Woodrow
0ec85bf023 Bug 769922 - Add nsDisplayAltFeedback so that alt feedback images get invalidated correclty. r=roc 2012-07-03 13:03:40 +12:00
Matt Woodrow
9f3588825e Bug 770041 - Revert GetRootPresContext to pre-DLBI behaviour and add GetDisplayRootPresContext for DLBI. r=roc 2012-07-03 13:02:30 +12:00
Ed Morley
bb3f6c2bad Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-02 10:03:16 +01:00
Ms2ger
5135fa5aa8 Bug 769437 - Remove a check that has been dead since 2005 to fix a build warning; r=mounir 2012-07-02 08:23:56 +02:00
Ms2ger
09fca26b5a Bug 745523 - Part b: Unprefix transforms; r=dbaron
This patch introduces unprefixed 'transform', 'transform-origin', 'perspective',
'perspective-origin', 'transform-style' and 'backface-visibility' properties, and
updates the mochitests in layout/style to use them.
2012-07-02 08:23:54 +02:00
Ms2ger
a4ebdb8e6a Bug 767790 - Remove nsIHTMLDocument::{Get,Set}IsFrameset; r=mounir 2012-07-02 08:22:37 +02:00
Robert O'Callahan
ddbee0e9d9 Backout bug 768775 for now 2012-07-02 14:43:37 +12:00
Robert O'Callahan
15c9007a2e Mark gradient tests fuzzy for bug 768775 2012-07-02 13:18:32 +12:00
Robert O'Callahan
7252675cc8 Bug 768775. For linear gradients where the gradient line is parallel to an axis and runs from one edge of a background tile to the other, we can repeat the background by just repeating the gradient instead of drawing individual tiles. r=jrmuizel
--HG--
extra : rebase_source : 81b9a7951ce78f60aa8eaeca4f66f62561133254
2012-07-02 11:46:32 +12:00
Robert O'Callahan
e1af2fd5e7 Bug 770001. When comparing clips, adjust for any change in the ThebesLayer coordinate system. When clips are different, try to accumulate differences intelligently, taking into account that changes in clips outside the bounds of the clipped display item don't matter. r=mattwoodrow
--HG--
extra : rebase_source : d958c629307045f2592ffe658cd1a2e608713cbd
2012-07-02 11:46:21 +12:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Aryeh Gregor
c36606e273 Bug 767169 part 1 - Partial cleanup of Selection::selectFrames; r=ehsan 2012-06-28 14:29:56 +03:00
Jonathan Watt
8f2de0a261 Bug 769902 - Avoid unnecessary precision issues in nsSVGUtils::ObjectSpace. r=longsonr. 2012-06-30 21:21:31 +01:00
Tal Aloni
c2e7a66cfa Bug 248239 - Change standards mode height calculations for table cells to use content-box sizing rather than border-box sizing by default (and to honor -moz-box-sizing, which we do not do in quirks mode). Also remove -moz-box-sizing: border-box from default style for caption element (all modes). r=dbaron 2012-06-30 12:01:31 -04:00
Jonathan Watt
68d63e84fc Bug 732819 followup - fix test. r=me. 2012-06-30 13:54:01 +01:00
Jonathan Watt
63a84083cb Bug 767734 - Give GetCanvasTM knowledge of what the request is for so it can do the right thing when SVG display lists are enabled. r=longsonr. 2012-06-30 12:20:46 +01:00
Jonathan Watt
532e8a1995 Bug 732819 - "ASSERTION: don't think me need this any more" with font-size: 0. r=roc. 2012-06-30 12:20:46 +01:00
Matt Woodrow
660deac456 Bug 539356 - Part 28 - Cached nsDisplayBackground rasterizations with BasicLayers. r=roc 2012-06-30 15:06:14 +12:00
Matt Woodrow
c37ed2f466 Bug 539356 - Part 27 - Make nsImageFrame's overflow include the AltFeedback image if it will use one. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
d6338f98b1 Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
0dd660fbf2 Bug 768766 - Make css-valid tests use MozReftestInvalidate and mark them as fuzzy. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
67796cbb7d Bug 539356 - Part 25 - Invalidate display items that have a changed clip. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
0664c2e210 Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-06-30 15:06:13 +12:00
Oleg Romashin
95b7a73ba9 Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
895528986f Bug 539356 - Part 19 - Only repaint retained layers after the previous repainted has been drawn to the window. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
dbca7f19d8 Bug 539356 - Part 18 - Mark frames with only invalid children as an optimization to use when invalidating further frames. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
ab51baf3ec Bug 539356 - Part 14 - Handle multiple widget layer managers retaining data for the same frame. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
5dc07fe113 Bug 539356 - Part 13 - Only repaint widgets that have had changes since the last paint. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
850cb83cd3 Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
ffcd727240 Bug 741682 - Disable component alpha layers with BasicLayers. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
4e803b179a Bug 739671 - Store optimized Color/ImageLayers on the ThebesLayers that they replace. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
6b8da8ec1c Bug 539356 - Part 11 - Reimplement empty transactions. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
c96dc0e2ed Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-30 15:06:11 +12:00
Matt Woodrow
cbd39105d9 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Matt Woodrow
557c514f1c Bug 539356 - Revert changes made by bug 728983 2012-06-30 15:06:10 +12:00
Matt Woodrow
9193c41326 Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc 2012-06-30 15:06:10 +12:00
Matt Woodrow
a072bd4903 Bug 539356 - Part 7 - Store FrameLayerBuilder objects on the LayerManager instead of nsDisplayListBuilder. r=roc 2012-06-30 15:06:10 +12:00
Matt Woodrow
147e839dc3 Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc 2012-06-30 15:06:10 +12:00
Jonathan Watt
3f1e0a02a1 Bug 539356 - Part 4 - Reinstate the foreignObject registering code so that bug 605265 doesn't slow down SVG in general. r=mattwoodrow 2012-06-30 15:06:09 +12:00
Matt Woodrow
6750b1ce01 Bug 539356 - Part 3 - Make GetParentPresContext() succeed when the current PresContext has no frames. r=bz 2012-06-30 15:06:09 +12:00
Jonathan Kew
7ee339db6d bug 769194 - support src:local(...) in @font-face rules on Android/FT2FontList. r=jdaggett 2012-06-29 12:39:44 +01:00
Jonathan Watt
85c5167bf8 Bug 769103 - Get SVG masks working for HTML elements under CSS transforms. r=roc. 2012-06-28 23:59:05 +01:00
Jonathan Watt
6c88f7cc0a Bug 769306 - Move more code from nsSVGOuterSVGFrame::Paint to nsDisplaySVG::Paint. r=dholbert. 2012-06-28 20:51:31 +01:00
Jonathan Watt
3c530c668a Bug 769242 - Rename nsDisplaySVG to nsDisplayOuterSVG in preparation for adding other SVG display list item types. r=dholbert. 2012-06-28 20:51:20 +01:00
Jonathan Watt
6955c9d4dd Bug 769238 - Rename aEffectsFrame to just aFrame in nsSVGIntegrationUtils. r=dholbert. 2012-06-28 20:51:09 +01:00
Ehsan Akhgari
56ee90e3ff Bug 769362 - Mark the rest of the relative position change tests as random on Mac; r=bzbarsky 2012-06-28 15:26:36 -04:00
Jonathan Kew
f746b72182 bug 764805 - reftest for style descriptors on src:local font face. r=jdaggett 2012-06-28 10:59:39 +01:00
Ehsan Akhgari
e9c88c4e63 Bug 766843 - Exempt inner table frames from optimized dynamic position change handling, as the required handling is performed for outer table frames; r=bzbarsky 2012-06-27 16:24:01 -04:00
Chris Lord
d9f08078fd Bug 758620 - Add fuzzing to fixed-pos reftests. r=roc
Now that fixed position elements are always separate onto their own layers,
they are victims of rounding errors/differences during composition.
This change adds fuzz for the affected platforms/tests.
2012-06-27 16:44:06 +01:00
Chris Lord
9fd49ed93f Bug 758620 - Force fixed-position frames to have their own layers. r=roc
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-27 16:43:57 +01:00
Chris Lord
1163c9e9c6 Bug 758620 - Layout fixed-position frames to the set scroll-port. r=roc
If a scroll position clamping scroll-port size has been set, layout fixed
position frames with respect to this instead of the calculated containing
block size.
2012-06-27 16:43:46 +01:00
Ehsan Akhgari
45fe6d3ae2 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Aryeh Gregor
b6bb10c6a3 Bug 766845 part 2 - Make CloneRange() return already_AddRefed<nsRange>; r=smaug 2012-06-25 14:44:11 +03:00
L. David Baron
58798efed4 Backout changeset 1e2b9cdc486b (Bug 248239) due to failure of tests/MochiKit-1.4.2/tests/test_MochiKit-Style.html . 2012-06-26 18:16:09 -07:00
Tal Aloni
bded505e94 Change standards mode height calculations for table cells to use content-box sizing rather than border-box sizing by default (and to honor -moz-box-sizing, which we do not do in quirks mode). Also remove -moz-box-sizing: border-box from default style for caption element (all modes). (Bug 248239) r=dbaron 2012-06-26 16:24:23 -07:00
Frédéric Wang
9d87a055c5 Reftest for bug 662756. r=karlt 2012-06-26 15:43:02 -07:00
Frédéric Wang
2494a996ed Bug 662756 - The default value for attributes lspace/rspace of <mo> should be thickmathspace. r=karlt 2012-06-26 15:42:56 -07:00
Daniel Holbert
d0c73eda8f Bug 666041 patch 3: Create boilerplate nsFlexContainerFrame class. r=bz 2012-06-26 15:12:13 -07:00
Daniel Holbert
a445dcdc59 Bug 666041 patch 2.5: Add nsCSSFrameConstructor code for detecting when a flex container needs to have its frames rebuilt. r=bz 2012-06-26 15:11:53 -07:00
Daniel Holbert
348d6c9a3d Bug 666041 patch 2: Add "-moz-flex" & "-moz-inline-flex" values for "display" property. r=bz 2012-06-26 15:11:38 -07:00
Ed Morley
ef4179d2d4 Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures 2012-06-26 16:13:33 +01:00
Chris Lord
1448e862c1 Bug 758620 - Force fixed-position frames to have their own layers. r=roc
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-26 14:43:11 +01:00
Chris Lord
0b81e47018 Bug 758620 - Layout fixed-position frames to the set scroll-port. r=roc
If a scroll position clamping scroll-port size has been set, layout fixed
position frames with respect to this instead of the calculated containing
block size.
2012-06-26 14:42:57 +01:00
Ed Morley
4eeae4769b Merge mozilla-central to mozilla-inbound 2012-06-26 12:12:52 +01:00
Jonathan Watt
678c10801d Bug 767823 - Make nsAutoFilterInstance take frame rects and stop using GetCoveredRegion. r=longsonr. 2012-06-26 11:49:23 +01:00
Ed Morley
fb876e555d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-26 09:52:55 +01:00
Nicholas Cameron
03e8305815 Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc 2012-06-26 14:43:31 +12:00
Nicholas Cameron
34289b5948 Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
dde00bf60b Bug 757347; changes to FrameLayerBuilder. r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
4a220c27be Bug 757347; changes to mask layer user data. r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
9a71fb3f8c Bug 757347; Add a cache for image containers. r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
549b63d97d Back out bug 757346
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Jonathan Watt
6380335603 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Nicholas Cameron
aae4ecb5d0 Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
f7821afd6f Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
6f0ff4bb34 Bug 757347; changes to FrameLayerBuilder. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
005c5ef480 Bug 757347; changes to mask layer user data. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
8c7a60de72 Bug 757347; Add a cache for image containers. r=roc 2012-06-26 09:44:41 +12:00
Jonathan Watt
bae43f45b9 Bug 767996 - Prevent DoApplyRenderingChangeToTree calling nsSVGUtils::InvalidateBounds() and passing in an nsSVGOuterSVGFrame. r=me. 2012-06-25 18:55:30 +01:00
Jonathan Watt
e97188122e Bug 767996 - Add null check to nsSVGUtils::InvalidateBounds. r=me. 2012-06-25 16:17:42 +01:00
L. David Baron
04e591eb8b Track TEXT_IN_TEXTRUN_USER_DATA separately for inflated and non-inflated text runs. (Bug 718290) r=roc 2012-06-24 16:25:39 -07:00
Jonathan Watt
7f03c68e75 Bug 767734, part 1 - Require all callers of nsSVGPathGeometryFrame::GeneratePath to pass in the CTM that should be used. r=longsonr. 2012-06-24 21:12:40 +01:00
Jonathan Watt
58c8195ece Bug 738192 follow-up. Re-enable layout/reftests/svg/dynamic-text-04.svg after fixing MarkDirtyBitsOnDescendants. r=me. 2012-06-24 18:02:23 +01:00
Jonathan Watt
fa29fde55f Bug 738192 follow-up. Disable layout/reftests/svg/dynamic-text-04.svg temporarily while I fix it. r=me. 2012-06-24 16:18:29 +01:00
Jonathan Watt
6f1b9a5c08 Bug 738192 follow-up. Make layout/reftests/svg/dynamic-text-04.svg use MozReftestInvalitade instead of setTimeout to avoid random orange. r=me. 2012-06-24 15:17:19 +01:00
Jonathan Watt
08b95bd3a4 Bug 738192 - Get rid of the old horrendous "invalidate everything" hack in nsSVGUtils::FindFilterInvalidation(). r=longsonr. 2012-06-24 13:59:26 +01:00
Aryeh Gregor
868bf136db Bug 766795 - Fix asserts when placing cursor in editable detached content; r=roc,ehsan 2012-06-24 09:54:43 +03:00
Jonathan Watt
4b09954b65 Bug 767647 followup. Fix unused variable bustage. r=me. 2012-06-23 17:49:37 +01:00
Jonathan Watt
809b4bbd33 Bug 767647 - Stop invalidating once for every SVG descendant of a changed SVG container, and stop invalidating the descendants' rendering observers. r=longsonr. 2012-06-23 17:36:46 +01:00
Jonathan Watt
ee8773b97c Bug 767697 - Stop invalidating rendering observers of ancestors of SVG frames that only render by reference. r=longsonr. 2012-06-23 15:19:00 +01:00
Jonathan Watt
a3f0864740 Bug 767701 - Add missing nsSVGEffects::InvalidateDirectRenderingObservers() call to the clipPath code. r=longsonr. 2012-06-23 15:18:49 +01:00
Charly Molter ext:(%20and%20Alexandre%20Dumont%20%3CAlexandre%20Dumont%20%3E)
f924084c27 Bug 716875 - Make nsTextControlFrame inherits from nsContainerFrame instead of nsStackFrame. r=roc,bz 2012-06-23 13:11:00 +02:00
Jonathan Watt
c78acee61a Bug 541270 - Correctly calculate the filter region for SVG filters on HTML to account for zooming. r=dholbert. 2012-06-23 04:01:36 +01:00
Phil Ringnalda
0c8a775404 Back out 12f76b9a2d78 (bug 541270) for failing to compile 2012-06-22 19:12:35 -07:00
Jonathan Watt
11640a0af3 Bug 541270 - Correctly calculate the filter region for SVG filters on HTML to account for zooming. r=dholbert. 2012-06-23 02:47:10 +01:00
Mats Palmgren
0cdf1d13a9 Bug 575294 - s/mFocused/sFocused/. part=5/5 r=smaug 2012-06-23 03:13:56 +02:00
Mats Palmgren
e77c8dbeb1 Bug 575294. part=4/5 r=roc 2012-06-23 03:13:56 +02:00
Mats Palmgren
668b20a445 Bug 575294. part=3/5 r=roc 2012-06-23 03:13:56 +02:00
Mats Palmgren
03bbad1b02 Bug 575294. part=2/5 r=smaug,roc 2012-06-23 03:13:56 +02:00
Mats Palmgren
b02aab305a Bug 726264. r=smaug 2012-06-23 03:13:56 +02:00
Boris Zbarsky
34edba5d0f Bug 766798. Throw SYNTAX_ERR, not NAMESPACE_ERR, from querySelector(All) on unknown namespaces. r=dbaron 2012-06-22 16:18:50 -04:00
Dão Gottwald
0dcc90924c Bug 767462 - Allow controlling outside-click event consumption with an attribute. r=enndeakin
--HG--
extra : rebase_source : 0afac7d049f96568390e283cb90f2f1a79ad7c5a
2012-06-22 22:07:26 +02:00
Robert O'Callahan
23719f664e Bug 763838. Update mDestination to match chosen subpixel destination. r=tnikkel 2012-06-22 11:24:06 -05:00
Bas Schouten
59e189f351 Bug 764117 - Part 1: Prefer performance over avoiding seaming in border drawing. r=roc 2012-06-22 16:27:38 +02:00
Bas Schouten
4abe051113 Bug 764117 - Part 0: Mark reftest fuzzy on OS X. r=roc 2012-06-22 16:27:38 +02:00
Robert O'Callahan
052a9b7ec1 Bug 766007. Create scrollframes for frameset documents. r=tnikkel 2012-06-22 22:51:05 +12:00
Jonathan Watt
4b544c20f8 Bug 766896 - Have InvalidateAllContinuations use GetNextContinuationOrSpecialSibling so that we invalidate the correct areas. r=roc. 2012-06-22 11:44:18 +01:00
Jonathan Watt
8eeeb26ed2 Bug 766227 - Follow-up to fix comment after discussion with roc. r=me. 2012-06-22 11:42:05 +01:00
Mounir Lamouri
744531ad99 Back out bug 766007, bug 703241 and bug 752796 due to perma-orange (419f0d1b848b to 8661c74deeb5). 2012-06-22 11:13:32 +02:00
Robert O'Callahan
9cedb951bc Bug 703241. Part 2: Stop the 'scroll top of line into view' behavior when ancestors in the line are transformed or positioned. Allow that behavior for any kind of line-participant ancestor. r=mats 2012-06-22 17:06:54 +12:00
Robert O'Callahan
d9153fe2d6 Bug 703241. PresShell::DoScrollContentIntoView and PresShell::ScrollFrameRectIntoView should take transforms into account. r=matspal 2012-06-22 17:06:49 +12:00
Robert O'Callahan
9c75a25b45 Bug 766007. Create scrollframes for frameset documents. r=tnikkel 2012-06-22 17:06:40 +12:00
Daniel Holbert
93cab320e1 Bug 766783: Remove unneeded member variable nsBulletFrame::mComputedSize. r=mats 2012-06-21 12:58:28 -07:00
Jignesh Kakadiya
b2ead13822 Bug 765590 - CSSNameSpaceRule.type should be 10, not 0. r=dbaron 2012-06-21 12:58:19 -07:00
L. David Baron
9ed0a5d8ba Treat animation-iteration-count:0 specially. (Bug 765218) r=bzbarsky 2012-06-21 11:44:34 -07:00
L. David Baron
e1952224d8 Implement new values of animation-direction. (Bug 655920) r=bzbarsky 2012-06-21 11:44:34 -07:00
L. David Baron
d911d17f22 Add reftest for bug 764354. 2012-06-21 11:44:34 -07:00
Kartikaya Gupta
7c2ab6a7f0 Bug 755971 - Add methods to nsLayoutUtils to calculate the padding boxes. r=bz 2012-06-21 09:35:17 -04:00
Randell Jesup
04cb98a9a8 Bug 757637: Rollup makesystem changes for webrtc r=khuey r=ted f=glandium 2012-06-20 07:27:43 -04:00
Mats Palmgren
730cb4085d Bug 764541. r=smontagu 2012-06-21 12:51:38 +02:00
Jonathan Watt
74f0825e8f Bug 766227 - More nsSVGIntegrationUtils cleanup and commenting to make it a lot easier to understand. r=longsonr.
--HG--
extra : rebase_source : fab6126eac4f1135562e1b2404bf5c52d0500344
2012-06-21 01:29:50 +01:00
Ed Morley
4992a5b7b4 Merge mozilla-central to mozilla-inbound 2012-06-21 08:38:39 +01:00
Ms2ger
988d7a1252 Bug 763451 - nsDisplayCanvas::GetOpaqueRegion fails to override nsDisplayItem::GetOpaqueRegion; r=roc 2012-06-21 09:21:55 +02:00
Mike Hommey
58718e5c70 Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Ryan VanderMeulen
7d0e71644b Backout b35294da2c4b (bug 764117) due to OSX reftest orange. 2012-06-20 22:56:36 -04:00
Ryan VanderMeulen
8f8c9230b8 Re-land bug 757362 since it wasn't at fault for OSX orange. 2012-06-20 22:54:56 -04:00
Ryan VanderMeulen
8c533723e9 Backout 5ba4c3a2338c (bug 757362) for OSX reftest orange. 2012-06-20 21:53:31 -04:00
Timothy Nikkel
756c5f818c Bug 757362. Use the displayport for the dirty rect (if one is set) when building the display list for a subdocument so that position: fixed items are correctly included. r=roc 2012-06-20 17:35:54 -05:00
Bas Schouten
217961fb06 Bug 764117: Prefer performance over avoiding seaming. r=roc 2012-06-20 23:41:13 +02:00
Jonathan Kew
18d7bebbda bug 763982 - update and optimize Arabic char processing in TransformText. r=smontagu 2012-06-20 20:58:19 +01:00
Jonathan Watt
23e07a7b4d Bug 614840 - Mark clipPath-and-shape-rendering-01.svg as fuzzy-if for a slight two pixel difference. r=longsonr.
--HG--
extra : rebase_source : 5aea68575f603437d742b8b7eef0f2e730ab9573
2012-06-20 15:33:04 +01:00
Scott Johnson
be16a4b22f Bug 763702, Part 2/2: Crashtest for bug 763702. [r=dbaron]
--HG--
extra : rebase_source : 46de60b9ddc1dd6c0f80be39d4f5491aa1525e90
2012-06-20 11:09:37 -05:00
Scott Johnson
a6eb618dbc Bug 763702, Part 1/2: Ensure font inflation bits are set during frame construction for root frame to prevent crash. [r=dbaron]
--HG--
extra : rebase_source : 50084348a42aa9e038196f39fea686ab21cf80a0
2012-06-20 11:09:35 -05:00
Jonathan Watt
8ac746fbdd Bug 766429 - Minimize the size of the offscreen surfaces created for SVG group opacity, masks and complex clipPaths. r=roc. 2012-06-20 10:02:43 +01:00
Mike Hommey
7a97c993d4 Backout changeset 6984dace6afb (bug 763987) because of OSX opt jsreftest bustage 2012-06-20 10:55:59 +02:00
Mike Hommey
3331a294da Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Ehsan Akhgari
f50c2ec7a7 Bug 762764 - Prevent selection from descending into text boxes when extending it for things like caret navigation and extension for deletion; r=roc 2012-06-19 19:31:03 -04:00
Jared Wein
496ac3d97b Backed out changeset feec545f5f98 (bug 713608) 2012-06-19 14:11:38 -07:00
Jared Wein
a900f8fc09 Backed out changeset 0fa8e0eb40a7 (bug 760696) 2012-06-19 14:11:23 -07:00
Ehsan Akhgari
ba82a5d757 Bug 765597 - Invalidate the thebes layer as well as the overflow area when moving frames; r=dbaron 2012-06-19 16:47:27 -04:00
Robert Longson
2b5b728153 Backout most of Bug 467498 - crashtest failure on windows 2012-06-19 17:49:47 +01:00
Jonathan Watt
70c1310055 Bug 766120 - Stop conflating effects offset and continuation union size in nsSVGIntegrationUtils. r=longsonr. 2012-06-19 16:28:04 +01:00
Robert Longson
83c12e0c1b Bug 467498 - Second level of use is not live to changes. r=dholbert
--HG--
rename : layout/reftests/svg/dynamic-use-nested-01.svg => layout/reftests/svg/dynamic-use-nested-01a.svg
rename : layout/reftests/svg/dynamic-use-nested-01.svg => layout/reftests/svg/dynamic-use-nested-01b.svg
2012-06-19 15:58:39 +01:00
Ehsan Akhgari
8a54f4db7a Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (layout parts); r=roc
--HG--
extra : rebase_source : 9f3da1b47dcb9d7cc950488b9b70aa682b6984de
2012-06-18 23:26:34 -04:00
Ehsan Akhgari
7a041e9a4b Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (content parts); r=bzbarsky
--HG--
extra : rebase_source : e25a064995914ca4f7b1db16b5725eb440d3e531
2012-06-18 22:30:09 -04:00
Tatiana Meshkova
5ab166de61 Bug 761981 & Bug 762568 - Intermittent test-pos-fixed-transform.html&test-bg-attachment-fixed.html | image comparison (==) r=roc 2012-06-13 16:41:50 -07:00
Jonathan Watt
eec7d5bc7f Bug 765505 - Clean up filter code. r=longsonr. 2012-06-16 21:23:48 +01:00
Robert Longson
03cb3b88c4 Bug 764851 - Fix animations of the width/height of an outer SVG element. r=jwatt 2012-06-16 16:47:40 +01:00
Masayuki Nakano
715138a69a Bug 765166 lines should be able to be broken before/after Ideographic space next to breakable white space r=roc 2012-06-16 23:48:57 +09:00
Kartikaya Gupta
51a77b21ba Bug 763570 - Part 2 - Add a scrollframe from frameset documents on Fennec, so that they work with async pan/zoom and touch events. r=bz 2012-06-15 17:49:53 -04:00
Kartikaya Gupta
5ace9309ab Bug 763570 - Part 1 - Back out 18b206c111cd from bug 747493 as we have a better solution that also fixes other broken frameset behaviours. r=tnikkel 2012-06-15 17:49:46 -04:00
Jonathan Watt
6fdc0b8c37 Bug 764860 - Simplify and comment the clipPath code. r=longsonr. 2012-06-15 10:06:34 +01:00
Jonathan Watt
60a4f442ba Bug 764824 - Make it easier to spot when were using a temporary context. r=longsonr. 2012-06-15 04:02:29 +01:00
Jonathan Watt
87661488ec Bug 764813 - Avoid using gfxContext::SetMatrix in SVG code where possible. r=Bas. 2012-06-15 04:02:27 +01:00
Aryeh Gregor
56e7ece4d0 Bug 762183 part 2 - Publicize nsSelectionIterator; r=ehsan 2012-06-12 17:15:23 +03:00
John Daggett
5927af9fa0 Bug 739804. Fix up reftests dependent on fallback behavior. r=smontagu 2012-06-14 15:39:08 +09:00
Nicholas Cameron
d839c86659 Bug 761890 (was 746883); fix unexpected passes due to Azure/Skia canvas. r=gw280,jmuizelaar 2012-04-16 07:49:56 +12:00
Nicholas Cameron
28174a115b Bug 761890 (was 746883); change tests to work with Azure/Skia (mostly fuzz). r=gw280,jmuizelaar 2012-04-16 07:49:56 +12:00
Nicholas Cameron
281be0879e Bug 761890; build Skia on Windows. r=gw280 2012-06-14 16:27:53 +12:00
Jonathan Watt
62f423d85b Bug 762679 - Stop rounding coordinates prematurely while doing SVG hit testing. r=longsonr 2012-06-13 21:12:38 -04:00
Masatoshi Kimura
0dd0e95231 Bug 743888 - Part 1: Remove SVGException and XPathException. r=jonas 2012-06-13 21:12:37 -04:00
fantasai
35c93130b9 Bug 691950 - Set up directories for W3C CSSWG test suite sync to/from mozilla-central. r=dbaron 2012-06-13 21:12:37 -04:00
Ryan VanderMeulen
c485f40f19 Merge m-c to inbound. 2012-06-13 21:12:31 -04:00
Matt Brubeck
cee86ebe22 Merge last green changeset from inbound to mozilla-central 2012-06-13 13:23:54 -07:00
L. David Baron
d4e4ff4aca Don't mark intrinsic widths dirty for font inflation width changes at box/block boundaries. (Bug 764354) r=bzbarsky 2012-06-13 12:49:41 -07:00
Scott Johnson
f79662623a Bug 733614: Whitespace change after backout of bug 695222. [r=none, whitespace-only, DONTBUILD] 2012-06-13 12:14:31 -05:00
Scott Johnson
2332c9b000 Bug 733614: Backout changes from bug 695222 for mozilla 16 branch [r=dbaron]. 2012-06-13 11:00:56 -05:00
Siddharth Agarwal [
7674716a66 Bug 764376 - Fix references to |class nsArenaMemoryStats|; r=ehsan 2012-06-13 10:43:38 -04:00
Robert Longson
90bb704527 Bug 762411 - getScreenCTM scaling broken on inline outer svg elements. r=jwatt 2012-06-13 14:32:23 +01:00
Ryan VanderMeulen
287fbc1e16 Merge m-c to inbound. 2012-06-12 21:36:40 -04:00
Matt Brubeck
a66da30249 Merge last green changeset from inbound to mozilla-central 2012-06-12 18:24:45 -07:00
Andrii Zui
8bb424f5d8 Bug 749044 - Dynamic reftests for selection attribute and maction rendering. r=karlt 2012-06-12 20:06:34 -04:00
Andrii Zui
b40c81467d Bug 749044 - Selection attribute on maction is now considered by default. Checking for a rendering error in maction has been added. r=karlt 2012-06-12 20:05:58 -04:00
L. David Baron
1d3cb4a877 Make scroll frames (i.e., overflow != visible) no longer be font size inflation flow roots. This fixes phoronix.com/reddit.com/others at the expense of youtube.com. This reverts b64bfa138619890a01826bde8974cc974b45a6f5 (bug 760098) which in turn reverted 9620f50be9fa8be44931decf1e57ce25f51da812 (Bug 747720, patch 7) which in turn reverted part of 9499f6b28addcbcd9c480eb80cfe6c4c63a4a3a1 (Bug 706193, patch 2). (Bug 747720) r=backout 2012-06-12 12:43:09 -07:00
Daniel Holbert
12f6753057 Bug 763689: Add "auto" keyword for min-height and min-width, which for now just computes to 0. r=bz 2012-06-12 10:48:20 -07:00
Ed Morley
11c73f1659 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-12 10:36:42 +01:00
L. David Baron
0e73af2214 Don't assume ordering of callers of nsPresContext::ScreenWidthInchesForFontInflation; instead, track changes only for the caller that cares about changes. (Bug 759755, patch 5) r=bzbarsky 2012-06-11 22:43:31 -07:00
L. David Baron
5c2604b010 Properly dirty intrinsic widths when doing things that change inflation. (Bug 759755, patch 3) r=roc 2012-06-11 13:57:35 -07:00
L. David Baron
5cfd6386f6 Do the necessary reflow when our font inflation data changes. (Bug 759755, patch 2) r=roc/bzbarsky 2012-06-11 13:57:35 -07:00
L. David Baron
d5f5088f98 Back out patches 2 and 3 of bug 759755 for causing intermittent failures of layout/reftests/font-inflation/container-with-clamping.html . 2012-06-10 17:36:18 -07:00
Ryan VanderMeulen
891e38e528 Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Ryan VanderMeulen
9c1d160da3 Merge the last PGO-green inbound changeset to m-c 2012-06-10 18:21:22 -04:00
Olli Pettay
331cfaf7ec Bug 763014 - crash in PresShell::HandleEventInternal, r=mats 2012-06-11 00:45:09 +03:00
L. David Baron
c38c9fa722 Make svg:foreignObject be considered a constrained height (now that I'm thinking about them). (Bug 759755, patch 4) r=roc 2012-06-10 13:02:23 -07:00
L. David Baron
7cb71d7b6a Properly dirty intrinsic widths when doing things that change inflation. (Bug 759755, patch 3) r=roc 2012-06-10 13:02:23 -07:00
L. David Baron
6b24f26a83 Do the necessary reflow when our font inflation data changes. (Bug 759755, patch 2) r=roc 2012-06-10 13:02:23 -07:00
L. David Baron
e19725c628 Fix source of slight test variation. (Bug 759755, patch 1) 2012-06-10 13:02:23 -07:00
Olli Pettay
ac6b89bfdb Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Jignesh Kakadiya
46a0dd6a93 Bug 751785 - Make Selection.toString() API use DOMString instead of wstring 2012-06-09 15:15:12 -07:00
Boris Zbarsky
39f6f39d17 Bug 763424. Dynamic changes to generated content don't work correctly on frames which pass a child content insertion frame to ProcessChildren (e.g. <td>). r=dbaron 2012-06-11 18:21:35 -04:00
Matt Brubeck
e8e3af840b Re-land backout of bug 754202 and fix other accidental changes from merge 75b67011b798 on a CLOSED TREE 2012-06-11 11:12:18 -07:00
Nicholas Cameron
7b5d7e7a2e Bug 759036. Reftest for bugfix. r=Bas 2012-06-14 10:40:39 +12:00
Ryan VanderMeulen
dc75b9cbd4 Backout Bug 749044 due to Android reftest failures 2012-06-09 16:03:31 -04:00
Nathan Froyd
df08b6c5cc Bug 674922 - report on most common objects allocated in a PresShell's arena; r=roc,njn 2012-06-06 13:35:40 -04:00
Nathan Froyd
07dd9516f2 Bug 674922 - report per-frame-type numbers in about:memory; r=njn,roc 2012-06-06 13:29:16 -04:00
Nathan Froyd
8aa1a6dc0a Bug 674922 - account for all of nsPresArena::State's members; r=njn 2012-06-05 12:33:54 -04:00
Nathan Froyd
241a5a94c5 Bug 674922 - make frame id lists reusable by other parts of the browser; r=roc 2012-06-05 11:10:28 -04:00
Ed Morley
a73fc227f9 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
ddc048ce6a Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-06-11 16:45:39 +12:00
Oleg Romashin
4d14e84fec Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-06-11 16:45:39 +12:00
Matt Woodrow
b10091e4bd Bug 539356 - Part 19 - Only repaint retained layers after the previous repainted has been drawn to the window. r=roc 2012-06-11 16:45:39 +12:00
Matt Woodrow
691e68d572 Bug 539356 - Part 18 - Mark frames with only invalid children as an optimization to use when invalidating further frames. r=roc 2012-06-11 16:45:39 +12:00
Matt Woodrow
a68849c4c6 Bug 539356 - Part 15 - Add table invalidation test. r=bz 2012-06-11 16:45:39 +12:00
Matt Woodrow
e1a184f70a Bug 539356 - Part 14 - Handle multiple widget layer managers retaining data for the same frame. r=roc 2012-06-11 16:45:39 +12:00
Matt Woodrow
2e295df184 Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc 2012-06-11 16:45:38 +12:00
Matt Woodrow
e1af0db87a Bug 741682 - Disable component alpha layers with BasicLayers. r=roc 2012-06-11 16:45:38 +12:00
Matt Woodrow
13e6b795f1 Bug 739671 - Store optimized Color/ImageLayers on the ThebesLayers that they replace. r=roc 2012-06-11 16:45:38 +12:00
Matt Woodrow
e0d2c896b0 Bug 539356 - Part 11 - Reimplement empty transactions. r=roc 2012-06-11 16:45:38 +12:00
Matt Woodrow
d8b05307aa Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-11 16:45:38 +12:00
Matt Woodrow
147cab5783 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Matt Woodrow
1b5d7c74d7 Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc 2012-06-11 16:44:09 +12:00
Matt Woodrow
7b18141336 Bug 539356 - Part 7 - Store FrameLayerBuilder objects on the LayerManager instead of nsDisplayListBuilder. r=roc 2012-06-11 16:44:08 +12:00
Matt Woodrow
e15259b14a Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc 2012-06-11 16:44:08 +12:00
Jonathan Watt
c38c665830 Bug 539356 - Part 4 - Reinstate the foreignObject registering code so that bug 605265 doesn't slow down SVG in general. r=mattwoodrow 2012-06-11 16:44:08 +12:00
Matt Woodrow
bf4a985e44 Bug 539356 - Part 3 - Make GetParentPresContext() succeed when the current PresContext has no frames. r=bz 2012-06-11 16:44:08 +12:00
Andrii Zui
1ab362483f Bug 749044 - Dynamic reftests for selection attribute and maction rendering. r=karlt 2012-06-09 14:22:41 -04:00
Andrii Zui
5d54929357 Bug 749044 - Selection attribute on maction is now considered by default. Checking for a rendering error in maction has been added. r=karlt 2012-06-09 14:22:41 -04:00
Nicholas Cameron
1fcb720df7 Bug 758561 - Test for mask layer for empty iframe. r=roc 2012-06-09 14:22:41 -04:00
Nicholas Cameron
a073280631 Bug 755078 - Backout previously-landed patch for bug 755078. r=roc 2012-06-09 14:22:40 -04:00
Frédéric Wang
579b49d2bf Bug 760707 - Allow layout/mathml/updateOperatorDictionary.pl to download and convert the W3C dictionary. r=karlt 2012-06-09 12:24:57 -04:00
Frédéric Wang
609fee85a0 Bug 755525 - Remove some tests from layout/mathml/tests/. r=karlt 2012-06-09 12:24:57 -04:00
Frédéric Wang
5c26875136 Bug 755525 - Remove some tests from layout/mathml/tests/various.xml + merge it with maxwell.xml. r=karlt 2012-06-09 12:24:57 -04:00
Frédéric Wang
63dc6fae04 Bug 755525 - Update layout/mathml/tests/various.xml to use the new maction syntax. r=karlt 2012-06-09 12:24:57 -04:00
Frédéric Wang
978c6118aa Bug 742273 - Remove obsolete MathML tables for stretchy characters. r=karlt 2012-06-09 12:24:57 -04:00
John Daggett
8e4a7a54d5 No bug. Add reftest fonts for feature testing. r=me 2012-06-11 10:04:39 +09:00
David Zbarsky
6025f51339 Bug 758533: Check that nsImageRenderer has an image when getting the container r=gal 2012-06-10 17:31:42 -07:00
Ryan VanderMeulen
bf2b50270d Merge m-c to inbound 2012-06-10 17:59:00 -04:00
Robert Longson
3fd65ea12a Bug 763133 - border-radius not clipping SVG contents. r=bzbarsky 2012-06-12 11:25:26 +01:00
Joel Maher
f27ae228e6 Bug 760264 - when running reftests on android native, we have a failure in layout/reftests/text-overflow/scroll-rounding.html. r=ajuma 2012-06-13 14:20:45 -04:00
Joel Maher
8d12e67e5b Bug 754873 - fennec automated tests should capture logcat output while test is running. r=wlach 2012-06-13 14:20:43 -04:00
Timothy Nikkel
291ec827e5 Bug 414170. Add crashtest. 2012-06-13 11:41:42 -05:00
Aryeh Gregor
6865bb0c16 Bug 762862 - Rename nsTypedSelection to mozilla::Selection; r=ehsan
--HG--
rename : layout/generic/nsTypedSelection.h => layout/generic/Selection.h
2012-06-08 17:20:55 +03:00
Timothy Nikkel
7437c32e01 Bug 747493. Give frameset documents a basic scroll layer so we can communicate the document's metrics to the compositor and frontend. r=roc,mats 2012-06-09 19:26:57 -05:00
Kartikaya Gupta
084bf42619 Bug 705106 - Use the correct scroll port size when trying to scroll to an area. r=roc 2012-06-09 12:14:39 -04:00
Ehsan Akhgari
a4d2eed111 Bug 762345 - Skip all the QIing stuff in the TreeMatchContext constructor if possible; r=bzbarsky 2012-06-07 15:19:56 -04:00
Robert O'Callahan
74d05f0dd8 Bug 731293. Add nsLayoutUtils::GetParentOrPlaceholderForCrossDoc. r=mats 2012-06-09 00:22:51 +12:00
Robert O'Callahan
453c373374 Bug 731293. Remove nsFrameManager parameter from nsLayoutUtils::GetParentOrPlaceholderFor. r=mats 2012-06-09 00:22:25 +12:00
Mounir Lamouri
8ab72ab455 Bug 762092 - Remove MPL 1.1 boilerplate from meter-related files. rs=Ms2ger 2012-06-07 20:47:44 +02:00
Ehsan Akhgari
245cb2b12f Bug 762546 - Make sure to register the callback after the document has loaded; r=dbaron 2012-06-07 13:18:07 -04:00
Aryeh Gregor
b36b8ee24e Bug 757771 part 4 - Create new nsContentUtils::GetSelectionInTextControl method; r=ehsan 2012-06-07 18:00:58 +03:00
Aryeh Gregor
43b3bdf8ac Bug 757771 part 3 - Include nsRange.h from nsTypedSelection.h 2012-06-07 18:00:58 +03:00
Aryeh Gregor
a99a079932 Bug 757771 part 1 - Make NS_NewContentIterator and friends infallible; r=bz 2012-06-04 20:42:00 +03:00
Robert O'Callahan
c94736b8a6 Bug 753329. Share ThebesLayerInvalidRegion for a given ContainerLayer across all the frames that are sharing that layer as their ContainerLayer. r=mattwoodrow
* * *
Bug 753329. Followup: put ThebesLayerInvalidRegionProperty in display-list-builder coordinates so it can be shared by frames with different coordinate systems. r=mattwoodrow
2012-06-07 22:07:32 +12:00
Robert O'Callahan
fc2e9d6bd1 Bug 761572. Allow click and dblclick events to be sent to an element even if it's made display:none during the mouseup event. r=smaug 2012-06-07 22:06:39 +12:00
L. David Baron
311a0652e5 Make scroll frames (i.e., overflow != visible) be font size inflation flow roots again, to fix www.youtube.com. Except for the test changes, this reverts 9620f50be9fa8be44931decf1e57ce25f51da812 (Bug 747720, patch 7) which in turn reverted part of 9499f6b28addcbcd9c480eb80cfe6c4c63a4a3a1 (Bug 706193, patch 2). (Bug 760098) r=roc 2012-06-06 22:11:42 -07:00
Phil Ringnalda
88011f8d12 Back out 30e441f7ad9d (bug 759755) and 08286f4e696b (bug 760098) for orange 2012-06-06 22:51:58 -07:00
L. David Baron
f0aa0d13a0 Do the necessary reflow when our font inflation data changes. (Bug 759755) r=roc 2012-06-06 22:11:42 -07:00
L. David Baron
2918c27b5e Make scroll frames (i.e., overflow != visible) be font size inflation flow roots again, to fix www.youtube.com. Except for the test changes, this reverts 9620f50be9fa8be44931decf1e57ce25f51da812 (Bug 747720, patch 7) which in turn reverted part of 9499f6b28addcbcd9c480eb80cfe6c4c63a4a3a1 (Bug 706193, patch 2). (Bug 760098) r=roc 2012-06-06 22:11:42 -07:00
Mounir Lamouri
8c421a5c03 Bug 760848 - Make select.size reflection follow the specifications. r=smaug 2012-06-07 01:27:53 +02:00
Boris Zbarsky
ab8e684ada Bug 761086. Throw if someone passes an invalid argument to inDOMUtils::GetCSSStyleRules. r=smaug 2012-06-06 15:59:57 -04:00
Ehsan Akhgari
48c0134086 Bug 762180 - Disable tests added by bug 157681 on native Android for now, until our infrastructure can handle running them; r=jmaher 2012-06-06 15:15:52 -04:00
Ehsan Akhgari
599e843894 Bug 761980 - Make sure to register the callback after the document has loaded; r=dbaron 2012-06-06 09:28:00 -04:00
Ehsan Akhgari
c6218431ee Merge mozilla-central into mozilla-inbound 2012-06-06 12:46:50 -04:00
Mounir Lamouri
7918a94d90 Bug 686886 - Port bug 680747 and bug 680518 to nsMeterFrame. r=roc 2012-06-05 22:15:46 +02:00
Arnaud Bienner
327842ee1f Bug 565274 - Implement the accept attribute for the form and file upload controls for custom MIME types; r=sicking,mounir 2012-06-06 14:16:58 +02:00
Ed Morley
7e31e8cfac Merge mozilla-central to mozilla-inbound 2012-06-06 10:24:28 +01:00
Ed Morley
22d9b9afc4 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-06 09:20:35 +01:00
Ms2ger
1a2d55bdac Bug 760047 - Don't handle a null aDocument in nsGlobalWindow::SetNewDocument; r=mounir 2012-06-06 09:36:58 +02:00
Ms2ger
19f060907a Bug 629882 - Support currentColor in the 2D canvas context; r=dbaron
This changes nsCSSParser::ParseColorString to fill in an nsCSSValue instead
of an nscolor, and exposes nsRuleNode::ComputeColor to turn this nsCSSValue
into an nscolor.

Because gradients can be used with different canvas elements in different
documents, these cannot pass useful values for nsRuleNode::ComputeColor's
aPresContext and aStyleContext arguments. This patch also changes SetColor
to deal with those parameters being null.
2012-06-06 09:36:38 +02:00
Ehsan Akhgari
5682d40581 Bug 157681 - Part 2: Optimize positioned frame offset changes by moving the frame as opposed to reflowing it in case we know that the size of the frame will not change; r=dbaron
This patch adds a change hint to signal that one of the offsets on a
frame has been changed.  When processing the hint, we do one of the
following things based on the position property of the frame.

* For static frames, we ignore the offset changes completely, as they
  will not change the layout.
* For relative positioned frames, this patch refactors the
  nsHTMLReflowState::ComputeRelativeOffsets function so that it can be
  used from other callers, and it uses that to compute the new relative
  offsets, and uses the offsets computed previously to compute the new
  position of the frame.
* For absolute positioned frames, we set up a fake parent reflow state
  object, and then we create a new reflow state object for the frame in
  question.  This setup is similar to what nsFrame::BoxReflow does.
  Once we have the new reflow state object, we use it to compute the
  absolute offsets, and then we use the computed offsets to set the new
  position of the frame.  The offset computation is similar to what
  nsAbsoluteContainingBlock::ReflowAbsoluteFrame does.  In some cases
  where it is possible for the dimensions of the frame to change based
  on the offset changes, we fall back to a full reflow.
2012-06-06 00:53:48 -04:00
Ehsan Akhgari
14d4122730 Bug 157681 - Part 1: Add a test suite to make sure that dynamic changes to the position CSS properties work correctly; r=dbaron
These series of tests attempt to ensure conformance to the CSS 2.1
sections 10.3.7 and 10.6.4.
2012-06-06 00:53:33 -04:00
Scott Johnson
c1eb117478 Bug 749186, Followup 2: Crashtest for bug 749186 [r=dbaron].
--HG--
extra : rebase_source : 8fd8b01b46c9150f8ba14f87b8b34aa6fa9da11c
2012-06-05 22:47:38 -05:00
Scott Johnson
6c704020bd Bug 749186, Followup Patch 1: Cache font inflation settings in pres shell to prevent crash. [r=dbaron]
--HG--
extra : rebase_source : dc8b8f66bcd49c54ecefdf94793100b7901e6f3b
2012-06-05 22:47:33 -05:00
Geoff Lankow
bdc2b4bb58 Merge m-c to m-i 2012-06-06 15:13:51 +12:00
L. David Baron
27336e662d Fix two pieces of cached information that were preventing font size inflation from applying correctly during intrinsic width calculation when intrinsic width calculation had already been done without font size inflation. (Bug 748434) r=roc
The first of these pieces of information is the intrinsic widths cached
on a block.

The second of them is the font inflation cached on a text frame (which
might be set to 1.0 at this point if a text frame has previously had
intrinsic width calculation done on it, but hasn't been reflowed).
2012-06-05 19:13:41 -07:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Phil Ringnalda
3f534fee74 Merge mozilla-central to mozilla-inbound 2012-06-04 19:09:19 -07:00
L. David Baron
c0710aeffc Restore application of font size inflation to radios and checkboxes. (Bug 757937) r=roc 2012-06-04 16:26:30 -07:00
Simon Montagu
1f9e221241 Bug 760954 - Fix the performance regression in the View Source windows; r=ehsan 2012-06-03 05:00:01 -07:00
L. David Baron
3a7a762826 Back out changeset 81f6b1cfbba5627425837ff993ca7012db22b23b (bug 748434) due to reftest failures. 2012-06-05 16:55:48 -07:00
L. David Baron
42b30ed346 Fix two pieces of cached information that were preventing font size inflation from applying correctly during intrinsic width calculation when intrinsic width calculation had already been done without font size inflation. (Bug 748434) r=roc
The first of these pieces of information is the intrinsic widths cached
on a block.

The second of them is the font inflation cached on a text frame (which
might be set to 1.0 at this point if a text frame has previously had
intrinsic width calculation done on it, but hasn't been reflowed).
2012-06-05 15:52:28 -07:00
L. David Baron
88c9e5abd4 Remove unused member variable from nsGfxButtonControlFrame. No bug. 2012-06-05 15:52:28 -07:00
Phil Ringnalda
5ddd25896a Merge mozilla-central to mozilla-inbound 2012-06-03 12:10:59 -07:00
Phil Ringnalda
d576312c34 Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-06-03 12:04:40 -07:00
Cedric Vivier
3f0c09d4b0 Bug 727834 - Add an API to (re)parse a style sheet in place. r=bz
---
 layout/inspector/public/inIDOMUtils.idl          |   12 ++-
 layout/inspector/src/inDOMUtils.cpp              |   11 +++
 layout/inspector/tests/chrome/Makefile.in        |    2 +
 layout/inspector/tests/chrome/test_bug727834.css |    7 ++
 layout/inspector/tests/chrome/test_bug727834.xul |   88 +++++++++++++++++++
 layout/style/nsCSSStyleSheet.cpp                 |   99 +++++++++++++++++++---
 layout/style/nsCSSStyleSheet.h                   |    2 +
 7 files changed, 207 insertions(+), 14 deletions(-)
 create mode 100644 layout/inspector/tests/chrome/test_bug727834.css
 create mode 100644 layout/inspector/tests/chrome/test_bug727834.xul
2012-06-03 12:54:38 -04:00
Jan Varga
6e3e5ab48b Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Mats Palmgren
37020cf426 Back out bug 575294, bug 726264. (cset 1727de7d26ec, 6bcea3a628d8, 011c1c8e9cc7, 0be261a5042b, d51338c5cd0c) 2012-06-03 18:05:00 +02:00
Mats Palmgren
1b70f71e59 Bug 575294 - s/mFocused/sFocused/. part=4/4 r=smaug 2012-06-02 01:41:54 +02:00
Mats Palmgren
2e6a4d1853 Bug 575294. part=3/4 r=roc 2012-06-02 01:41:54 +02:00
Mats Palmgren
b5a9cb7c4a Bug 575294. part=2/4 r=smaug,roc 2012-06-02 01:41:54 +02:00
Mats Palmgren
9e1fb04d65 Bug 726264. r=smaug 2012-06-02 01:41:54 +02:00
Frank Yan
db047ca5bd Bug 760696 - Use :fullscreen to detect HTML5 video/audio state for controls visibility. r=jaws,dbaron 2012-06-01 15:10:37 -07:00
Mats Palmgren
37fd0ed7aa Bug 759249. r=bz 2012-06-01 21:56:33 +02:00
Mats Palmgren
28ae1b8cb6 Bug 759249. r=bz 2012-06-01 21:56:33 +02:00
Boris Zbarsky
4057bff59a Disable the test on Windows, since it just can't pass there. Followup for bug 731447. 2012-06-01 15:24:44 -04:00
Mats Palmgren
f6ef5d662d Bug 760072 - Move RemoveFinishDependency() after the ok() so that the last test result comes before SimpleTest.finish(). r=dbaron 2012-06-01 20:52:37 +02:00
Boris Zbarsky
10521aa8fb Attempt to fix reftest failure on android XUL, where buttons seem to use a non-block color for some reason. Followup for bug 731447 2012-06-01 13:32:09 -04:00
Ben Turner
b072e01d8f Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Boris Zbarsky
0d03951986 Bug 759997. Break out the three branches of SurfaceFromElement into separate functions so that we can call the one that matches the kind of element we have directly. r=roc 2012-05-31 14:16:49 -04:00
Ed Morley
092d819417 Merge mozilla-central to mozilla-inbound 2012-06-01 16:58:27 +01:00
Ed Morley
f5fef940b6 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-01 15:27:36 +01:00
Mounir Lamouri
62cddd341e Bug 759770 - Fix build error when warnings-as-errors in nsSVGUtils.cpp. r=dholbert 2012-06-01 11:48:39 +02:00
Boris Zbarsky
a02b7fa275 Bug 748692. Don't reparse inline stylesheets on random attribute changes. r=sicking 2012-06-01 00:30:42 -04:00
Boris Zbarsky
f13a1c00de Bug 731447. Make buttons display:inline-block by default so that underlines don't reach into them. r=dbaron 2012-06-01 11:45:37 -04:00
Andreas Gal
1518859a5b Bug 714408 Part 2 - Media plugin support for libstagefright - r=doublec
--HG--
extra : rebase_source : 308d1aab3cfffbb7ddeb0602a3991565603e6212
2012-06-01 12:54:23 +12:00
Chris Double
1695b48a48 Bug 714408 Part 1 - Add configure/link features to enable media plugins and omx-plugin for libstagefright support - r=mh
--HG--
extra : rebase_source : 51e850e4dec9a53569c0c6991145c5e070781f95
2012-06-01 12:52:09 +12:00
Jeff Muizelaar
90cf6fdec4 Bug 759457. Don't fast path shadows with negative scale. r=roc
We don't support this yet, so don't bother trying.
2012-05-31 18:22:28 -04:00
Joel Maher
d63c5a0460 Bug 748088 - Native android reftest are not testing OMTC+OGL. r=ajuma 2012-06-01 08:42:38 -04:00
Jonathan Kew
b9bcf7710f bug 758236 - reftests for basic Indic shaping features in harfbuzz. r=jdaggett 2012-06-01 08:19:28 +01:00
Boris Zbarsky
1e390de796 Backed out changeset 6a46906eb017 (bug 759997) because the bug it depends on got backed out. 2012-05-31 17:05:03 -04:00
Boris Zbarsky
2cf407dadc Bug 759997. Break out the three branches of SurfaceFromElement into separate functions so that we can call the one that matches the kind of element we have directly. r=roc 2012-05-31 14:16:49 -04:00
Shriram Kunchanapalli
8e90a26e8d Bug 219767: Move font size functions in nsStyleUtil into nsRuleNode. r=dbaron 2012-05-31 10:09:46 +05:30
L. David Baron
ef7ec688e3 Unprefix the border-image-* properties and add a temporary alias for -moz-border-image (but not for its subproperties, which we haven't shipped prefixed). (Bug 713643, patch 5) r=bzbarsky 2012-05-30 22:19:49 -07:00
L. David Baron
06fa5d4558 Rename nsStyleBorder::GetActualBorderWidth to GetComputedBorderWidth. (Bug 713643, patch 4) r=bzbarsky 2012-05-30 22:19:49 -07:00
L. David Baron
09d883079b Remove nsStyleBorder::GetActualBorder, since it now does the same thing as nsStyleBorder::GetComputedBorder. (Bug 713643, patch 3) r=bzbarsky 2012-05-30 22:19:49 -07:00
L. David Baron
35df3733f2 Make the serialization of the 'border' shorthand fail when we have a 'border-image' subproperty or a '-moz-border-*-colors' property with a non-default value. (Bug 713643, patch 2) r=bzbarsky 2012-05-30 22:19:49 -07:00
L. David Baron
33ccc9bd8a Serialize border-image shorthand to shortest form, with the exception that we'll always serialize 'border-image-source'. (Bug 713643, patch 1) r=bzbarsky 2012-05-30 22:19:49 -07:00
Cameron McCormack
5dfd7a42c3 Bug 759640 - Fix typo in feBlend reftest. r=longsonr 2012-05-31 10:32:39 +10:00
Cameron McCormack
01598062ac Bug 759681 - Fix some typos in <clipPath> reftests. r=longsonr 2012-05-31 10:32:33 +10:00
Diogo Golovanevsky Monteiro
2c5bc979b5 Bug 713608 - HTML5 Video controls are missing in Fullscreen. f=fryn r=jaws,dbaron 2012-05-30 17:04:43 -07:00
Anant Narayanan
beefeb5f37 Bug 752353: DOM bindings for getUserMedia; r=jst
--HG--
rename : content/media/nsIDOMMediaStream.idl => dom/media/nsIDOMMediaStream.idl
2012-06-03 00:35:15 -07:00
Mounir Lamouri
db5564d5d2 Bug 663365 - Implement the rules for the fallback to the default rendering for the meter element. r=roc
--HG--
rename : widget/reftests/progressbar-fallback-default-style-ref.html => widget/reftests/meter-fallback-default-style-ref.html
rename : widget/reftests/progressbar-fallback-default-style.html => widget/reftests/meter-fallback-default-style.html
2012-05-16 18:31:01 +02:00
Laurent Dulary
3617fe008d Bug 662251 (2/2) - Tests. r=mounir 2012-06-05 22:17:08 +02:00
Laurent Dulary
0bbaa121db Bug 662251 - Default style and colors for the meter element. f=mounir r=bz,davidb 2012-05-16 12:26:42 +02:00
Yoan TEBOUL
72e9bc2b32 Bug 659999 - Add a meterbar and meterchunk appearances. f=mounir r=roc 2012-05-16 12:24:55 +02:00
Laurent Dulary
402e40ba9d Bug 660238 (2/3) - Add pseudo-class to access optimal, sub-optimal and sub-sub-optimal meter elements. f=mounir r=smaug 2012-05-16 13:23:31 +02:00
Shriram Kunchanapalli
52a4aa2063 Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Ed Morley
da18754c01 Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
Kartikaya Gupta
d9f987bb7f Bug 759421 - Handle image load errors in the reftest analyzer more gracefully. r=heycam 2012-05-30 09:59:42 -04:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Ed Morley
7b41eeb233 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-30 12:20:57 +01:00
Neil Rashbrook
17e6cbec1e Bug 757330 Don't activate an empty menubar r=Enn 2012-05-30 08:33:20 +01:00
Simon Montagu
400c97a750 Prevent line numbers in view-source from participating in bidi reordering. Bug 751841, r=ehsan 2012-05-30 09:51:00 +03:00
Bas Schouten
a234c6836a Bug 758432: Fix SetScaleToSize call for plugins. r=roc 2012-05-30 07:14:30 +02:00
Boris Zbarsky
6e136586b6 Bug 464758. Don't try to check for :before/:after pseudos for frames that can't have them. r=dbaron 2012-05-29 23:45:17 -04:00
Phil Ringnalda
7b9a678b28 Back out deac5d31bc12, 8622c5680fb3, 205d2e0d297c (bug 575294), 5ba42170426e (bug 726264), a5444e23c668 (bug 575294) for bug 759243 2012-05-28 22:48:52 -07:00
Phil Ringnalda
a99daa8529 Back out 6d605438199c (bug 758589) for bug 759243 2012-05-28 22:44:57 -07:00
Boris Zbarsky
89e50f89ed Bug 758885. Don't apply the dynamic :hover reresolution skipping optimization to selectors which can match on mutable state other than :hover. r=dbaron 2012-05-29 00:17:45 -04:00
Mats Palmgren
200d6fe317 Bug 758589 - Make Selection.toString() return early (with empty result string) if the shell is destroyed. r=smaug 2012-05-30 15:03:19 +02:00
Phil Ringnalda
df7a7d5e53 Bug 668849 - give up on testing spellcheck with text-overflow on WinXP 2012-05-28 19:37:14 -07:00
Trevor Saunders
3b1f9183dc bug 759033 - nsAccessible -> Accessible and nsAccessibleWrap -> AccessibleWrap r=surkov
--HG--
rename : accessible/src/atk/nsAccessibleWrap.cpp => accessible/src/atk/AccessibleWrap.cpp
rename : accessible/src/atk/nsAccessibleWrap.h => accessible/src/atk/AccessibleWrap.h
rename : accessible/src/base/nsAccessible.cpp => accessible/src/generic/Accessible.cpp
rename : accessible/src/base/nsAccessible.h => accessible/src/generic/Accessible.h
rename : accessible/src/mac/nsAccessibleWrap.h => accessible/src/mac/AccessibleWrap.h
rename : accessible/src/mac/nsAccessibleWrap.mm => accessible/src/mac/AccessibleWrap.mm
rename : accessible/src/msaa/nsAccessibleWrap.cpp => accessible/src/msaa/AccessibleWrap.cpp
rename : accessible/src/msaa/nsAccessibleWrap.h => accessible/src/msaa/AccessibleWrap.h
rename : accessible/src/other/nsAccessibleWrap.cpp => accessible/src/other/AccessibleWrap.cpp
rename : accessible/src/other/nsAccessibleWrap.h => accessible/src/other/AccessibleWrap.h
2012-05-28 21:18:45 -04:00
Nicholas Cameron
87a457843f Bug 758561 - Don't build a mask for an empty layer. r=roc 2012-05-28 21:10:08 -04:00
Frédéric Wang
a281bdf650 Bug 757125 - Make more MathML operators mirrorable. r=karlt 2012-05-28 21:09:43 -04:00
Frédéric Wang
55ee39d0ef Bug 757125 - Make updateOperatorDictionary.pl read mirrorable property. r=karlt 2012-05-28 21:09:25 -04:00
Mats Palmgren
1b8ec5b694 Bug 758589 - Make Selection.toString() return early (with empty result string) if the shell is destroyed. r=smaug 2012-05-29 02:50:42 +02:00
Mats Palmgren
72c9b49158 Bug 575294 - s/mFocused/sFocused/. part=4/4 r=smaug 2012-05-29 02:50:42 +02:00
Mats Palmgren
ab42326d3a Bug 575294. part=3/4 r=roc 2012-05-29 02:50:42 +02:00
Mats Palmgren
137ded563d Bug 575294. part=2/4 r=smaug,roc 2012-05-29 02:50:42 +02:00
Mats Palmgren
cdedb17e80 Bug 726264. r=smaug 2012-05-29 02:50:42 +02:00
Nathan Froyd
3d989e8956 Bug 760812 - correct bitflags for allocating objects by size in nsPresArena; r=roc 2012-06-05 10:14:58 -04:00
Jeff Muizelaar
0f18396434 Bug 749953. Revert a hunk of bug 753762 to fix XUL panning. r=cjones
I have no idea why this makes a difference.
2012-05-29 15:40:50 -04:00
Robert O'Callahan
a67cbf72d3 Bug 758179. Part 5: Test. r=mats 2012-05-30 01:13:37 +12:00
Robert O'Callahan
2abc3087ec Bug 758179. Part 4: Pass SKIP_HIDDEN flag in HandlePress/HandleRelease. r=mats 2012-05-30 01:13:36 +12:00
Robert O'Callahan
6b23199749 Bug 758179. Part 3: Support SKIP_HIDDEN flag. r=mats 2012-05-30 01:13:36 +12:00
Robert O'Callahan
05d68e6828 Bug 758179. Part 2: Add flags parameter to GetContentOffsetsFromPoint(External). r=mats 2012-05-30 01:13:36 +12:00