Ed Morley
778767509f
Merge mozilla-central and mozilla-inbound
2011-11-14 01:45:39 +00:00
John Daggett
7f5f33368d
Bug 701262. Set up reftest for redirection on font load. r=joedrew
2011-11-14 12:51:35 +13:00
Marco Bonardo
8c72c90eb0
Merge mozilla-central and mozilla-inbound
2011-11-11 11:09:58 +01:00
John Daggett
6e4667d9a3
Bug 701262. Fix font redirect request failures. r=sicking
2011-11-11 08:38:23 +09:00
Gregory Szorc
3c849fad59
Merge b-s to m-c
2011-11-10 15:15:29 -08:00
Ed Morley
fddedbce14
Merge m-c to b-s.
2011-11-08 23:18:09 +00:00
Daniel Holbert
7f1fd946ec
back out 10814cd743e3 (from bug 693940) since it breaks moz-filedata URIs in SVG-as-an-image
2011-11-08 12:49:12 -08:00
Ed Morley
7ba7e989fe
Backout changeset 27b8e5fb9699 (bug 700116) for reftest failures; a=philor
2011-11-08 07:38:22 +00:00
Boris Zbarsky
ff2c1ac1c2
Bug 700116. Fix the ordering if IsAlternate calls and sheet state determination so that the hashtable munging IsAlternate can do doesn't mess up our sheet states. r=sicking
2011-11-07 23:41:17 -05:00
Matt Woodrow
87bf3b4e98
Bug 698590 - Make ConfigureLayer use DevPixels instead of AppPixels. r=roc
2011-11-08 16:57:55 +13:00
Daniel Holbert
8b0d1d45e6
Bug 693940: Restrict SVG-as-an-image to being able to load (local) URIs that have either the URI_INHERITS_SECURITY_CONTEXT or URI_LOADABLE_BY_SUBSUMERS flags. r=bz
2011-11-07 13:45:42 -08:00
Cameron McCormack
13ab90286a
Bug 652494 - Report uncaught JS exceptions in chrome mochitests as test failures. r=jmaher
2011-11-12 22:06:54 +11:00
Scott Johnson
863ca35140
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-09 13:39:16 -08:00
Scott Johnson
c67a51078e
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-09 13:39:16 -08:00
Scott Johnson
1bcaf98bde
Bug 666446, Part 6/10 - Change nsBulletFrame to utilize refresh driver-based animations for performance improvements. [r=roc]
2011-11-09 13:39:16 -08:00
Scott Johnson
9500b32495
Bug 666446, Part 5/10 - Change nsImageBoxFrame to register corresponding image with nsRefreshDriver to facilitate refresh driver-based animations. [r=roc]
2011-11-09 13:39:16 -08:00
Scott Johnson
8b64920eb3
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-09 13:39:16 -08:00
Scott Johnson
41ea8f0bf1
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-09 13:39:16 -08:00
Scott Johnson
ab1237d9e9
Bug 666446, Part 2/10 - Change nsRefreshDriver to accept imgIRequest objects to facilitate refresh driver-based animations. [r=roc]
2011-11-09 13:39:16 -08:00
Scott Johnson
e4fbf31815
Bug 666446, Part 1/10 - Add method to imgIContainer for notification of refresh driver events. [r=dholbert,joe][sr=mats]
2011-11-09 13:39:15 -08:00
Daniel Holbert
ac983b7917
Bug 700895 patch 2: Rename img-foreignObject-embed-2* reftest files to img-foreignObject-embed-1*, since the old embed-1* tests were renamed. r=roc
...
--HG--
rename : layout/reftests/svg/as-image/img-foreignObject-embed-2-helper.svg => layout/reftests/svg/as-image/img-foreignObject-embed-1-helper.svg
rename : layout/reftests/svg/as-image/img-foreignObject-embed-2.html => layout/reftests/svg/as-image/img-foreignObject-embed-1.html
2011-11-09 12:10:38 -08:00
Daniel Holbert
8da341a388
Bug 700895 patch 1: Add a more explicit check for SVG-as-an-image in MaybeCreateDocShell, and improve reftests for <iframe>s being blocked in SVG-as-an-image. r=roc
...
--HG--
rename : layout/reftests/svg/as-image/img-foreignObject-embed-1-helper.svg => layout/reftests/svg/as-image/img-foreignObject-iframe-1a-helper.svg
rename : layout/reftests/svg/as-image/img-foreignObject-embed-1.html => layout/reftests/svg/as-image/img-foreignObject-iframe-1a.html
rename : layout/reftests/svg/as-image/img-foreignObject-embed-1-helper.svg => layout/reftests/svg/as-image/img-foreignObject-iframe-1b-helper.svg
rename : layout/reftests/svg/as-image/img-foreignObject-embed-1.html => layout/reftests/svg/as-image/img-foreignObject-iframe-1b.html
2011-11-09 11:11:11 -08:00
Jonathan Kew
3350bc454b
bug 692727 - include non-English hyphenation files on Android. r=mfinkle
2011-11-16 09:04:47 +13:00
Michael Wu
34d5f356e4
Bug 694206 - Add Gonk (B2G) widget backend, r=cjones
2011-11-10 16:17:46 -08:00
Gregory Szorc
de5e3e4887
Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey
2011-11-01 15:45:23 -07:00
Olli Pettay
b67e20d19d
Bug 698232 - s/IsInside/GetArea to simplify the code, r=mats
2011-10-30 21:51:19 +02:00
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
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
Robert O'Callahan
ae259582e2
Bug 681867. text-overflow only needs to affect the scrolling behavior of the block container with text-overflow. r=mats
2011-10-21 14:41:36 +13:00
Matt Woodrow
e9ae1603e0
Bug 695275 - Follow-up to fix review comments that I missed.
2011-10-21 14:33:00 +13:00
Matt Woodrow
ffe61897e1
Bug 695275 - Add test for ThebesLayer -> ImageLayer conversion. r=roc
2011-10-21 14:23:05 +13:00
Matt Woodrow
7722ff274a
Bug 695275 - Fix conversion of ThebesLayers to ImageLayers. r=roc
2011-10-21 14:22:19 +13:00
Matt Woodrow
19882a2aeb
Bug 695275 - Add nsIDOMWindowUtils::CheckAndClearPaintedState to test painting. r=roc
2011-10-21 14:21:40 +13:00
Boris Zbarsky
cbd041126f
Bug 695538 another test followup. Make sure that the test actually _could_ pass.
2011-10-20 16:25:31 -04:00
Boris Zbarsky
2993384666
Bug 695538 followup. Fix typo in reference and format the test to look more like the reference.
2011-10-20 14:41:27 -04:00
Timothy Nikkel
aaa796727a
Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc
2011-10-20 12:44:28 -05:00
Ehsan Akhgari
fc1380fcac
Bug 694880 - The editable state is not updated correctly when designMode is turned off; r=bz,peterv
2011-10-20 12:27:48 -04:00