Commit Graph

11501 Commits

Author SHA1 Message Date
Ed Morley
d3095eb7a4 Merge mozilla-central and mozilla-inbound 2011-10-30 11:52:20 +00:00
Ms2ger
d952a9a9dc Bug 688547 - Use Element* for nsIDocument::{SetSubDocumentFor,FindContentForSubDocument}; r=peterv 2011-10-29 22:22:19 +02:00
Ms2ger
567f4260b6 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Olli Pettay
9f362a60d2 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
67849936c3 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
e6272147fa Bug 641731 tests: reftests for :visited status in image documents. r=dbaron 2011-10-29 02:44:27 -07:00
Daniel Holbert
7fafbc9d28 Bug 641731: Ignore :visited status in SVG image documents. r=dbaron 2011-10-29 02:43:43 -07:00
Robert Longson
b15078098b Bug 697978 - make display:none svg images load. r=dholbert,bzbarsky 2011-10-29 09:18:25 +01:00
Boris Zbarsky
39a93f53d5 Bug 667576. Handle visited colors correctly in MathML. r=dbaron 2011-10-29 03:04:20 -04:00
Boris Zbarsky
2a022d4e34 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
Jonathan Watt
8a0b72332d 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
Mark Banner
cbd25443a2 Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Daniel Holbert
d2a985d073 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
68ba4054d0 Bug 697475: deCOMtaminate nsSVGPatternFrame::GetPatternFirstChild. r=longsonr 2011-10-27 15:57:10 -07:00
Josh Aas
b258d496c8 Bug 649079: Plugin crash fix (parent process). r=bz 2011-10-27 16:00:49 -04:00
Robert Longson
725503802f 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
3e466ae9bb Bug 655263. Remove views from decks. r=roc 2011-10-26 18:57:55 -05:00
Timothy Nikkel
df8878f8ed Bug 658005. Part 4. Remove nsIFrame::AreAncestorViewsVisible now that it is unused. r=roc 2011-10-26 18:57:55 -05:00
Timothy Nikkel
09778341dc 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
258cd4a079 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
4cc122b80b 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
17ad2dd8a3 Bug 678859. Don't create layers for content less than 16x16 pixels. r=tn 2011-10-27 09:10:48 +13:00
Boris Zbarsky
01bc3713f0 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
c9c4456454 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
b1c939575c Bug 696579 - Round out mask, filter and pattern surfaces. r=roc 2011-10-26 09:52:11 +01:00
Phil Ringnalda
fa10179bd2 Back out cc6b39f2b512 and f2b1103e5177 (bug 695832) for reftest failures 2011-10-25 23:18:47 -07:00
Robert O'Callahan
e285f8195b Bug 696248. Flush pending onscroll events before painting. r=mats 2011-10-26 17:14:31 +13:00
Matt Woodrow
c4d40d4f69 Bug 695275 - Add test for ThebesLayer -> ImageLayer conversion. r=roc 2011-10-26 16:26:24 +13:00
Matt Woodrow
7968f3490d Bug 695275 - Fix conversion of ThebesLayers to ImageLayers. r=roc 2011-10-26 16:24:58 +13:00
Matt Woodrow
b18a7f9176 Bug 695275 - Add CheckAndClearPaintedState to test painting. r=roc 2011-10-26 16:23:26 +13:00
Matt Woodrow
bd234146bf Bug 695832 - Test for perspective origin not being affected by transform origin. r=roc 2011-10-26 16:20:56 +13:00
Matt Woodrow
c9ed70f1ce 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
1f6fcc2e5e 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
dc436c42a7 Backed out changeset 9bbb30ec51f5 2011-10-26 15:55:51 +13:00
Ehsan Akhgari
74d9b6f1fb Backout changeset be42bc18185a (bug 612128) because of bug 688423 2011-10-25 22:32:55 -04:00
Robert O'Callahan
33b94bdf8d Bug 678859. Don't create layers for content less than 16x16 pixels. r=tn 2011-10-26 14:14:49 +13:00
Ed Morley
647fb4ba20 Merge mozilla-central and mozilla-inbound 2011-10-26 01:04:58 +01:00
Olli Pettay
5a32278058 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
866833ced3 Bug 696739. Treat inline fieldsets as pseudo-stacking-contexts. r=bz 2011-10-25 16:52:52 +13:00
Jesse Ruderman
4a98a7e828 Bug 675553 followup: remove tautologous assertions. r=ehsan 2011-10-24 16:21:09 -07:00
Neil Deakin
82275e0b26 Back out 3f7638d38b32 as it caused some mac reftest failures 2011-10-25 14:45:23 -04:00
Timothy Nikkel
cb4f16ac10 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
025682fa0d Bug 696188. Fix leak when adding different transform lists for animation. r=dholbert 2011-10-25 12:58:35 -04:00
Neil Deakin
defd12cb21 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
b9741fe3c6 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
51b37008cb bug 695430 - stop trying to insert previously emptied framelists r=bzbarsky 2011-10-24 21:22:33 +02:00
Oleg Romashin
21ca0625fc Bug 693938 - Force mark PuppetWidget root scroll layer as opaque. r=roc 2011-10-23 10:57:47 +02:00
Masatoshi Kimura
b62835cb59 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
bb5e7dae41 Bug 681535 - XUL reflow telemetry; r=dbaron 2011-10-17 12:49:57 -04:00
Jesse Ruderman
be1983ca23 Bug 696266 - Add some values to layout/style/test/property_database.js. r=dbaron 2011-10-21 21:03:16 -07:00