Commit Graph

29450 Commits

Author SHA1 Message Date
Simon Montagu
692068c1ec Tests for bug 263359 2011-04-11 10:59:30 +03:00
Simon Montagu
c112e2354d Bug 263359/Bug 229367: resolve paragraph on encountering <br> or embedded block elements. r=roc 2011-04-11 10:59:30 +03:00
Simon Montagu
b9b794078e Tests for bug 229367 and bug 613157 2011-04-11 10:59:30 +03:00
Simon Montagu
8e3b653b0c Bug 263359 part 2: split nsBidiPresUtils::Resolve into Resolve and ResolveParagraph. r=roc 2011-04-11 10:59:30 +03:00
Simon Montagu
030f555e66 Bug 263359 part 1.5: remove nsDirectionalFrame. r=roc 2011-04-11 10:59:30 +03:00
Simon Montagu
90fff54b37 Bug 263359 part 1: refactor bidi resolution code, combining InitLogicalArray and CreateBlockBuffer. r=roc 2011-04-11 10:59:30 +03:00
Simon Montagu
c992333667 Tests for bug 83958, originally by David Baron 2011-04-11 10:59:29 +03:00
Simon Montagu
e1109b7657 Debugging code for Bidi resolution. NPOTDB 2011-04-11 10:59:29 +03:00
Frédéric Wang
d5dde90b81 Bug 569124 - Make the math element support the attributes of mstyle. r=karlt 2011-04-09 23:36:31 -04:00
Robert Longson
b5613a6def Bug 633337 - pattern viewBoxes not treated correctly. r=jwatt 2011-04-09 21:57:51 +01:00
L. David Baron
522a8d323e Back out 1edfae12015b (Bug 642246) due to mobile unittest orange. 2011-04-09 18:21:27 -07:00
Benjamin Stover
3c025ebe4d Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc 2011-04-09 12:38:28 -07:00
Ehsan Akhgari
1ae18aafb2 Bug 646382 - Position the caret correctly for empty BR frames; r=roc 2011-04-08 00:35:49 -07:00
Ehsan Akhgari
56bb77b76d Bug 644428 - (Alternative approach) Clamp the baseline for every case to the context box height for inline frames; r=roc 2011-04-09 09:13:16 -07:00
Ehsan Akhgari
210094e333 Bug 645572 - Don't let the frame constructor's update count to become negative. r=sicking
--HG--
extra : rebase_source : 78cbdf15ff2d9bdd706db66176f65a3e4dc84c14
2011-04-08 14:29:34 -07:00
Josh Aas
7b8aca764f Bug 636872: Allow CSS cursor property to be used for plugins. r=bz 2011-04-08 12:58:04 -07:00
Oleg Romashin
c155d35cf1 Bug 607417 - Reconcile position:fixed with async scrolling and displayport+meta-viewport. reftests r=jones.chris.g
--HG--
extra : rebase_source : 74649055179f4612dce53928f75bea55359eeeb4
2011-04-08 09:35:21 -07:00
Tatiana Meshkova
d918fac3c5 Bug 607417 - Part 3: Visibility tricks for fixed items r=roc
--HG--
extra : rebase_source : 7545070d6af5ef10dd4d1504f0d456ece4fd8edb
2011-04-08 09:35:16 -07:00
Oleg Romashin
37efe43878 Bug 607417 - Part 2: Reverse translation for fixed shadow layers. r=stechz
--HG--
extra : rebase_source : d390fd6440ccb93b3652cbd431e5f6484643114e
2011-04-08 09:35:13 -07:00
Oleg Romashin
863e12aca2 Bug 607417 - Part1: position:fixed frames mark layers r=roc
--HG--
extra : rebase_source : dbbff8810bafd165a48c34924d98f5c87702ef3f
2011-04-05 23:00:25 -06:00
Jonathan Kew
1c17cb53b6 bug 646983 - set the correct text length for the PropertyProvider. r=roc 2011-04-08 11:18:47 -07:00
Jonathan Kew
be86b37444 add testcases from bug 646983, bug 647332. r=roc 2011-04-08 11:18:44 -07:00
Ehsan Akhgari
ac600720a8 Merge cedar into mozilla-central 2011-04-08 11:05:22 -07:00
Jeff Muizelaar
605d224a8e Bug 646731. Avoid float-to-double promotion in Is(Margin|Pading)Zero. r=dbaron
Caught with -Wdouble-promotion. This may not impact codegen but it's more
correct.

--HG--
extra : rebase_source : ca32e02b763a4bf5bbf367fdb79eb3ad3a886683
2011-04-08 10:59:52 -07:00
Matt Brubeck
5af1b06ef4 Bug 598736 - Use bilinear image scaling on mobile. r=jrmuizel 2011-04-08 10:15:37 -07:00
Ehsan Akhgari
b1b54b2a27 Merge cedar into mozilla-central 2011-04-08 02:27:03 -07:00
Felipe Corrêa da Silva Sanches
d09568afbe Bug 484966. Remove nsSVGUtils::GetParentElement in favor of nsIContent::GetFlattenedTreeParent. r=jwatt 2011-04-07 22:27:57 -07:00
Ms2ger
998ac342ff Bug 647554 - Uninitialized variable oldSize in nsPluginInstanceOwner::InvalidateRect; r=mats 2011-04-07 21:56:13 -07:00
Boris Zbarsky
a79423143e Bug 581177 part 7. Make 'may have contenteditable attr' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
Zack Weinberg
9445215aa0 Bug 524173. Reftests demonstrating off-by-one bug in degenerate linear gradients on some platforms. 2011-03-31 15:00:34 -04:00
Ehsan Akhgari
9fc520a05c Merge cedar into mozilla-central 2011-04-06 16:39:14 -07:00
Craig Topper
a34a1d0043 Bug 577976 - Part 6: Add cast to resolve ambiguity in case 'using' isn't supported by compiler, r=bzbarsky 2011-04-06 00:11:42 -07:00
Craig Topper
25cb0ebb8b Bug 645956 - Part 5: Remove NS_NewCSSCharsetRule, r=bzbarsky 2011-03-22 23:20:09 -07:00
Matheus Kerschbaum matjk7@gmail.com
8801ecb4d8 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now
--HG--
extra : rebase_source : bd8d7491d0fee17e0319ce130bd2988fefe82e93
2011-04-06 21:59:25 -07:00
Benoit Girard
b54ec5dbd6 Bug 647710: Fixed color profile leak. r=josh 2011-04-06 16:00:45 -07:00
Matheus Kerschbaum
4eb6429f47 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Robert Longson
a82b78bf19 Bug 641858 - text does not reflect dynamic gradient/pattern changes r=jwatt 2011-04-03 13:23:40 +01:00
Timothy Nikkel
d1b31d7f91 Bug 642977. Don't suppress painting if the document isn't loading; r=bz 2011-04-06 11:00:35 -07:00
Timothy Nikkel
c5140ff72c Bug 643678. When documents go in the bfcache remove them from any schedule plugin geometry updates. r=roc 2011-04-06 11:00:02 -07:00
Timothy Nikkel
96adc164fe Bug 645203. Make sure we skip non-XUL nodes inside trees; r=neil 2011-04-06 10:52:07 -07:00
Mats Palmgren
ce7e2319e4 Bug 639733 - Include the tag name in the frame state key. r=bzbarsky 2011-04-06 13:32:31 +02:00
Jesse Ruderman
cba5eb782d Bug 639733 - Crash test. 2011-04-06 13:32:31 +02:00
Mats Palmgren
c28204bb2d Bug 614969 - Use the primary frame for the display style test. r=bzbarsky 2011-04-04 13:41:02 +02:00
Mats Palmgren
fd82cd9682 Bug 640272 - Check load status for border images before trying to render them. r=bzbarsky 2011-04-04 13:41:02 +02:00
Mats Palmgren
e910197c98 Bug 642800 - Add a script blocker to avoid nested PrepareEditor calls. r=ehsan 2011-04-04 13:41:02 +02:00
Mats Palmgren
fd833c66a3 Bug 645423 - Don't poison nsRuleData in --enable-valgrind builds. r=dbaron 2011-04-04 13:41:02 +02:00
Mats Palmgren
fef150652b Bug 645423 - Initialize the poison value also for DEBUG_TRACEMALLOC_PRESARENA builds. r=dbaron 2011-04-04 13:41:02 +02:00
Chris Leary
347b8d483b Merge tracemonkey to mozilla-central. 2011-03-31 15:47:46 -07:00
Paul Biggar
cfb2a6aebf Bug 643548: Remove mozalloc_undef_macro_wrappers hack from JS engine. (r=luke,rs=brendan)
mozalloc_undef_macro_wrappers are brittle and have side-effects that are hard
to debug and fix. The alternative is the just stick an underscore on the end of
malloc, free, etc, which is a comparatively small burden.
2011-03-31 01:14:12 -07:00
Robert O'Callahan
f55223784a Bug 622072. Part 3: Support empty transactions for canvas layers. r=tnikkel
The basic idea is that whenever a layer transaction updates the window, we clear out the invalidation state for the canvas rendering context,
using a DidTransactionCallback registered on the layer(s) for the canvas, which calls MakeContextClean.

The DidTransactionCallbacks are directed to the user data attached to the Layer, which holds a strong reference to the canvas element. This
ensures that the element lives as long as the layer. Layers are destroyed when the presentation is torn down (including if the frame is destroyed),
so we can't have a leak here. The reference to the canvas element is only strong because the layer might briefly outlive the frame (the layer
won't be destroyed until the next paint of the window).

This patch moves responsibility for calling CanvasLayer::Updated and nsFrame::MarkLayersActive from the canvas context to nsHTMLCanvasElement::InvalidateFrame.
We call Updated on the retained CanvasLayer, if there is one; any other CanvasLayers created for this canvas would only be used once, and have Updated
called on them in BuildLayer when created.
2011-03-28 12:59:47 +13:00