Commit Graph

15043 Commits

Author SHA1 Message Date
Jet Villegas
3398141cef Bug 806068 part 1: Add support for unprefixed "initial" keyword in CSS (retaining prefixed keyword as an alias, for now). r=dholbert 2012-10-30 16:40:33 +01:00
Boris Zbarsky
7cb30ff9c6 Bug 801819. Remove nsIDOMCSS2Properties and the classinfo bits for CSS declarations. r=peterv,dbaron 2012-10-30 17:14:06 -04:00
Neil Deakin
6dd208b092 Bug 806781, null-check the document when updating menu items, r=neil 2012-10-30 15:55:03 -04:00
Neil Deakin
7f7a4c6096 Bug 793157, address extra review comments, r=neil 2012-10-30 15:55:00 -04:00
Kyle Huey
bdf47895bb Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Nathan Froyd
bd55a07f0e Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Wes Johnston
a61ea6976f backout 387a5f8b5e4f and b45a4dcb88c1 2012-10-29 15:45:52 -07:00
Phil Ringnalda
ae9658f5bb Bug 806253 - Reftest needs to set prefs to disable blocklist updates, to avoid having them reported as leaks when they are still running at shutdown
--HG--
extra : rebase_source : 0a8103ec19056a71a150e5fe794807518f0aaf0e
2012-10-29 15:10:07 -07:00
Jacek Szpot
0b35b0e3d8 Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Wes Johnston
c5198449d0 Bug 790454 - Follow up to fix bustage and remove unused nsresult. r=dholbert 2012-10-29 14:35:15 -07:00
Wes Johnston
a109da13a9 Bug 790454 - Find target for touch during touchstart. r=smaug 2012-10-29 14:02:17 -07:00
L. David Baron
addb318e8f Bug 572200, part 3: Cache data that lives in the rule tree on every relevant rule node that has a style context directly pointing to it directly. r=bzbarsky 2012-11-07 11:55:53 -08:00
L. David Baron
58f7327fc2 Bug 572200, part 2: Allow rule nodes to cache data owned by an ancestor rule node: don't destroy structs that we don't own. r=bzbarsky 2012-11-07 11:55:53 -08:00
L. David Baron
4689079952 Bug 572200, part 1: Make rule nodes know whether they're used directly by a style context. r=bzbarsky 2012-11-07 11:55:53 -08:00
L. David Baron
0f4a543158 Bug 809533, patch 2: Don't null-check inside NS_New*Frame. r=roc 2012-11-07 11:55:53 -08:00
L. David Baron
cbecfc83f0 Bug 809533, patch 1: Make allocation in the frame arena and the display list arena infallible. r=roc 2012-11-07 11:55:53 -08:00
Daniel Holbert
d88d9f4477 Bug 783415 part 2: Add mochitest to check the computed value of various specified "display" values on flex-container-children. r=dbaron 2012-11-07 11:29:00 -08:00
Daniel Holbert
bf91bdf97d Bug 783415 part 1: Make "display" value of flex items compute to their blockified forms. r=dbaron 2012-11-07 11:28:59 -08:00
Robert Longson
95d45d92ee Bug 779971 - Make nsSVGTextPathProperty::DoUpdate trigger nsSVGTextFrame::NotifyGlyphMetricsChange() off an asynchronous change hint (to avoid calling nsLayoutUtils::FrameNeedsReflow synchronously under nsISVGChildFrame::ReflowSVG or during frame teardown, and avoid infinite loops caused by using an event queue event). r=jwatt.
--HG--
extra : rebase_source : 4dc4e59cf423f6ffb02826fb2f357edda85c048c
2012-11-07 09:53:44 +00:00
Mounir Lamouri
226d823007 Bug 809425 - Fix GCC 4.7 warnings in nsDocumentViewer.cpp. r=bz 2012-11-07 16:51:32 +00:00
Jonathan Watt
1a92bc6ab1 Bug 809328 - Stop using nsChangeHint_UpdateEffects in nsSVGRenderingObserver::DoUpdate overrides. r=roc.
--HG--
extra : rebase_source : 79d032ea6ad6275882ab675004d2e02b932d56d5
2012-11-07 13:54:55 +00:00
Ed Morley
18a52c3135 Backout 99a2125bd365 (bug 779971) for reftest failures 2012-11-07 12:31:00 +00:00
Robert Longson
af422317a5 Bug 779971 - Make nsSVGTextPathProperty::DoUpdate trigger nsSVGTextFrame::NotifyGlyphMetricsChange() off an asynchronous change hint (to avoid calling nsLayoutUtils::FrameNeedsReflow synchronously under nsISVGChildFrame::ReflowSVG or during frame teardown, and avoid infinite loops caused by using an event queue event). r=jwatt. 2012-11-07 09:53:44 +00:00
Matt Woodrow
4a08c209ba Bug 805948 - Use the local perspective value instead of trying to retrieve it from the nsStyleDisplay again. r=cjones 2012-11-07 19:56:57 +13:00
Gabor Krizsanits
f83543b9ea Bug 804120 - Offer a way to apply author stylesheet on a given document. r=bz 2012-10-29 12:21:15 +01:00
Mats Palmgren
b23b6c84db Bug 804486 - s/fontHeight/increment/ to make some code less confusing. r=roc 2012-10-29 06:44:31 +01:00
Mats Palmgren
cbfa147ac8 Bug 804486 - Add toolkit.scrollbox.horizontalScrollDistance pref, default 5. Change horizontal scroll increment from 10px to horizontalScrollDistance * GetLineScrollAmount().width(). Make GetLineScrollAmount() use the font's AveCharWidth() for the horizontal amount rather than MaxHeight(). r=roc 2012-10-29 06:44:31 +01:00
Robert O'Callahan
6eeb1f29fd Bug 805697. There is no point in checking for the existence of a caret in the presshell --- it will always have one, and it wouldn't matter if it didn't. r=mats
--HG--
extra : rebase_source : 1ab91d2d60db433da09acead53853bfec351f574
2012-10-29 17:31:45 +13:00
Robert O'Callahan
5b94df5bb2 Bug 805697. Remove StCaretHider since it's not needed anymore. r=mats
--HG--
extra : rebase_source : c2c8652585958ddaeb9e01ed1fe47a391339c2ec
2012-10-29 17:31:26 +13:00
Anthony Jones
4832a592be Bug 802658 - Part 2: Apply matrix transform to text bounds; r=Bas 2012-10-28 21:52:21 +01:00
Nathan Froyd
84cbbfb48c Bug 629633 - fix 363370-1.html intermittent orange by using reftest-wait; r=dholbert 2012-10-27 21:01:41 -04:00
Nathan Froyd
b65192bf46 Bug 778695 - fix 328829-2.xhtml intermittent orange by using reftest-wait; r=dholbert 2012-10-27 12:35:24 -04:00
Nathan Froyd
91f4b30b26 Bug 752864 - fix t1204-reset-00-c-o-test.html intermittent orange by using reftest-wait; r=dholbert 2012-10-27 12:36:36 -04:00
Nathan Froyd
dc9b9835db Bug 731706 - fix t1204-reset-02-c-o-test.html intermittent orange by using reftest-wait; r=dholbert 2012-10-27 12:37:00 -04:00
Bas Schouten
e4af70465e Bug 805831 - Followup: Fix compiler warning. 2012-10-27 16:48:37 +02:00
Bas Schouten
4f15d944ba Bug 805831: Add a cache for border corner gradients. r=joedrew 2012-10-27 06:32:52 +02:00
Phil Ringnalda
698c871d74 Back out fbd8fdb7c544 (bug 805831) for build failures 2012-10-26 21:53:41 -07:00
Bas Schouten
ed3c6b2dd4 Bug 805831: Add a cache for border corner gradients. r=joedrew 2012-10-27 06:32:52 +02:00
Paul Adenot
a8c0f2d345 Bug 800319 - Make the gradient cache differentiate between backend types. r=Bas 2012-10-26 15:34:43 +02:00
L. David Baron
29f92ad50d Add preferences (defaulting to enabled, for now) to control whether certain prefixed aliases for CSS properties are supported, so that authors can have a way to test what happens when they're turned off in advance of our disabling them. (Bug 804944) r=bzbarsky 2012-10-26 19:04:20 +02:00
L. David Baron
fe6b36ef5f Bug 804970, patch 6: Don't force rem units out of the rule tree. r=bzbarsky 2012-10-26 19:04:20 +02:00
L. David Baron
adc491234c Bug 804970, patch 5: Handle dynamic changes to the basis for 'rem' units by rebuilding all style data. r=bzbarsky 2012-10-26 19:04:20 +02:00
L. David Baron
30f8edf8dc Bug 804970, patch 4: Refactor part of RebuildAllStyleData into a helper function (slightly reordering it), so that we can share that part. r=bzbarsky 2012-10-26 19:04:20 +02:00
L. David Baron
48fdcf2bd2 Bug 804970, patch 3: Don't force vw/vh/vmin/vmax units out of the rule tree. r=bzbarsky 2012-10-26 19:04:20 +02:00
L. David Baron
f9b4b08010 Bug 804970, patch 2: Add test for dynamic changes of viewport units. r=bzbarsky
--HG--
rename : layout/style/test/test_rem_unit.html => layout/style/test/test_viewport_units.html
2012-10-26 19:04:20 +02:00
L. David Baron
6a3a6655e9 Bug 804970, patch 1: Don't force calc() units out of the rule tree. r=bzbarsky
This moves the calc() handling above the aCanStoreInRuleTree = false,
which it had no reason to be below.

calc() units are still forced out of the rule tree when there's an em,
ex, or rem unit inside the calc() structure, since aCanStoreInRuleTree
is passed through to the leaf CalcLengthWith calls.
2012-10-26 19:04:20 +02:00
Neil Deakin
c56bc18541 Bug 701760, merge <select> and popup manager rollup handling, so that select elements don't cancel out any popup rollup listeners, r=mats 2012-10-26 09:15:22 -04:00
Jonathan Watt
8545ec6439 Fix typo; no bug; DONTBUILD 2012-10-26 12:03:07 +01:00
Jonathan Watt
cd8b189e2f Bug 795592 - Stop calling nsIFrame::FinishAndStoreOverflow on NS_STATE_SVG_NONDISPLAY_CHILD frames. r=mattwoodrow. 2012-10-26 11:56:48 +01:00
Robert O'Callahan
c23292286b Bug 804323. Mark newly-transformed frames as abs-pos containers (or not). r=bzbarsky 2012-10-26 22:11:24 +13:00
Matt Woodrow
85acfcddf9 Bug 800041 - Make nsDisplayWrapList set its own reference frame correctly, and sanity check during ComputeVisibilityForSublist. r=roc 2012-10-25 18:32:25 +13:00
Robert O'Callahan
9252f6adb2 Bug 801488. Part 2: Don't Redraw; DLBI will handle everything. r=mattwoodrow 2012-10-26 14:39:31 +13:00
Robert O'Callahan
25f02f5e88 Bug 801488. Don't flush notifications when dragging a XUL splitter. r=bzbarsky 2012-10-26 14:39:24 +13:00
Andrew Quartey
549c0bfc08 Bug 792581 - part 22: Replace LL_ZERO and LL_Zero() macros with 0. r=ehsan 2012-10-25 19:25:59 -04:00
Nikhil Marathe
36f99c3113 Bug 804174 - Inline IsCallerTrustedForWrite with IsCallerChrome. r=mccr8 2012-10-25 16:10:54 -07:00
Nikhil Marathe
453b3dce5f Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8 2012-10-25 16:10:53 -07:00
Ryan VanderMeulen
130a50c2ca Merge m-c to inbound. 2012-10-25 17:43:19 -04:00
Scott Johnson
1327ccea79 Bug 802311: Make max line box width adjustment API compute right edge of line boxes correctly to fix reflow-on-zoom issues. [r=dbaron] 2012-10-25 16:38:54 -05:00
Chris Lord
cfec602eb6 Bug 805014 - Add fuzz for gradient-live tests on Android. r=jwatt
Progressive tiles have caused these tests to render slightly differently for
no obvious reason.
2012-10-25 22:11:37 +01:00
Jonathan Griffin
4ea552c35c Bug 805428 - Install reftest extension on B2G as app bundle, r=ahal, DONTBUILD(NPOTB) 2012-10-25 09:55:42 -07:00
Phil Ringnalda
aad1519dae Back out c95958e3b85d and e8a8bf41e0c4 (bug 798964) for Android reftest-4 failures 2012-10-25 01:19:57 -07:00
Phil Ringnalda
29d12d417c Back out 8bffa268afd8 (bug 800041) for reftest assertions in 745934-1.html 2012-10-24 23:49:39 -07:00
Matt Woodrow
df721374f4 Bug 800041 - Make nsDisplayWrapList set its own reference frame correctly, and sanity check during ComputeVisibilityForSublist. r=roc 2012-10-25 18:32:25 +13:00
Matt Woodrow
7992f1637d Bug 798964 - Make mLineContinuationPoint correct when we call Init() on a frame that isn't the first on the line. r=roc 2012-10-25 18:32:25 +13:00
Matt Woodrow
19592164ef Bug 798964 - Add nsDisplayBackground color and make the bounds of nsDisplayBackground match the image. r=roc 2012-10-25 18:32:25 +13:00
Shriram Kunchanapalli
139ebcaff0 Bug 799105: Adjusts the width and height to < 600px. r=smontagu. 2012-10-23 19:10:19 +05:30
Ehsan Akhgari
4b217b8c39 Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-25 14:44:37 -04:00
Ehsan Akhgari
f117c7a7b0 Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
48b5c1a608 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Ryan VanderMeulen
3150bb83c2 Backout 1ebc3b1b8feb, 205c1c846d70 (bug 801488), and e4367fd2043f (bug 804323) due to b-c crashes. 2012-10-25 07:53:36 -04:00
Mats Palmgren
2c1bcc210f Bug 798691, part 2. r=roc 2012-10-25 13:17:10 +02:00
Robert O'Callahan
ea16f5ba48 Bug 804323. Mark newly-transformed frames as abs-pos containers (or not). r=bzbarsky 2012-10-25 00:35:29 +13:00
Robert O'Callahan
dd42c402ce Bug 801488. Part 2: Don't Redraw; DLBI will handle everything. r=mattwoodrow 2012-10-25 00:34:55 +13:00
Robert O'Callahan
e931c22bfd Bug 801488. Don't flush notifications when dragging a XUL splitter. r=bzbarsky 2012-10-25 00:34:49 +13:00
Simon Montagu
7b247cb324 Don't split inlines with bidi-isolated kids unnecessarily when they don't have siblings. Bug 793233, r=roc 2012-10-25 01:36:37 -07:00
Simon Montagu
eb3d465115 Tests for bug 793233, r=roc 2012-10-25 01:36:37 -07:00
Matt Woodrow
8e05c0f895 Bug 800041 - Set the correct reference frame for nsDisplayScrollLayer when the frame is transformed. r=roc 2012-10-25 12:04:41 +13:00
Matt Woodrow
05fe77431e Bug 803556 - Schedule a paint whenever we reflow a display root frame. r=roc 2012-10-25 12:04:41 +13:00
William Lachance
15662eb630 Bug 801652 - Remove redundant devicemanager import;r=jmaher 2012-10-24 13:43:29 -04:00
William Lachance
e5adaff9ff Bug 801652 - Make sure we print logcat, device info on remote mochitest/reftest failure;r=jmaher 2012-10-24 13:34:33 -04:00
Mats Palmgren
906ea93b96 Bug 804641 - Work around Android armv6 compiler bug (again). r=roc 2012-10-24 01:34:54 +02:00
Jonathan Kew
40f8726544 bug 804644 - convert Cocoa points to _un_scaled device pixels for system font sizes. r=roc 2012-10-23 21:09:23 +01:00
Ben Turner
1493ea2ca6 Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking. 2012-10-23 09:31:19 -07:00
Neil Deakin
63abc12c82 Bug 793157, add a popup method to move a popup relative to an anchor after it has opened, r=neil 2012-10-23 08:11:13 -04:00
Neil Deakin
d7944e2171 Bug 792296, don't flush while getting popup state and calling other popup methods, r=neil 2012-10-23 08:11:09 -04:00
Chris Lord
ede9f6a2ea Bug 803826 - Assert the layer builder exists in DrawThebesLayer. r=mattwoodrow
If the layer builder is NULL, this function will cause a crash. The layer
builder being NULL indicates a bug, so assert that it isn't.
2012-10-23 12:05:29 +01:00
Chris Lord
18da1f172a Bug 803826 - Only reset the layer builder pointer in ~ClippedDisplayItem. r=mattwoodrow
PaintInactiveLayer was resetting the layer manager's layer builder pointer, but
this was unnecessary as this was also being done on destruction of the
ClippedDisplayItem.
2012-10-23 12:05:14 +01:00
Chris Lord
7f25a0bb58 Bug 803826 - Restore the layer builder pointer on return from PaintForFrame. r=mattwoodrow
It's possible for nsDisplayList::PaintForFrame to reset the layer builder
pointer on a layer manager it didn't create. Instead of setting it to null,
store the existing pointer and restore it on return.
2012-10-23 12:01:23 +01:00
Jonathan Kew
7cd7932810 bug 715798 pt 3.5 - canvas reftest to check that emoji character is non-blank. r=jrmuizel 2012-10-23 10:07:57 +01:00
Jonathan Kew
966af42211 bug 715798 pt 2.5 - reftests to check Unicode emoji characters are not rendered blank. r=jrmuizel 2012-10-23 10:06:28 +01:00
Karl Tomlinson
71316ceb81 b=793501 attach DocumentViewer to top GTK widget r=roc
--HG--
extra : transplant_source : F%94%EC%07%23%7B2L%BCr%28%C5%088%06%FD%CD%9A%BAe
2012-10-23 11:46:45 +13:00
Karl Tomlinson
279ac60f86 b=793501 don't resize toplevel window in response to resized notification r=bz
--HG--
extra : transplant_source : U%3E%D3b%3D%AE0%0D%C7%8D%27%F5a%D4%F6%2C%27%EE%EA%A1
2012-10-23 11:32:24 +13:00
Robert O'Callahan
ddcd08f0e2 Bug 800859. Part 4 alternative: unconditionally dispatch MozAfterPaint to all subdocuments. r=mattwoodrow
--HG--
extra : rebase_source : 2cc3125aff27b55daf6d306a2c391a9587a70101
2012-10-23 14:52:48 +13:00
Robert O'Callahan
4fa3b26bd8 Bug 800859. Part 3: Dispatch MozAfterPaint after we've done the COMPOSITE step for the invalidations recorded in the event. r=mattwoodrow
--HG--
extra : rebase_source : 7a204c0930e7a2a35ad99af79d28ebba56f034fe
2012-10-19 17:50:34 +13:00
Robert O'Callahan
0f08510fc2 Bug 800859. Part 2: Remove nsIPresShell::DidPaint. r=mattwoodrow
--HG--
extra : rebase_source : 3c46d24378ca10f4cf3c476d1de6930ed9683946
2012-10-19 14:21:16 +13:00
Robert O'Callahan
0949a9118e Bug 800859. Part 1: Refactor PaintType into two independent flags. r=mattwoodrow
--HG--
extra : rebase_source : 9bb272d795f42e63ea00e0f9107eeaaa593a332d
2012-10-19 14:20:39 +13:00
Robert O'Callahan
58ec21a7d9 Bug 802457. Ensure that positioned children of intrinsic-height viewports are reflowed with the correct container height. r=mats
--HG--
extra : rebase_source : 389b5916de9b7a7bd4232f2c541ae0db7500ba2e
2012-10-23 14:48:12 +13:00
Bas Schouten
e67a9eba19 Bug 803949: Do not draw anything for zero size images. r=roc 2012-10-23 00:37:08 +02:00
Ehsan Akhgari
1f78e9ca0c Merge mozilla-central into mozilla-inbound 2012-10-22 17:05:46 -04:00
Olli Pettay
eff07d5cbb Bug 793848, faster svg:use check, r=bz 2012-10-21 15:33:38 +03:00
Olli Pettay
f5c0c70f94 Bug 802985, PreDestroy editor, r=ehsan 2012-10-20 21:48:34 +03:00
Peter Van der Beken
0fca6b2112 Fix for bug 801083 (Remove old proxy-based list bindings). r=bz. 2012-10-13 14:50:24 +02:00
Robert Longson
a164e47d1b Bug 791826 - Fix crash with SVG preserveAspectRatio, position:fixed. r=jwatt 2012-10-20 11:03:35 +01:00
Seth Fowler
f07bf4e48c Bug 503720: Implement vw/vh/vmin/vmax. r=dbaron 2012-10-19 16:21:06 -07:00
Neil Deakin
dc3b24d024 Bug 772808, Menuitems should inherit hidden attribute from commands, r=neil,smichaud 2012-10-19 16:04:07 -04:00
Nick Hurley
31985d7fa6 Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman 2012-10-22 10:51:07 -07:00
Abhishek Potnis
2509c81393 Bug 795511: Removed usages of PR_BIT and PR_BITMASK from the tree; r=ehsan 2012-10-20 07:31:43 +05:30
Mats Palmgren
aed5ac4b21 Bug 803473 - Wait for MozReftestInvalidate to fix orange. r=roc 2012-10-22 15:53:31 +02:00
Mats Palmgren
5d8d5869e1 Bug 798853, style system. r=roc,dbaron 2012-10-22 15:53:31 +02:00
Mats Palmgren
4058b7e19b Bug 802902 - Live long and prosper Mr. View Manager. r=roc 2012-10-22 15:53:31 +02:00
Robert Longson
7deef898eb Bug 801317 - Support transforms in SVG fragment identifiers. r=dholbert 2012-10-22 10:13:24 +01:00
Jonathan Kew
a9b15e7697 bug 803483 followup - remove fails-if annotation from reftests that now pass on all OSX versions. no_r=me 2012-10-22 10:13:26 +01:00
Jonathan Kew
33aed8417a bug 772640 - reftests for rendering of decomposed char via OpenType and Graphite. r=jdaggett 2012-10-22 08:47:05 +01:00
Scott Johnson
f2cabe41ad Bug 784375: Add a preference to control maximum font size inflation ratio. [r=dbaron] 2012-10-15 14:03:37 -05:00
Peter Van der Beken
57adeb4354 Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Matt Woodrow
89a46852c0 Bug 803194 - Update DisplayItemData and frame data when the merged frame list changes. r=roc 2012-10-19 17:36:00 +13:00
Ehsan Akhgari
839cc85349 Bug 794510 - Part 8 (second half) 2012-10-18 15:04:20 -04:00
Ehsan Akhgari
aeed0aaefd Bug 794510 - Part 8: Use void* parameters to mmap and friends as opposed to caddr_t; r=bsmith
caddr_t is an obsolete BSD type which we don't need to use any more.
2012-10-18 15:00:31 -04:00
Joel Maher
395e543ab2 Bug 800093 - adjust reftest-sanity tests to fit in a 600x600 window. r=dbaron 2012-10-18 08:03:40 -04:00
Robert O'Callahan
91ac2b984a Bug 703241. Part 3: nsLayoutUtils::GetTransformToAncestor should handle the case where aAncestor == aFrame. r=matspal 2012-10-17 16:13:24 +13:00
Robert O'Callahan
cc83e9aace Bug 703241. Part 4: Don't let 'frame' be treated as its own container in PresShell::DoScrollContentIntoView. r=matspal
--HG--
extra : rebase_source : 1fba4feec8e6686d00c79bb2aea5d5ac0837c116
2012-10-17 17:44:06 +13:00
Robert O'Callahan
c5f3c7220d Bug 703241. Part 2: Stop the 'scroll top of line into view' behavior when ancestors in the line are transformed or positioned. Allow that behavior for any kind of line-participant ancestor. r=mats
--HG--
extra : rebase_source : bcbe05a09fe9f5423bb09697f8be3c6ce0c44f46
2012-06-22 17:06:54 +12:00
Robert O'Callahan
62de45cba6 Bug 703241. PresShell::DoScrollContentIntoView and PresShell::ScrollFrameRectIntoView should take transforms into account. r=matspal
--HG--
extra : rebase_source : e1a16f9a19e78ea71044ee78af9fdbf00ec48c0b
2012-06-22 17:06:49 +12:00
Robert O'Callahan
fe1244558e Bug 801763. Don't try to update geometry for plugin widgets with no parent. r=mats
--HG--
extra : rebase_source : d7d0f7c5536adc2cd0ad77c2b3169410f237d206
2012-10-17 17:51:57 +13:00
Timothy Nikkel
ada10776c7 Bug 642257. If there are no plugins in the display list skip a potentially expensive compute visibility pass with accurate visible regions to determine plugin geometry because it is not needed. r=roc
If there is a plugin in a background tab and a complex scene in a foreground tab the accurate visible regions can cause us to bog down, for no good reason.
2012-10-18 00:34:58 -05:00
Masayuki Nakano
8217ef94b6 Bug 705057 part.1 Ensure a set of composition events is fired on same content r=smaug 2012-09-26 14:47:45 +09:00
Boris Zbarsky
709a7af847 Bug 799796. Do memory reporting for stylesheets that only the CSS loader might know about. r=dbaron,njn 2012-10-17 17:01:56 -04:00
Boris Zbarsky
611fe536d0 Bug 800983. Expose a getter for default computed style. r=dbaron
An alternative implementation strategy is to add "default-only"
versions of ResolveStyleFor and ResolvePseudoElementStyle and then
modify FileRules to support those, or use a cut-down custom version of
FileRules for them.  That would be faster, but more complicated on the
style set side.  We can always make that switch if we need to, I guess.
2012-10-17 17:01:56 -04:00
Boris Zbarsky
194968b6cb Bug 795520. Don't fail to return a computed CSS declaration just because the style change that will give us a presshell has not been processed yet. r=dbaron
Another, more risky, option would be to always return a declaration
from getComputedStyle, even if we have no presshell, then just throw
(after flushing, as needed) if people try to get style info for it
just like we already do for declarations whose document loses a
presshell.  This might cause compat issues on sites that can deal with
null but not exceptions, though.  :(
2012-10-17 17:01:56 -04:00
Boris Zbarsky
22149cc16c Bug 801994. Fix intrinsic width determination in cases when we have an intrinsic ratio and our height is styled as calc() with percentages. r=dholbert 2012-10-17 17:01:56 -04:00
Boris Zbarsky
84d10d8c4d Bug 599882. Make baselines not depend on relative positioning of kids. r=dbaron 2012-10-17 17:01:55 -04:00
Emmanuele Bassi
98dfc6ddf1 Bug 784467 - Switch computed style's url(invalid-url:) to [css3-values]'s url(about:invalid). r=dbaron 2012-10-17 15:33:57 -04:00
Steven Lee
d8013ae196 Bug 790499 - Time API: Call JS_ClearDateCaches() to update Date object's timezone when the system timezone is reset, r=jlebar 2012-10-17 00:26:00 -04:00
Matt Woodrow
ba464dd210 Bug 802321 - Don't compare geometry objects for inactive layers. r=roc 2012-10-17 21:00:00 +13:00
Matt Woodrow
efa6b0782d Bug 801784 - Only add invalidate children state flags up to the nearest display root. r=roc 2012-10-17 21:00:00 +13:00
Phil Ringnalda
aee349a1a3 Bug 799332 - Set a high urlclassifier.updateinterval to match the one in automation.py.in so that we're unlikely to leak background safebrowsing updates by doing them at the wrong time, r=dbaron 2012-10-08 21:04:39 -07:00
Daniel Holbert
b2c3861a3a Bug 799207: Reduce severity of assertion that checks baseline of flex item against sentinel value. r=dbaron 2012-10-16 19:04:33 -07:00
Daniel Holbert
cf67cb6e07 Bug 798666: Constrain cross size of auto-sized flex containers to be within min/max range. r=dbaron 2012-10-16 19:04:30 -07:00
Daniel Holbert
b4614f52ed Bug 798235: For flex items in a vertical flex container, treat enumerated values for flex-basis as "auto". r=dbaron 2012-10-16 19:04:29 -07:00
Daniel Holbert
c1c75cb34f Bug 798020: Reduce severity of fatal assert about unconstrained-width flexbox, since gigantic widths in web content can reach our "unconstrained" sentinel value, and it's not actually dangerous. r=dbaron 2012-10-16 19:04:23 -07:00
Daniel Holbert
2b0d34fc2f Bug 800603: Just check rv (not rv & outparam) after calling imgIRequest:GetImage & GetImagePrincipal. r=jrmuizel 2012-10-16 16:05:54 -07:00
Daniel Holbert
0516389cc0 backout 5545892376cc (Bug 737961) for Windows reftest orange 2012-10-16 16:05:52 -07:00
Matt Woodrow
1c995bf725 Bug 750417 - Remove Redraw calls from nsSprocketLayout. r=roc 2012-10-17 10:30:37 +13:00
Matt Woodrow
efecba6d6c Bug 795674 - Handled merged frame changes with minimal invalidations. r=roc 2012-10-16 14:23:07 +13:00
Joel Maher
c6e4f2c493 Bug 737961 - add reftest manifest conditions for height width. r=dbaron 2012-10-16 16:12:25 -04:00
Gabor Krizsanits
6403599b60 Bug 676054: part3: nsStyleSheetService::GetInstance. r=bz 2012-10-16 21:45:56 +02:00
Gabor Krizsanits
bda3f0bb14 Bug 676054 - part2: Provide AUTHOR_SHEET type for registering with nsIStyleSheetService. r=bz 2012-10-16 21:45:50 +02:00
Steven Michaud
5038f543ad bug 794038 pt 3 - plugins support for resolution change. r=bgirard 2012-10-16 20:41:21 +01:00
Jonathan Kew
d0245b58c2 bug 794038 pt 2.0 - respond to changes to backing-store resolution when a window moves between HiDPI and non-HiDPI displays. r=smichaud 2012-10-16 20:41:20 +01:00
Jonathan Kew
c5e7186020 bug 794038 pt 1.2 - popup manager needs to use display pixels when constraining window to screen area. r=roc 2012-10-16 20:41:19 +01:00
Jonathan Kew
942fc8cf67 bug 794038 pt 1.0 - use global display pixel coordinates to persist and restore XUL window position and size. r=roc 2012-10-16 20:41:19 +01:00
Emmanuele Bassi
13034b2dd7 Bug 784466 - [css3-animations] Drop declarations in keyframe rules that have !important. r=dbaron 2012-10-16 09:21:35 -07:00
Boris Zbarsky
ac0f787fea Bug 801116 followup: clearer variable naming. DONTBUILD 2012-10-16 10:52:55 -04:00
Makoto Kato
402f21ecf3 Bug 801483 - make nsBufferedInputStream::Init fallible. r=bsmith 2012-10-16 17:38:20 +09:00
Phil Ringnalda
06baaa818a Back out fb167937d25b (bug 799332) because I fail at copy-paste 2012-10-15 21:02:56 -07:00
Matt Woodrow
26bbb87af2 Backout e19d625511a0 for breaking WinXP M-o 2012-10-16 16:59:35 +13:00
Phil Ringnalda
a0ada57ef1 Bug 799332 - Set a high urlclassifier.updateinterval to match the one in automation.py.in so that we're unlikely to leak background safebrowsing updates by doing them at the wrong time, r=dbaron 2012-10-08 21:04:39 -07:00
Boris Zbarsky
d932e15ac7 Bug 801116. Take box-sizing into account when computing intrinsic width based on a fixed height and an intrinsic ratio. r=dholbert 2012-10-15 23:12:03 -04:00
Matt Woodrow
f9d6f7fdd4 Bug 801365 - Invalidate ThebesLayers if the zoom factor changes. r=roc 2012-10-16 14:10:51 +13:00
Matt Woodrow
7c4e5b5701 Bug 800198 - Make mContainerReferenceFrame the reference frame for the items inside the container, not the container itself. r=roc 2012-10-16 14:10:48 +13:00
Matt Woodrow
773891762c Bug 770001 - Add invalidation test helpers and form control invalidation mochitest. r=roc 2012-10-16 14:10:45 +13:00
Robert O'Callahan ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
0c3c65fbc0 Bug 770001. When a display item has changed, don't bother invalidating areas that have been clipped out. r=mattwoodrow, roc 2012-10-16 14:10:43 +13:00
Daniel Holbert
4144f09473 Bug 542039 followup: Replace "namespace ... = mozilla::..." with "using namespace mozilla", to fix build error w/ --disable-accessibility. rs=tbsaunde 2012-10-15 15:44:34 -07:00
Trevor Saunders
9f951a761e bug 801659 - clean up cache of DocAccessible on pres shells, and add fast path to nsAccDocManager::GetDocAccessible() r=surkov, dholbert 2012-10-15 10:58:42 -04:00
Scott Johnson
a7b8adc9c0 Bug 787210: Add capability to import-tests.py to import ahem font if necessary for tests. [r=dbaron] 2012-10-15 15:39:15 -05:00
Scott Johnson
5b297d3387 Backout e52a16b96738 (Bug 784375) for oranges on OSX 10.8. 2012-10-15 15:13:40 -05:00
Daniel Holbert
93791d3f3b Bug 801098: Unprefix flexbox properties & keywords (still preffed off by default). r=dbaron 2012-10-15 12:42:43 -07:00
Scott Johnson
c5c4e9bfb9 Bug 784375: Add a preference to control maximum font size inflation ratio. [r=dbaron] 2012-10-15 14:03:37 -05:00
Scott Johnson
d0463a203f Backout 94f06c75c3b5 for lack of reviewer. 2012-10-15 14:13:35 -05:00
Scott Johnson
4f79a3d4c2 Bug 784375: Add a preference to control maximum font size inflation ratio. 2012-10-15 14:03:37 -05:00
Chris Lord
d02d1ec010 Bug 801566 - Fix building with --disable-debug and --enable-dump-painting. r=mattwoodrow
Change #ifdef DEBUG to MOZ_DUMP_PAINTING for function AppUnitsPerDevPixel.
2012-10-15 19:56:11 +01:00
David Zbarsky
ebd6229e0a Backout bug 779684 for topcrash 2012-10-15 14:35:50 -04:00
David Zbarsky
52e0277cdc Bug 799407: Enable FAIL_ON_WARNINGS in more of layout/ r=roc 2012-10-15 01:42:40 -04:00
Trevor Saunders
b51bb304d8 bug 542039 - accessible object types r=surkov, roc 2012-09-28 17:53:44 -04:00
William Lachance
3d699579d7 Bug 756440 - Only warn when we fail cleanup steps with mobile mochitest/reftest;r=jmaher
Before we were outright failing if the test logfile was missing when cleaning
up these tests. But that's generally a sign that the app failed to start
up properly, which is the true issue we should be trying to catch / diagnose.
Let's just print a warning here and move on.
2012-10-15 10:15:19 -04:00
Josh Aas
da0ff685ab Bug 598397: Remove support for Carbon NPAPI. r=smichaud 2012-10-15 08:38:34 -04:00
Joel Maher
2eff828189 Bug 800099 - scroll-rounding reftest requires > 600x600 resolution. r=mats 2012-10-15 07:10:51 -04:00
Kan-Ru Chen (陳侃如)
df71a77f5d Bug 797681 - Register GonkGPSGeoLocationProvider as a XPCOM service. r=dougt 2012-10-15 14:40:51 +08:00
David Zbarsky
47da3f3432 Backout 784bb7c5ea9c (Bug 799407) for bustage 2012-10-15 02:14:34 -04:00
David Zbarsky
92d607b47a Bug 799407: Enable FAIL_ON_WARNINGS in more of layout/ r=roc 2012-10-15 01:42:40 -04:00
Robert O'Callahan
dd6953881f Bug 795657. Don't reframe for adding a transform when absolute descendants are present, when the frame is already positioned. r=bz
--HG--
extra : rebase_source : 4c4fbbe51069b58a023c7f40f70f9f13efc487e1
2012-10-10 23:25:57 +13:00
Robert O'Callahan
7d6e031363 Bug 786740. When destroying all the frames in a line list, keep the line list and frame list valid at each step in case someone tries to walk the frame tree during frame destruction. r=mats
--HG--
extra : rebase_source : 7045daffc35fdaca02a74caa52a93a270c94cf74
2012-10-15 14:34:23 +13:00
Matt Woodrow
378eb8c2fa Bug 795674 - Remove mNewDisplayItemData. r=roc 2012-10-12 15:39:46 +13:00
David Zbarsky
f16ecc6e9f Bug 799407: Turn on FAIL_ON_WARNINGS under layout/generic r=roc 2012-10-14 21:28:23 -04:00
Nicholas Nethercote
16bd3d758f Bug 800187 (part 1) - Add memory reporter for the nsStyleSheetService. r=bz.
--HG--
extra : rebase_source : fc5c04daa0fd919f11470b090e38e9e8a5f19db6
2012-10-11 21:05:38 -07:00
David Zbarsky
4304df5794 Bug 799407: Fix warnings under layout/generic, r=roc 2012-10-14 16:56:03 -04:00
Mats Palmgren
03aa3e3bb6 Bug 798691. r=roc 2012-10-14 20:27:37 +02:00
Jonathan Watt
5c64e1de9c Reftest for bug 797231 (Clip path region is incorrect with direct2d). r=Bas. 2012-10-14 16:30:14 +01:00
Ehsan Akhgari
4e37e1c2f8 Remove nsSelectionIterator::mType because it is unused, no bug 2012-10-13 17:37:09 -04:00
Ehsan Akhgari
c4db3e7dff Remove nsGridRowGroupLayout::mRowColumn because it is unused, no bug 2012-10-13 17:34:22 -04:00
Robert O'Callahan
ac2e27ffd8 Bug 626245. Part 5: Move plugin widgets before compositing the window, not after. r=matspal
--HG--
extra : rebase_source : 147afbc494e9b05f52b134ca6dd4f9635457d879
2012-10-10 23:25:57 +13:00
Robert O'Callahan
e96fb0fe57 Bug 626245. Part 4.5: Forward WillPaintWindow/DidPaintWindow notifications to the presshell and do plugin geometry updates from there. r=matspal
--HG--
extra : rebase_source : 5cf892e26962ef045d76a69fa4b4be9f7d7388da
2012-10-10 23:25:57 +13:00
Robert O'Callahan
e7f231d6c8 Bug 626245. Part 4: Compute plugin widget geometry updates via the refresh driver's painting, and defer actual widget updates until we've just composited the window. r=mats
Updating plugin widget geometry every time we paint means we don't have to
explicitly request plugin geometry updates.
This patch stops us from flushing plugin geometry changes in
FlushPendingNotifications(Flush_Layout). There are too many Flush_Layouts and
flushing plugin geometry changes on them produces frequent
desynchronization of the plugin geometry with the rendered window contents.
There is some Web compatibility risk there --- it means we have to change
our tests, for one thing --- but hopefully it's OK.

--HG--
extra : rebase_source : 87adde45795ea2cab362ed9df54e62c5cc97e16c
2012-10-07 02:03:23 +13:00
Robert O'Callahan
c36b325aed Bug 626245. Part 3.5: Fix nsLayoutUtils::Transform functions to convert to correct appunits values for the destination frame. r=mats
--HG--
extra : rebase_source : d8130b84e38d5a0cdc84375e22d06951a405025b
2012-10-12 13:11:37 +13:00
Robert O'Callahan
9b829aa943 Bug 626245. Part 3: Make aAncestor const in TransformFrameRectToAncestor. r=matspal
--HG--
extra : rebase_source : d09fd6845a0405dd657fc0c0c1d43ebbab2bfc9d
2012-10-08 17:52:52 +13:00
David Zbarsky
e601e292c3 Backed out changeset 3884ab03451d (bug Bug 799407) because new warnings have
been added.
2012-10-13 14:49:35 -04:00
David Zbarsky
00416cfb9c Bug 799407: Fix warnings under layout/generic, r=roc 2012-10-13 14:31:19 -04:00
Jeff Muizelaar
491b02a2e0 Bug 799335. Fix unintenional image flash on tab switch. r=joe,dholbert
This was caused by bug 792199.

There are two parts to this fix:
1. Always decode during StartDecoding even if we already have a Decoder
(hopefully this is safe) This was a bug in the original patch.

2. After calling StartDecoding() we recheck if we're complete and abort if
we're not doing a SYNC_DECODE. Before this regression we would usually be done
decoding the image because of the decoding we did when we Locked all of the
images on tab switch.

--HG--
extra : rebase_source : 9db93075aad2f45c6cc70d27ef67468b4507642c
2012-10-12 16:04:32 -04:00