Commit Graph

9961 Commits

Author SHA1 Message Date
Simon Montagu
1b5ecfe658 Debugging code for Bidi resolution. NPOTDB 2011-04-11 10:59:29 +03:00
Frédéric Wang
dbcfcfee18 Bug 569124 - Make the math element support the attributes of mstyle. r=karlt 2011-04-09 23:36:31 -04:00
Robert Longson
d06df5fd4d Bug 633337 - pattern viewBoxes not treated correctly. r=jwatt 2011-04-09 21:57:51 +01:00
L. David Baron
ad4318958b Back out 1edfae12015b (Bug 642246) due to mobile unittest orange. 2011-04-09 18:21:27 -07:00
Benjamin Stover
3270dd31cd Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc 2011-04-09 12:38:28 -07:00
Ehsan Akhgari
63da2aa651 Bug 646382 - Position the caret correctly for empty BR frames; r=roc 2011-04-08 00:35:49 -07:00
Ehsan Akhgari
f62ed62de0 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
02c72c47b5 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
Jonathan Kew
55114c659a merge backout of bug 585152 2011-04-13 14:35:39 +01:00
Jonathan Kew
20281c115e Backed out changeset 80451fb8f11c (bug 585152) as per discussion in the bug. 2011-04-13 14:35:06 +01:00
Simon Montagu
8ade1e195e Make all nsBidiPresUtils methods static. Bug 624798, r=roc 2011-04-13 12:23:49 +03:00
Jonathan Kew
99d0c392b8 bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron 2011-04-12 11:53:20 +01:00
Boris Zbarsky
2fe672e79c Bug 645491 part 2. Speed up changes to id attributes on pages with lots of id selectors. r=dbaron
The basic idea is to only match against id selectors which might matter by keeping track of them in a hashtable instead of a flat list.  We still need to use a flat list for possibly-negated id selectors, unfortunately.
2011-04-12 19:57:48 -07:00
Boris Zbarsky
3787b23388 Bug 645491 part 1. Rename ClassSelector to AtomSelector. r=dbaron
We're going to use this same data structure for id selectors too, so the old name doesn't make sense any more.
2011-04-12 19:57:42 -07:00
Jonathan Kew
dedc59c420 bug 648248 followup - prefer Raanana on OS X for the Hebrew presentation forms in reftests. a=reftest-orange 2011-04-12 15:08:05 +01:00
Ms2ger
b8678933a0 Bug 619996, part f: kill layout/forms/resources; r=bz 2011-04-12 14:32:01 +02:00
Ms2ger
04536b2048 Bug 619996, part d: use nsHTMLSelectElement::FromContent in nsListControlFrame; r=bz 2011-04-12 14:32:00 +02:00
Ms2ger
bb2faf4a3d Bug 619996, part a: Remove unnecessary inclusions of and references to nsISelectElement.h; r=bz 2011-04-12 14:31:59 +02:00
Ms2ger
0e318b79e8 Back out bug 633299 because of orange; r=jfkthame 2011-04-12 14:31:23 +02:00
Ms2ger
4c894d44d4 Backed out changeset 3f82f25d7334 2011-04-12 14:28:53 +02:00
Paul Biggar
8edfaaa30e Merge mozilla-central into tracemonkey. 2011-04-12 04:01:08 -07:00
Jonathan Kew
d9c320b9df bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron 2011-04-12 11:53:20 +01:00
L. David Baron
52ee86d378 Backout changeset b583111a88aa (bug 585152) for causing mochitest-browser-chrome orange on opt builds. 2011-04-12 01:29:41 -07:00
Boris Zbarsky
c55a85c955 Fix 32-bit mac opt bustage, bug 435442, r=dbaron 2011-04-12 01:12:12 -07:00
L. David Baron
a9d44dc761 Backout changeset b48ebf9695bb for causing failures in layout/generic/test/test_selection_expanding.html . 2011-04-12 00:11:58 -07:00
Ehsan Akhgari
7d370425b0 Bug 637671 - Don't display the selection for a non-focused text element when restoring the selection state after a reframe. r=bzbarsky 2011-04-11 23:18:44 -07:00
L. David Baron
7e86462271 ifdef CSS animations so that the feature can be backed out by flipping the switches in configure.in and then reverting the changes to the following four files appropriately: nsIDOMCSS2Properties.idl, nsIDOMCSSRule.idl, property_database.js, test_transitions_computed_values.html. (Bug 435442, patch 15) r=bzbarsky 2011-04-11 23:18:44 -07:00
L. David Baron
6f2e43e63d Fire animation events at the correct times. (Bug 435442, patch 14) r=bzbarsky 2011-04-11 23:18:44 -07:00
L. David Baron
ab5c78e7b3 Instead of incorrectly setting nsComputedDOMStyle's mOuterFrame and mInnerFrame when we have a pseudo-element to the element's frames, leave them null. (Bug 435442, patch 13) r=bzbarsky
Note:  tested by the pseudo-element tests in patch 14.
2011-04-11 23:18:44 -07:00
L. David Baron
d1dba7e001 Implement and test animation of css3-animations. (Bug 435442, patch 11) r=bzbarsky 2011-04-11 23:18:44 -07:00
L. David Baron
a00f552ebd Factor some common testing code into animation_utils.js. (Bug 435442, patch 10) r=bzbarsky 2011-04-11 23:18:43 -07:00
L. David Baron
f8dfd07160 Add interface for taking over the refresh driver in a test (i.e., mocking time). (Bug 435442, patch 9) r=bzbarsky 2011-04-11 23:18:43 -07:00
L. David Baron
a84d8c9295 Make AnimValuesStyleRule::AddEmptyValue infallible. (Bug 435442, patch 8) r=bzbarsky 2011-04-11 23:18:43 -07:00
L. David Baron
726f8b0eca Refactor some parts of nsTransitionManager into common base class to be shared with AnimationManager. (Bug 435442, patch 7) r=bzbarsky 2011-04-11 23:18:43 -07:00
L. David Baron
079314787c Add support for cascading of keyframes rules. (Bug 435442, patch 6) r=bzbarsky 2011-04-11 23:18:43 -07:00
L. David Baron
f80131c3b4 Implement parsing and storage of @keyframes rule. (Bug 435442, patch 5) r=bzbarsky 2011-04-11 23:18:43 -07:00
L. David Baron
0de989d5b1 Fix style rule inheritance macros. (Bug 435442, patch 4) r=bzbarsky 2011-04-11 23:18:43 -07:00
L. David Baron
b149cd157b Clean up handling of CSSOM modifications to rules that are non-child descendants of a sheet. (Bug 435442, patch 3) r=bzbarsky
This fixes handling of a number of cases:
 1. Modifications to a style rule inside a group rule now trigger
    GetRuleCascades.
 2. A sheet that has been (potentially) modified is reliably marked as
    such, and thus never cloned.
2011-04-11 23:18:43 -07:00
L. David Baron
7d0955a692 Share implementation of GetCSSParsingEnvironment so we can use it for both style rules' declarations and keyframe rules' declarations. (Bug 435442, patch 2) r=bzbarsky 2011-04-11 23:18:42 -07:00
L. David Baron
46a3aba4b3 Implement parsing and computation for the new properties in css3-animation. (Bug 435442, patch 1) r=bzbarsky 2011-04-11 23:18:42 -07:00
L. David Baron
9f841c864a Implement step-start, step-end, and steps() timing functions. (Bug 435442, patch 0) r=bzbarsky 2011-04-11 23:18:42 -07:00
Paul Biggar
bc3d36f617 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
Paul Biggar
c0aeeea187 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
Josh Aas
70a155c558 Bug 636872: Allow CSS cursor property to be used for plugins. r=bz 2011-04-08 12:58:04 -07:00
Oleg Romashin
2f45dcc97f 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
29ab414108 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
e58096f576 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
631800dfd2 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
05b8ef4302 bug 646983 - set the correct text length for the PropertyProvider. r=roc 2011-04-08 11:18:47 -07:00
Jonathan Kew
46ca3e4f06 add testcases from bug 646983, bug 647332. r=roc 2011-04-08 11:18:44 -07:00
Ehsan Akhgari
c142d20d2c Merge cedar into mozilla-central 2011-04-08 11:05:22 -07:00
Jeff Muizelaar
1f284ac061 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
170c710ac7 Bug 598736 - Use bilinear image scaling on mobile. r=jrmuizel 2011-04-08 10:15:37 -07:00
Ehsan Akhgari
96d750195b Merge cedar into mozilla-central 2011-04-08 02:27:03 -07:00
Felipe Corrêa da Silva Sanches
122358c42d Bug 484966. Remove nsSVGUtils::GetParentElement in favor of nsIContent::GetFlattenedTreeParent. r=jwatt 2011-04-07 22:27:57 -07:00
Ms2ger
8abef9c63c Bug 647554 - Uninitialized variable oldSize in nsPluginInstanceOwner::InvalidateRect; r=mats 2011-04-07 21:56:13 -07:00
Boris Zbarsky
a63405c419 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
04ef715d82 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
ef53848cec Merge cedar into mozilla-central 2011-04-06 16:39:14 -07:00
Craig Topper
79dd891370 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
4d575fe7cd Bug 645956 - Part 5: Remove NS_NewCSSCharsetRule, r=bzbarsky 2011-03-22 23:20:09 -07:00
Matheus Kerschbaum matjk7@gmail.com
83489c2891 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
c8e9583cc3 Bug 647710: Fixed color profile leak. r=josh 2011-04-06 16:00:45 -07:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Robert Longson
33c52d85ab Bug 641858 - text does not reflect dynamic gradient/pattern changes r=jwatt 2011-04-03 13:23:40 +01:00
Timothy Nikkel
6a72c8927e Bug 642977. Don't suppress painting if the document isn't loading; r=bz 2011-04-06 11:00:35 -07:00
Timothy Nikkel
8e035ecec6 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
c3f0866bff Bug 645203. Make sure we skip non-XUL nodes inside trees; r=neil 2011-04-06 10:52:07 -07:00
Mats Palmgren
fdde5d340c Bug 639733 - Include the tag name in the frame state key. r=bzbarsky 2011-04-06 13:32:31 +02:00
Jesse Ruderman
77cf9af856 Bug 639733 - Crash test. 2011-04-06 13:32:31 +02:00
Mats Palmgren
73a0c83824 Bug 614969 - Use the primary frame for the display style test. r=bzbarsky 2011-04-04 13:41:02 +02:00
Mats Palmgren
7288597be1 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
7bc245e495 Bug 642800 - Add a script blocker to avoid nested PrepareEditor calls. r=ehsan 2011-04-04 13:41:02 +02:00
Mats Palmgren
74b4c1dcd1 Bug 645423 - Don't poison nsRuleData in --enable-valgrind builds. r=dbaron 2011-04-04 13:41:02 +02:00
Mats Palmgren
5e7c4e1182 Bug 645423 - Initialize the poison value also for DEBUG_TRACEMALLOC_PRESARENA builds. r=dbaron 2011-04-04 13:41:02 +02:00
Chris Leary
4f6b3c79c8 Merge tracemonkey to mozilla-central. 2011-03-31 15:47:46 -07:00
Paul Biggar
43b850291d 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
c6e4498a20 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
Robert O'Callahan
0bd609d840 Bug 635373. Tests 2011-04-01 10:33:46 +13:00
Robert O'Callahan
07c2424cf5 Bug 635373. Add layersOpenGL to the reftest harness. r=dbaron 2011-04-01 10:33:46 +13:00
Robert O'Callahan
77ab860b5c Bug 644832. Windowless plugins inside CSS transforms should be rendered. r=tnikkel 2011-04-01 10:33:46 +13:00
Robert O'Callahan
d13eeaf01c Bug 641770. Apply correct clip rect to a layerized image. r=tnikkel 2011-04-01 10:33:46 +13:00
Robert O'Callahan
8fd77f670c Bug 617539. Remove nsIPresShell_MOZILLA_2_0_BRANCH(2). r=tnikkel 2011-04-01 10:33:46 +13:00
Boris Zbarsky
6673da2a39 Bug 646850. When resetting length to the pre-animation value, make sure to not lose track of our units. r=dholbert 2011-03-31 15:29:44 -04:00
Boris Zbarsky
1014c1d928 Bug 646912. Fix grad-to-degree conversion factor. r=dholbert
--HG--
rename : layout/reftests/svg/smil/motion/animateMotion-rotate-1.svg => layout/reftests/svg/smil/motion/animateMotion-rotate-1a.svg
rename : layout/reftests/svg/smil/motion/animateMotion-rotate-1.svg => layout/reftests/svg/smil/motion/animateMotion-rotate-1b.svg
2011-03-31 15:29:44 -04:00
Ehsan Akhgari
41f6aee99f Merge cedar into mozilla-central 2011-03-31 14:11:37 -04:00
Joel Maher
335f832c43 Bug 638815 - reftest seems to have no way to do a green run on android, r=mfinkle a=test-only 2011-03-31 13:08:07 -04:00
Joel Maher
d06f7b420e Bug 473817 - allow conditional 'include' in reftest manifests. r=dbaron, a=test-only 2011-03-31 13:08:05 -04:00
Kyle Huey
e169e16015 Back out Bug 639754. 2011-03-31 09:12:20 -04:00
Kyle Huey
61ff9410c4 Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
Masayuki Nakano
f137ac24c5 Bug 645662 Should not consume mouse down event at the sub menu of splitmenu or toolbarbutton rolled up r=enndeakin 2011-03-31 21:28:19 +09:00
Matheus Kerschbaum
1f81122982 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg 2011-03-31 07:22:55 -04:00
Ehsan Akhgari
a0f4acae30 Merge cedar into mozilla-central 2011-03-30 13:53:35 -04:00
Ehsan Akhgari
5199d98d91 Bug 645914 - Do not eat the white-space when doing word selection if the eaten whitespace is a newline character and we have been instructed not to jump between lines; r=roc
This fixes a bug in selecting words at the end of lines in textarea's for Windows.
2011-03-30 11:56:48 -04:00
Mounir Lamouri
ceab8b6711 Bug 640545 - Specify that the load has failed in the error message when a reftest load failed. r=dbaron 2011-03-30 14:38:44 +02:00
Ehsan Akhgari
6c4d70e8f0 Bug 644428 - Position the caret correctly for empty inline frames; r=roc 2011-03-28 20:17:16 -04:00
Jonathan Kew
1095b2347e bug 418975 - support ­ when calculating min width for table and fieldset. r=roc. landing on the CLOSED TREE after dbaron went to bed :) 2011-03-24 15:22:37 +00:00
Jonathan Kew
df641cb631 additional crashtest for bug 645072 2011-03-30 07:39:11 +01:00
Jonathan Kew
de1012f0b9 bug 418975 - backed out changeset f1d26af4c57b to re-enable tests for ­ in tables 2011-03-27 09:14:41 +01:00
Simon Montagu
c1998d7c2c Change x-gbk to gbk in charset titles. Bug 369403, r=emk 2011-03-30 08:35:36 +02:00