Ed Morley
7275a8d455
Merge mozilla-central and mozilla-inbound
2011-10-30 11:52:20 +00:00
Ms2ger
4a2832804a
Bug 688547 - Use Element* for nsIDocument::{SetSubDocumentFor,FindContentForSubDocument}; r=peterv
2011-10-29 22:22:19 +02:00
Ms2ger
731edba0b8
Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv
2011-10-29 22:03:55 +02:00
Olli Pettay
45e86aeaaf
Bug 694503 - image map doesn't get updated when map element is removed as part of container subtree, r=bz
2011-10-29 13:44:50 +03:00
Phil Ringnalda
4286df62ee
Bug 663378 - Define runTest() before the iframe that calls it onload in test_acid3_test46.html, and waitForExplicitFinish, r=dbaron
2011-10-21 23:30:56 -07:00
Daniel Holbert
b6321600f2
Bug 641731 tests: reftests for :visited status in image documents. r=dbaron
2011-10-29 02:44:27 -07:00
Daniel Holbert
507a8a5820
Bug 641731: Ignore :visited status in SVG image documents. r=dbaron
2011-10-29 02:43:43 -07:00
Robert Longson
ffc3c60628
Bug 697978 - make display:none svg images load. r=dholbert,bzbarsky
2011-10-29 09:18:25 +01:00
Boris Zbarsky
dcc04dfdae
Bug 667576. Handle visited colors correctly in MathML. r=dbaron
2011-10-29 03:04:20 -04:00
Boris Zbarsky
23c2e8cf88
Bug 608756. Cache display structs in the ruletree even for floated and positioned elements. r=dbaron
...
The basic idea is that mOriginalDisplay and mOriginalFloats are kept synchronized with mDisplay and mFloats unless the latter are changed due to position:absolute/fixed (for both) or float:left/right (for display). When initializing an nsStyleDisplay from a start struct, we restore the values from mOriginalDisplay/Floats to get correct behavior.
2011-10-29 03:04:20 -04:00
Rail Aliiev
8a56fd9db2
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Mats Palmgren
396adcb6e1
Bug 671484 - Change 'ABORT: root should not have auto-height containing block' into an assertion for now to avoid aborting fuzz testing. r=roc
2011-11-04 19:05:35 +01:00
Mats Palmgren
8fe06b1d7b
Bug 699383 - Remove unused 'aboveTextDecorations'. r=roc
2011-11-04 19:05:35 +01:00
Mounir Lamouri
2c0789a879
Bug 678694 - (3/7) Plug mozBattery into navigator object. r=sicking
2011-11-02 13:04:39 +01:00
Mounir Lamouri
0974c60065
Bug 695287 - Move Navigator declaration and definition outside of nsGlobalWindow.{h,cpp}. r=Ms2ger
...
This patch is creating Navigator.h and Navigator.cpp and makes Navigator part
of the mozilla::dom namespace.
2011-11-02 14:44:16 +01:00
Marco Bonardo
a9a0608213
Merge mozilla-central to mozilla-inbound
2011-11-03 10:46:56 +01:00
Simon Montagu
47095245f8
Zero the saved frame when creating a new line iterator for a new column. Bug 695861, r=roc
2011-11-03 11:35:04 +02:00
Justin Lebar
b2816b9b65
Merge backout
2011-11-02 20:11:25 -04:00
Justin Lebar
0f63342314
Back out bug 666446 due to Talos regression.
2011-11-02 20:11:01 -04:00
Kyle Huey
74ca38166a
Merge m-i to m-c.
2011-11-02 08:24:41 -04:00
Josh Aas
f1269e3c00
Bug 562442: Plugin crash fix (parent process). r=jmathies
2011-11-01 14:52:20 -04:00
Scott Johnson
5b59995a5c
Bug 666446, Part 8/10 - Change xul tree implementation to utilize refresh driver based animations for performance improvements with animated images. [r=roc]
2011-11-01 11:06:53 -04:00
Scott Johnson
791df3621d
Bug 666446, Part 7/10 - Change nsImageLoader to utilize new refresh driver animations to overcome performance issues with animated background images. [r=roc]
2011-11-01 11:06:53 -04:00
Scott Johnson
e055c256d3
Bug 666446, Part 6/10 - Change nsBulletFrame to utilize refresh driver-based animations for performance improvements. [r=roc]
2011-11-01 11:06:53 -04:00
Scott Johnson
1629c04eee
Bug 666446, Part 5/10 - Change nsImageBoxFrame to register corresponding image with nsRefreshDriver to facilitate refresh driver-based animations. [r=roc]
2011-11-01 11:06:53 -04:00
Scott Johnson
6ce9c5bbde
Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats]
2011-11-01 11:06:53 -04:00
Scott Johnson
a7ba67f09b
Bug 666446, Part 3/10 - Create hook functions in nsLayoutUtils to coalesce some of the new code for frame-like objects and avoid code duplication. [r=roc]
2011-11-01 11:06:53 -04:00
Scott Johnson
f26c2d2f00
Bug 666446, Part 2/10 - Change nsRefreshDriver to accept imgIRequest objects to facilitate refresh driver-based animations. [r=roc]
2011-11-01 11:06:53 -04:00
Henri Sivonen
13f20e415f
Bug 482921 part 13 - Avoid regressing bug 673094 - RTL characters at the end of attribute values in View Source. r=ehsan.
2011-11-01 13:33:11 +02:00
Geoff Lankow
c8c427d8b9
Bug 668154 - Use the same mock file picker for all mochitests and xpcshell tests; r=jmaher
2011-10-22 12:39:30 +13:00
Jesse Ruderman
3d0e8ebe17
Fix typo in assertion text (no bug, DONTBUILD)
2011-11-01 15:29:15 -07:00
Jesse Ruderman
5f4da4e6af
Remove trailing whitespace (no bug, DONTBUILD)
2011-11-01 15:28:48 -07:00
Henri Sivonen
8b1f8a82bb
Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay.
2011-11-01 17:27:36 +02:00
Matthew Gregan
e92038d86e
Bug 697647 - VideoFrame's visible region should use the pre-transform size rather than the raw video buffer size. r=roc
2011-11-02 18:44:49 +13:00
Jeff Muizelaar
1909741315
Bug 696672. Use a larger font size in bidi/613149-2* tests. r=smontagu
...
This currently fails on unaccelerated GDI because in the reference we render
all of the text in one call which causes the blending of the overlap between
the ':' and the 'M' to be different than if we render the strings in two steps.
Increasing the font size makes it so that the space between characters is large
enough to avoid this problem.
--HG--
extra : rebase_source : 4f0b342f1354a021412621469e31cf40bf94394c
2011-11-02 15:27:27 -04:00
Chris Pearce
0aa08286eb
Bug 696918 - Restrict key input in DOM full-screen mode to explicit whitelist. r=smaug
2011-11-03 08:17:32 +13:00
Timothy Nikkel
bd19f1c89d
Bug 698266. Go back to using views when clearing mouse capture in views instead of trying to use frames. r=roc
2011-11-02 12:58:44 -05:00
Boris Zbarsky
5159a4843a
Bug 641341. Speed up CalculateHypotheticalBox for the case of a block containing a bunch of lines but absolutely no in-flows anywhere. r=roc
2011-10-04 23:47:08 -04:00
Robert Longson
76037b99aa
Bug 691646 - Pattern tile pixelated on patternTransform. r=dholbert
2011-10-04 16:22:46 +01:00
Ehsan Akhgari
66ce294c6b
Test case for bug 691087; r=roc
2011-10-04 08:41:51 -04:00
Robert Longson
c5441802db
Backout Bug 691646 for causing reftest failures on Linux
2011-10-04 11:00:32 +01:00
Robert Longson
9b996a8070
Bug 691646 - Pattern tile pixelated on patternTransform. r=dholbert
2011-10-04 09:38:21 +01:00
Ehsan Akhgari
713f44fa55
Backout changeset 37c5482971b1 (bug 583976) because of Android R2 test failures
2011-10-03 23:40:34 -04:00
Matt Woodrow
97e680e837
Bug 691431 - Remove invalid assertion and NULL check childFrame in WrapPreserve3DList. r=roc
2011-10-04 14:23:04 +13:00
Jesse Ruderman
d09e6f1471
Add crashtest from bug 597924
2011-10-03 16:35:59 -07:00
Robert O'Callahan
a1a72c9ec7
Bug 696307. Floats in a different block to their placeholders should only be painted once. r=mats
2011-11-08 13:09:39 +13:00
Robert O'Callahan
f924f9d9bb
Bug 696307. Don't overwrite the aChild parameter of BuildDisplayListForChild. r=mats
2011-11-08 13:09:39 +13:00
Daniel Holbert
038d6caf4d
Bug 693940: Restrict SVG-as-an-image to load URIs with URI_INHERITS_SECURITY_CONTEXT. r=bz
2011-11-07 13:45:42 -08:00
Matt Brubeck
229a594529
Back out cd695cdb3b4f (bug 679759) because of test failures
2011-11-07 13:40:42 -08:00
William Lachance
37bedac358
Bug 679759 - MINIDUMP_STACKWALK_CGI support, let harness download symbols as needed, r=ted
2011-11-07 13:14:22 -08:00
Jonathan Watt
71a67640b1
Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg.
2011-10-28 19:33:28 +01:00
Oonishi Atsushi
5db5ec8f54
Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky
2011-11-10 15:01:11 +01:00
Mark Banner
da396f0de1
Bug 693949 - Drop nsCStringArray. r=bsmedberg
2011-10-28 08:35:45 +01:00
Daniel Holbert
5675a6d0da
Bug 696188 followup: Add assertions and functional test for transitioning away from a transform-list. r=bz
2011-10-27 15:58:05 -07:00
Daniel Holbert
f25f8ec2d9
Bug 697475: deCOMtaminate nsSVGPatternFrame::GetPatternFirstChild. r=longsonr
2011-10-27 15:57:10 -07:00
Josh Aas
89192a393d
Bug 649079: Plugin crash fix (parent process). r=bz
2011-10-27 16:00:49 -04:00
Robert Longson
4b934de0fe
Bug 697057 - Patterns are blurred when the element is scaled. r=dholbert
...
--HG--
rename : layout/reftests/svg/pattern-scale-01.svg => layout/reftests/svg/pattern-scale-01a.svg
2011-10-27 09:51:46 +01:00
Timothy Nikkel
3c1d63ece2
Bug 655263. Remove views from decks. r=roc
2011-10-26 18:57:55 -05:00
Timothy Nikkel
c2a4df613d
Bug 658005. Part 4. Remove nsIFrame::AreAncestorViewsVisible now that it is unused. r=roc
2011-10-26 18:57:55 -05:00
Timothy Nikkel
d78828a5dd
Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc
2011-10-26 18:57:55 -05:00
Timothy Nikkel
4e9a8d930f
Bug 658005. Part 1. Allowing query frame to work on deck frames. r=roc
2011-10-26 18:57:55 -05:00
Robert O'Callahan
8b63d0b8b2
Followup for bug 678859. Fix test to use larger areas to ensure active layers are used.
2011-10-27 12:09:32 +13:00
Robert O'Callahan
f772cbd274
Bug 678859. Don't create layers for content less than 16x16 pixels. r=tn
2011-10-27 09:10:48 +13:00
Boris Zbarsky
5879cf955f
Bug 696233. Switch the nth-index cache to having a single hashtable per selector type (from end vs from start and of-type vs not-of-type). Gives somewhat better cache locality on some workloads and makes entry addition much cheaper because we no longer need to initialize all the new memory when the hashtable store is resized; we just initialize the parts of it we need as we need them. r=smaug
2011-10-26 15:34:20 -04:00
Boris Zbarsky
c6d377c128
Bug 662489. Reorganize the code flow for determining nth-index values. r=smaug
...
There are two changes here. The first is that the aCheckEdgeOnly case is factored out into a separate branch so as to avoid branching on aCheckEdgeOnly inside the sibling loop. This also allows us to reuse the IndexDetermined code for both aIsFromEnd and !aIsFromEnd cases. In particular, when aIsFromEnd we start by walking backwards and hoping for a cached index on a previous sibling and only walking forwards if that fails. For short child lists there's not that much of a difference, but for long ones this is a win.
2011-10-26 15:33:40 -04:00
Robert Longson
00bb6071f9
Bug 696579 - Round out mask, filter and pattern surfaces. r=roc
2011-10-26 09:52:11 +01:00
Phil Ringnalda
60af64d0c8
Back out cc6b39f2b512 and f2b1103e5177 (bug 695832) for reftest failures
2011-10-25 23:18:47 -07:00
Robert O'Callahan
fdc852ac3b
Bug 696248. Flush pending onscroll events before painting. r=mats
2011-10-26 17:14:31 +13:00
Matt Woodrow
3b64e17e04
Bug 695275 - Add test for ThebesLayer -> ImageLayer conversion. r=roc
2011-10-26 16:26:24 +13:00
Matt Woodrow
7fbe271e00
Bug 695275 - Fix conversion of ThebesLayers to ImageLayers. r=roc
2011-10-26 16:24:58 +13:00
Matt Woodrow
4fec733686
Bug 695275 - Add CheckAndClearPaintedState to test painting. r=roc
2011-10-26 16:23:26 +13:00
Matt Woodrow
d898717df2
Bug 695832 - Test for perspective origin not being affected by transform origin. r=roc
2011-10-26 16:20:56 +13:00
Matt Woodrow
c65a7204c6
Bug 695832 - Perpsective origin offset should be relative to the transform origin. r=roc
2011-10-26 16:20:08 +13:00
Robert O'Callahan
6b37a39ade
Backing out fix for bug 678859 due to unexpected passes --- we need to make sure canvases are always treated as active
2011-10-26 15:56:52 +13:00
Robert O'Callahan
eb8c89d6a0
Backed out changeset 9bbb30ec51f5
2011-10-26 15:55:51 +13:00
Ehsan Akhgari
dbe53002d5
Backout changeset be42bc18185a (bug 612128) because of bug 688423
2011-10-25 22:32:55 -04:00
Robert O'Callahan
86c6d255ee
Bug 678859. Don't create layers for content less than 16x16 pixels. r=tn
2011-10-26 14:14:49 +13:00
Ed Morley
3486d03128
Merge mozilla-central and mozilla-inbound
2011-10-26 01:04:58 +01:00
Olli Pettay
2fd2d518f5
Bug 696020, target key events to html:body, r=bz+enn
...
--HG--
extra : rebase_source : 9befed4031ef3f43aa5ff6daa2c6bb23e66024f8
2011-10-24 22:54:18 +03:00
Robert O'Callahan
cc2117d268
Bug 696739. Treat inline fieldsets as pseudo-stacking-contexts. r=bz
2011-10-25 16:52:52 +13:00
Jesse Ruderman
d2371a1d0e
Bug 675553 followup: remove tautologous assertions. r=ehsan
2011-10-24 16:21:09 -07:00
Neil Deakin
01a1dd8366
Back out 3f7638d38b32 as it caused some mac reftest failures
2011-10-25 14:45:23 -04:00
Timothy Nikkel
0c03891ef4
Bug 658001. Need to clear mouse capture if the capturing frame is inside a hidden deck panel. r=roc
2011-10-25 13:20:13 -05:00
Boris Zbarsky
3f42e0dcfa
Bug 696188. Fix leak when adding different transform lists for animation. r=dholbert
2011-10-25 12:58:35 -04:00
Neil Deakin
7eb1c32282
Bug 696746, round width rather than adding one to prevent an extra reflow, r=roc
2011-10-25 11:05:32 -04:00
Neil Deakin
5548813f50
Bug 503879, remove nsIToolkit, make nsToolkit a singleton, remove it from some widget platforms, and don't pass it around when creating widgets, original patch by robarnold, r=roc
2011-10-25 11:05:32 -04:00
Bernd
d056f0a6fd
bug 695430 - stop trying to insert previously emptied framelists r=bzbarsky
2011-10-24 21:22:33 +02:00
Oleg Romashin
7d10ff4495
Bug 693938 - Force mark PuppetWidget root scroll layer as opaque. r=roc
2011-10-23 10:57:47 +02:00
Masatoshi Kimura
92268e6353
Bug 685400 - add "to" syntax and "magic corner" feature to CSS linear gradient. r=dbaron
...
--HG--
rename : layout/reftests/css-gradients/linear-ref.html => layout/reftests/css-gradients/linear-1-ref.html
rename : layout/reftests/css-gradients/linear.html => layout/reftests/css-gradients/linear-1b.html
rename : layout/reftests/css-gradients/linear-diagonal-1-ref.html => layout/reftests/css-gradients/linear-diagonal-1c.html
rename : layout/reftests/css-gradients/linear-diagonal-2-ref.html => layout/reftests/css-gradients/linear-diagonal-2c.html
rename : layout/reftests/css-gradients/linear-diagonal-3-ref.html => layout/reftests/css-gradients/linear-diagonal-3c.html
rename : layout/reftests/css-gradients/linear-diagonal-4-ref.html => layout/reftests/css-gradients/linear-diagonal-4c.html
rename : layout/reftests/css-gradients/linear-keywords-ref.html => layout/reftests/css-gradients/linear-keywords-1-ref.html
rename : layout/reftests/css-gradients/linear-keywords.html => layout/reftests/css-gradients/linear-keywords-1b.html
2011-10-22 21:41:11 +02:00
Nathan Froyd
dbe15049c2
Bug 681535 - XUL reflow telemetry; r=dbaron
2011-10-17 12:49:57 -04:00
Jesse Ruderman
06c313d290
Bug 696266 - Add some values to layout/style/test/property_database.js. r=dbaron
2011-10-21 21:03:16 -07:00
Daniel Holbert
ff21c39197
Bug 693801: Remove redundant initialization for nsHTMLReflowState::mFlags.mIsTopOfPage. r=dbaron
2011-10-21 13:41:12 -07:00
Oleg Romashin
00c293a0b5
Bug 694706 - Get rid of checkerboard for remote viewport. r=cjones
2011-10-20 15:17:09 -07:00
Timothy Nikkel
d9c707d348
Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc
2011-10-21 12:45:32 -05:00
Justin Lebar
f1b1dbc9b2
Bug 683777 - In an attempt to fix a crash in nsDocShell::InternalLoad, re-land bug 646641 with an extra null-check. r=smaug
2011-10-21 11:26:34 -04:00
Marco Bonardo
5eb5a7a0aa
Backout 564144b09c4b, 049ba0a8823f, 608feeb4539c, d2e6a61338cc (Bug 695275) to investigate Android Crashtests permaorange.
2011-10-21 14:19:22 +02:00
Jonathan Kew
13cf262aa6
bug 695639 - use the proper iterator to convert offsets into the textrun in GetFontFacesForText. r=roc
2011-10-21 08:13:51 +01:00
Jonathan Kew
0e14cc1a89
bug 695639 - test for GetFontFacesForText with textrun wrapped onto multiple lines. r=roc
2011-10-21 08:12:44 +01:00
Timothy Nikkel
0d0f09e5f7
Backout 18f70ede04b0 (bug 694213).
2011-10-20 20:59:47 -05:00
Robert O'Callahan
a77425a482
Bug 681867. Part 2: remove nsDisplayForcePaintOnScroll. r=mats
2011-10-21 14:41:36 +13:00