Граф коммитов

5193 Коммитов

Автор SHA1 Сообщение Дата
Mats Palmgren 39023d6138 Backout Part 4 of bug 524925 (73eaf1199ff0). r=roc 2012-02-07 12:31:37 +01:00
Mats Palmgren 524d53aefd merge backout 2012-02-07 12:31:30 +01:00
Mats Palmgren 8fffb0a751 Backout bug 719177 (2cae7e5c62ae,07bd73451aa4,13739446fc8e,0246973f2513,f222fbece983,8f11aaac24dc). r=roc 2012-02-07 12:31:24 +01:00
Mats Palmgren 1fec903ca0 merge backout 2012-02-07 12:31:19 +01:00
Mats Palmgren 5d1cd83ac0 Backout bug 722117 (a5569fc4c390). r=roc 2012-02-07 12:31:14 +01:00
Mats Palmgren bfac4d992c Bug 722117 - "ASSERTION: CalcDifference() returned bigger hint than MaxDifference()" with blink. r=roc 2012-01-29 09:48:20 +01:00
Mats Palmgren 7283867059 Bug 719177 - Changes to 'clip' only needs to update the overflow areas and repaint but does not need a reflow. r=roc 2012-01-28 04:35:59 +01:00
Mats Palmgren ee924ef647 Bug 719177 - Changes to 'border-image-outset' only needs to update the overflow areas and repaint but does not need a reflow. r=roc 2012-01-28 04:35:59 +01:00
Mats Palmgren 1cb6fcbe98 Bug 719177 - Introduce NS_STYLE_HINT_UPDATE_OVERFLOW as a short-hand for nsChangeHint(nsChangeHint_RepaintFrame | nsChangeHint_UpdateOverflow). r=roc 2012-01-28 04:35:59 +01:00
Mats Palmgren 549f408fd2 Bug 719177 - Changes to '-moz-text-blink' and some 'text-decoration-style' values only need to update the overflow areas and repaint, not reflow. r=roc 2012-01-28 04:35:58 +01:00
Mats Palmgren e5eaf7efff Bug 719177 - Replace all NS_STYLE_HINT_VISUAL with nsChangeHint_RepaintFrame except for 'visibility' and 'z-index' which are the only ones that need SyncFrameView. r=roc 2012-01-28 04:35:58 +01:00
Mats Palmgren 5405af3370 Bug 719177 - Changes to 'text-shadow' and 'box-shadow' only needs to update the overflow areas and repaint, not reflow. Changes to border style/color/etc only needs repaint, not SyncFrameView. r=roc 2012-01-28 04:35:58 +01:00
Mats Palmgren 72721c13d3 Bug 672944 - Setup overflow areas for the scrolled block frame in a XUL scroll frame for the benefit of text-overflow; Make the text-overflow code grok the extra wrapper frame in this case. r=roc 2012-01-28 04:35:59 +01:00
Jonathan Watt 9d9f30e5b7 Bug 701060 - Fix race condition with pref observers causing test orange. r=ehsan. 2012-01-27 22:16:44 +00:00
Mats Palmgren f041a7bb71 Bug 524925 - Make outline style changes update the overflow and repaint instead of reflow. part=4/6 r=roc 2012-01-18 21:04:51 +01:00
Mats Palmgren d989d0c6ac Bug 524925 - Make all transform style changes update the overflow and repaint instead of reflow. part=3/6 r=roc 2012-01-18 21:04:51 +01:00
Nicholas Nethercote fb2f58d5b0 Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Daniel Holbert 50ab5dd50d Bug 695222 followup: fix indentation in column-fill chunk of nsRuleNode::ComputeColumnData. [ whitespace-only, DONTBUILD ] 2012-01-25 16:52:19 -08:00
L. David Baron 37b3137e6e Fix error report for unexpected character terminating style attribute. (Bug 720163) r=bzbarsky 2012-01-24 17:21:28 -08:00
Jonathan Watt f6b33b37f7 Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron. 2012-01-24 13:09:55 +00:00
Mats Palmgren ed105170bb Bug 524925 - Consolidate overflow clipping checks to nsFrame::ApplyOverflowClipping(); and fix some code style nits. part=5/6 r=roc 2012-01-18 21:04:51 +01:00
Benjamin Stover 7142e1a416 Bug 524925 - Recompute overflow without reflowing for transforms. part=1/6 r=dbaron
Add an extra change hint, UpdateOverflow, that can be used to specify that
a frame's overflow areas may have changed and that they need to be recalculated.
When a transform on a frame changes, instead of marking it for reflow, set this
hint instead.

There is an added virtual function on nsIFrame, UpdateOverflow, which is called
recursively on a frame when the corresponding hint is set, to allow it to
update its overflow areas.
2011-06-15 14:03:49 -07:00
Greg Karz 5bb617cc42 Bug 712347 - 'The image cannot be displayed ...' error message is hard to read on a dark background. r=roc 2012-01-13 16:26:41 -08:00
Simon Montagu b2f7ab6325 Implement text-align-last. Bug 536557, r=dbaron 2012-01-12 19:52:21 +02:00
Ed Morley ac38698654 Backout 6605cc311ec5 & 9217303c2e5c (bug 536557) for M4 orange 2012-01-12 15:33:00 +00:00
Simon Montagu d5512dd24e Implement text-align-last. Bug 536557, r=dbaron 2012-01-12 16:29:20 +02:00
Boris Zbarsky 19ccf027af Bug 716226. When using insertRule on a keyframes rule, set up the child keyframe rule correctly. r=dbaron 2012-01-11 14:36:43 -05:00
Scott Johnson 6692951f5b Bug 715203 - Fix ua.css to include moz-column-fill as inherited property for scrolled content. [r=bz] 2012-01-09 16:15:10 -06:00
Jonathan Kew 813de7c62d bug 711690 - don't warn about unsupported font formats if a different source successfully loads. r=jdaggett 2012-01-05 10:14:11 +00:00
Nathan Froyd 4ad11985d5 Bug 712299 - don't require manual syncing of font data; r=bz 2011-12-20 11:49:16 -05:00
Bobby Holley 8a5a48f99b Bug 713747 - Remove usage of UniversalFoo in gecko. r=bz 2011-12-30 09:35:39 -08:00
Geoff Lankow 2547cf2395 Bug 246620 - Add line numbers to View Source for Firefox; r=ehsan 2011-11-02 14:05:50 +13:00
Scott Johnson 05e2a61287 Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron 2011-12-25 23:25:59 -06:00
Geoff Lankow a86ff2c3bd Backed out changeset 4730eb3ec77a (bug 246620) 2011-12-26 13:19:08 +13:00
Geoff Lankow 0dfe442efa Bug 246620 - Add line numbers to View Source for Firefox; r=ehsan 2011-11-02 14:05:50 +13:00
William Chen c69e6b2ab5 Bug 497995: Part 3 - Cleanup nsCoord initial value handling. r=dbaron
--HG--
extra : rebase_source : 9ed22aa9e24016566fe0e843e6019c4a583ca788
2011-12-22 18:35:02 -05:00
William Chen 33aa313de3 Bug 497995: Part 2 - Update existing border-image tests. r=dbaron
--HG--
extra : rebase_source : b9fb3987c8540457fa1f7b3e27420f208207a9c0
2011-12-22 18:34:53 -05:00
William Chen 98851d1423 Bug 497995: Part 1 - Implement border-image revisions in latest css3-background spec. r=dbaron
--HG--
extra : rebase_source : 5a6cdac6a4b1353170f23f39dd2a209374e72531
2011-12-22 18:34:45 -05:00
Ryan VanderMeulen b7e4719cb4 Bug 712847 - Change declaration to struct to fix MSVC warning. r=bz 2011-12-22 11:50:56 +01:00
Jeff Walden 0125af07b4 Bug 704687 - Mark final classes as MOZ_FINAL, now that nsDerivedSafe no longer exists again. r=dbaron
--HG--
extra : rebase_source : f6a25c06275e4fbb2e69462118f242d380bdce03
2011-12-19 13:48:15 -05:00
Jeff Walden 58d5e1fb1b Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Boris Zbarsky 9244683b54 Bug 700221. Don't pay attention to whether author color are allowed when deciding whether a change to a non-color property should drop native theming. r=dbaron 2011-12-21 16:53:21 -05:00
aceman 98c3beb6cf Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky 2011-12-21 16:51:29 -05:00
Nicholas Nethercote 67d30e3fdd Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron. 2011-12-19 19:46:39 -08:00
Scott Johnson 576667aa18 Backout changeset 93f523345fb6. 2011-12-20 00:01:32 -06:00
Scott Johnson c1e845eb8b Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron 2011-12-19 23:11:54 -06:00
Scott Johnson 7c6bfe3458 Backed out changeset 74555805376d 2011-12-19 23:08:52 -06:00
Scott Johnson de50ab48f4 Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron 2011-12-19 22:25:19 -06:00
Nicholas Nethercote 301136c2ce Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Robert O'Callahan 3547ebd82e Bug 702739. Don't dirty the transformed frame when we reflow it due to a transform change. r=mats 2011-12-19 10:57:27 +13:00
Matt Brubeck 4413581467 Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures 2011-12-18 08:15:09 -08:00
Robert O'Callahan 9350cc5a3d Bug 702739. Don't dirty the transformed frame when we reflow it due to a transform change. r=mats 2011-12-18 21:46:39 +13:00
Carlo Alberto Ferraris bb431b4ed2 Bug 376997 - Images should be rendered against a neutral background. r=bz ui-r=limi 2011-12-14 23:20:47 -08:00
Matt Brubeck b2227eac42 Back out 97b8cff2764f (bug 376997) for Android reftest failures 2011-12-16 13:10:44 -08:00
Rob Campbell 0c26f9bd06 merge fx-team to m-c
--HG--
rename : browser/devtools/styleinspector/test/browser/browser_bug683672.js => browser/devtools/styleinspector/test/browser_bug683672.js
rename : browser/devtools/styleinspector/test/browser/browser_styleinspector.js => browser/devtools/styleinspector/test/browser_styleinspector.js
2011-12-16 14:42:54 -04:00
Carlo Alberto Ferraris 4eda7c1e5b Bug 376997 - Images should be rendered against a neutral background. r=bz ui-r=limi 2011-12-14 23:20:47 -08:00
Masatoshi Kimura 406be1fbd0 Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Jet Villegas f3c5bd0336 Bug 511909. Allow @-rules to nest when parsing CSS. In particular, allow them inside @media and @-moz-document. r=dbaron 2011-12-14 23:42:15 -05:00
Boris Zbarsky 6b568c299e Bug 709256 part 5. Fast-path nsAnimationManager::DispatchEvents when there are no events. r=dbaron 2011-12-14 23:42:15 -05:00
Boris Zbarsky e98f996b01 Bug 709256 part 3. Skip calling PresShell::FlushPendingNotifications altogether if there might not be anything to flush. r=roc 2011-12-14 23:42:15 -05:00
Andrew Quartey ed6375373b Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal 2011-12-13 14:17:59 +00:00
Ali Juma a2c4c94276 Bug 586863 - Eliminate #ifdef GFX_HAS_INVERT blocks since GFX_HAS_INVERT is never defined. r=dbaron 2011-12-09 14:18:05 -05:00
Boris Zbarsky f30aa51903 Bug 700914. Initialize the rulehash's hashtables lazily. r=dbaron 2011-12-09 05:29:01 -05:00
Nicholas Nethercote 7cdc7e0fb8 Bug 705987 - Use mallocSizeOf in the layout memory reporters. r=khuey,bzbarsky 2011-12-08 21:01:52 -08:00
Boris Zbarsky 4a35271f4c Bug 689443. Switch PerWeightData back to using linked lists instead of arrays for the actual per-weight rule data, so as to reduce fragmentation. r=dbaron
This incidentally fixes a bug where we were copying the per-weight data very inefficiently.
2011-12-08 01:32:11 -05:00
Daniel Holbert b9daf16f09 Bug 698967: Fix "lengths" typo in test-descriptions for integer-valued properties in test_transitions_per_property.html. r=dbaron DONTBUILD 2011-12-06 18:49:15 -08:00
Boris Zbarsky 21303f1007 Bug 704911. Don't restyle based on state selectors that match our node but don't depend on the state that's changing. r=dbaron 2011-12-05 23:58:15 -05:00
Matt Woodrow 8f1897aa3e Bug 704468 - Reverse rotation direction for rotate3d() transform function. r=dbaron 2011-12-05 11:53:38 +13:00
Simon Montagu 66a9645567 Add selectors so that block elements with dir also get unicode-bidi: -moz-isolate in the default stylesheet. Bug 676245, r=dbaron 2011-12-04 18:02:10 +02:00
Chris Pearce 527272b778 Bug 702146 - Move :-moz-full-screen-ancestor to an override style sheet. r=bz 2011-11-30 11:00:31 +13:00
Masatoshi Kimura 4e7b901724 Bug 627885 - Reduce test_value_cloning test output, r=dbaron 2011-10-30 00:55:00 -07:00
L. David Baron 128e6b425f Apply font size inflation to line heights. (Bug 627842, patch 11) r=roc
Since font size inflation applies to the text after style data
computation, we must separately apply this inflation to line heights.
2011-11-23 18:48:23 -08:00
L. David Baron b20ea773ca Add support for -moz-text-size-adjust CSS property. (Bug 627842, patch 1) r=bzbarsky
This property is analogous to the -webkit-text-size-adjust property (and
*maybe* also the -ms-text-size-adjust property).  It allows pages to opt
out of text size adjustments performed on mobile devices by specifying
-moz-text-size-adjust: none.
2011-11-23 18:48:23 -08:00
Jeff Walden dd6d340250 Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Chris Pearce ff889f9be2 Bug 702295 - Don't apply overflow:hidden to full-screen-ancestor chrome roots. r=bz 2011-11-18 15:22:48 +13:00
Rob Campbell e608db6cdd merge fx-team to mozilla-central 2011-11-15 13:57:15 -08:00
Jared Wein 109dbf1b64 Bug 537718 - Video should scale for a small window. r=dao r=roc 2011-11-14 15:58:41 -08:00
Ed Morley 4e8f0f6714 Backout 15cf68a3c027, 2f403e4c42c8, 61534874aed7, 1cb3705557d9 & 03970d1fc919 (bug 661746) for Win PGO build failures; a=bz 2011-11-14 18:10:22 +00:00
David Zbarsky 24a72d14af Bug 661746 - Part 5: Avoid creating atoms during selector matching. r=bzbarsky 2011-11-14 16:30:28 +13:00
David Zbarsky 9f156be58b Bug 661746 - Part 4: use const nsIDocument in selector matching. r=bzbarsky 2011-11-14 16:30:22 +13:00
David Zbarsky bb842170d4 Bug 661746 - Part 3: Use const selectors during selector matching. r=bzbarsky 2011-11-14 16:30:16 +13:00
David Zbarsky 71ff78f98c Bug 661746 - Part 2: Make selector matching work with const elements. r=bzbarsky 2011-11-14 16:30:08 +13:00
David Zbarsky 61f5387850 Bug 661746 - Part 1: Delay setting slow selector flags during selector matching to avoid mutating Elements. r=bzbarsky 2011-11-14 16:29:56 +13:00
David Zbarsky a9344164a3 Bug 660959 - Update link state less lazily r=bz 2011-11-14 16:24:41 +13:00
Jared Wein 7fd6d145b7 Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets. r=roc, r=dao 2011-11-10 15:08:47 -08:00
Jared Wein 902cab5843 Bug 700854 - {Media,Image,Video}Document should reference an external stylesheet for use in styling their content. r=roc 2011-11-10 15:08:07 -08:00
Jared Wein 380b0f612b Backout changeset 40b0d61c132b due to bad commit message 2011-11-10 15:07:10 -08:00
Jared Wein e11c3a7333 Backed out changeset b77ec6e8eb8c due to bad commit message 2011-11-10 15:04:12 -08:00
Jared Wein 9309c2a8e6 Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets 2011-11-10 15:02:26 -08:00
Jared Wein 74e66977d3 Bug 700854 - {Media,Image,Video}Document should reference an external stylesheet for use in styling their content 2011-11-10 15:02:21 -08:00
John Daggett 815361421e Bug 701262. Fix font redirect request failures. r=sicking 2011-11-11 08:38:23 +09:00
Ed Morley e8cc3fd50a Merge mozilla-central and mozilla-inbound 2011-11-05 18:46:28 +00:00
Ed Morley b4eeea3edf Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Matheus Kerschbaum 966dc039fd Bug 698630 - Remove --disable-smil build option; r=dholbert 2011-11-05 10:32:52 +00:00
Rail Aliiev a2113b4d42 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Henri Sivonen 9869353183 Bug 482921 part 13 - Avoid regressing bug 673094 - RTL characters at the end of attribute values in View Source. r=ehsan. 2011-11-01 13:33:11 +02:00
Boris Zbarsky aeeef9e5ff 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
Ed Morley ce2b56f89d Backout changeset 27b8e5fb9699 (bug 700116) for reftest failures; a=philor 2011-11-08 07:38:22 +00:00
Boris Zbarsky 077d914854 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
Chris Pearce c205ec6d86 Bug 685779 - Add -moz-full-screen-ancestor pseudo class. r=bz 2011-11-01 18:11:09 +13:00
Phil Ringnalda 1c9065631a 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 c1f34d21b4 Bug 641731 tests: reftests for :visited status in image documents. r=dbaron 2011-10-29 02:44:27 -07:00
Daniel Holbert 302d2cde5b Bug 641731: Ignore :visited status in SVG image documents. r=dbaron 2011-10-29 02:43:43 -07:00
Boris Zbarsky 735628e876 Bug 667576. Handle visited colors correctly in MathML. r=dbaron 2011-10-29 03:04:20 -04:00
Boris Zbarsky 04589480b0 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 94083766b3 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 a215a840b7 Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Daniel Holbert d1899d69d7 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
Boris Zbarsky 6893bed49b 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 979d4dad1e 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
Boris Zbarsky fae52969d9 Bug 696188. Fix leak when adding different transform lists for animation. r=dholbert 2011-10-25 12:58:35 -04:00
Jesse Ruderman 618657cc85 Bug 675553 followup: remove tautologous assertions. r=ehsan 2011-10-24 16:21:09 -07:00
Masatoshi Kimura c33af222ee 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
Jesse Ruderman 3e5199e6b9 Bug 696266 - Add some values to layout/style/test/property_database.js. r=dbaron 2011-10-21 21:03:16 -07:00
Zack Weinberg 68b592f051 Bug 659963: consistently use infallible malloc in the CSS parser. r=dbaron 2011-05-28 15:38:48 -07:00
Zack Weinberg 960e8142f0 Bug 543151 part 2: Remove the special (but inconsistent with the error console) handling of hard tabs; small tidiness tweaks. r=dbaron 2011-05-19 15:44:14 -07:00
Zack Weinberg eb75c4112d Bug 543151 part 1: Remove stream-processing code from nsCSSScanner.cpp. r=dbaron 2011-05-18 10:33:16 -07:00
Marco Bonardo 3a0bb8b0e6 Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-19 11:47:57 +02:00
Olli Pettay d30d7c0831 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay c3c86f516c Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
L. David Baron 94040566d5 Update to rules in current css3-mediaqueries spec for handling malformed media queries: all of the handling is now at the query level rather than the query list level. (Bug 689319) r=bzbarsky
--HG--
extra : transplant_source : %A1MKm%89%0D%F3%02%0E%1A%16o%97%11%5C%C9%8Ci%1Dk
2011-10-17 16:49:22 -04:00
Simon Montagu 41261a32d5 Implement unicode-bidi: -moz-plaintext in layout. Bug 662288, r=roc 2011-10-18 14:51:58 +02:00
Simon Montagu 5b5fad7c13 Implement unicode-bidi: -moz-isolate in layout. Bug 613149, r=roc 2011-10-18 14:51:57 +02:00
Simon Montagu 81ed18de15 Support for unicode-bidi: -moz-isolate and -moz-plaintext in style system. Bug 613149, r=dbaron 2011-10-18 14:51:57 +02:00
Ehsan Akhgari 1deb9f1504 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden 1bb2d1626a Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Brad Lassey e10ba7b125 bug 687265 - Front-end support for flash on Android Fennec r=mbrubeck,blassey,dolske,jst 2011-10-07 13:46:02 -04:00
Jeff Walden 1872189eac Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden 37f2b96015 Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Mats Palmgren a52395739b Bug 684266 - Do ellipsing on the end-edge only when a single value was specified for text-overflow. r=bzbarsky r=roc 2011-10-12 18:20:46 +02:00
Luke Wagner f146fdc564 Bug 689362 - Create js/public (with the intention that its contents will eventually be the only INSTALLED_HEADERS), move Vector and HashTable to js/public and some dependencies (r=billm,sr=dmandelin)
--HG--
rename : js/src/jshashtable.h => js/public/HashTable.h
rename : js/src/jsvector.h => js/public/Vector.h
rename : js/src/mfbt/InlineMap.h => js/src/ds/InlineMap.h
extra : rebase_source : 818639b74653667b7a572bc1234398c0e4559a60
2011-10-04 15:33:00 -07:00
Ms2ger c299dc64ab Bug 693155 - Add parens to clarify operator precedence in TransformFunctionsMatch (nsStyleAnimation.cpp); r=dbaron 2011-10-09 20:23:19 +02:00
Joel Maher 159db40f13 Bug 621363 - SpecialPowers ipc setter code does not receive new value locally until next event loop run. r=jdm 2011-10-06 10:51:03 -04:00
Joel Maher 5e578810c3 Bug 676274 - refactor specialpowers so we can use the api in mochitest-chrome without specialpowers. r=ted, a=test-only. 2011-10-06 10:51:03 -04:00
Boris Zbarsky 3945ffe29b Bug 681755. Switch some of the style system's arrays in hashtables to be auto arrays. r=dbaron 2011-10-05 22:06:37 -04:00
Justin Lebar d4f664d684 Back out 81ca82f27831 (bug 681755) due to incorrect leak reporting.
(I accidentally pushed the wrong version of this patch.)
2011-10-05 22:02:44 -04:00
Boris Zbarsky 9e8e15771f Bug 681755. Switch some of the style system's arrays in hashtables to be auto arrays. r=dbaron 2011-09-15 15:21:52 -07:00
Boris Zbarsky 0eec287021 Bug 690990. Don't assert that sheets are not modified when it would be just fine for them to be modified. r=peterv 2011-10-03 15:11:59 -04:00
Matt Woodrow 74fef748d1 Bug 682919 - Add eCSSKeyword_UNKNOWN terminators to 3d transforms style tables. r=dbaron 2011-10-03 16:59:43 +13:00
Matt Woodrow a0f808e976 Bug 505115 - Part 21 - Enable 3D transforms by default. r=roc 2011-09-30 14:39:40 +13:00
Ehsan Akhgari 32274546b8 Backout changeset 32e9422afd8d (bug 687265) explicitly from mozilla-central 2011-09-29 20:29:11 -04:00
Ehsan Akhgari 8e0b5e9b27 Bug 659828 - Part 1: Apply table margins to the outer table frame instead of the inner table frame (also fixes bug 87277); r=dbaron
Outer table frames act as CSS2.1 table wrapper boxes.  We used to lay them out
without taking their margins into the account, which meant that their width was
always equal to the available width.  This breaks horizontal positioning of
absolutely positioned kids of a table frame.

The main purpose of this patch is to apply the margins of tables to their outer
frame, instead of the inner frame.  This means that the inner table frame will
always have a zero margin, which means that a lot of the stuff which used to
rely on the fact that table margins are applied to the inner frame need to
change.

In particular, in order to get the computed margins of a table, we used to query
the inner table frame, and this patch corrects that.  Also, when shrink wrapping
tables, we used to not take the margins of the inner table frame into account,
which is fixed by this patch too.  nsBlockReflowState::
ComputeReplacedBlockOffsetsForFloats also needed to be changed to read the
margin values from the outer frame too.

Also, as part of this patch, we start to respect the CSS2.1 margin model for
captions on all sides.  This means that in particular, the top/bottom margins on
the top-outside and bottom-outside captions will not be collapsed with the
top/bottom margins of the table, and that the margins of the caption element
contribute to the width and height of the outer table frame.  The
427129-table-caption reftest has been modified to match this new behavior.

Another side effect of this bug is fixing bug 87277, and the reftests for that
bug are marked as passing in this patch.
2011-05-31 19:02:56 -04:00
Ehsan Akhgari c4f365dd4e Bug 10209 - Part 6: Implement the CSS "containing block" concept correctly as a binary relation, as opposed to a unary relation; r=bzbarsky 2011-05-12 00:04:30 -04:00
Mark Finkle 4d9f7bb778 Bug 687265 - Front-end support for flash on Android Fennec [r=mbrubeck r=blassey]
--HG--
extra : rebase_source : 39d5bb6c6d4d3165dcb10bded80a2aa9da7cb98e
2011-09-29 10:44:03 -04:00
Michael Wu ac54b41b01 Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Boris Zbarsky 21ede689e8 Bug 460323 testcase. 2011-09-28 15:28:33 -04:00
Phil Ringnalda f6cf2fd9d0 Back out 6e359c7e8080 (bug 681755) on suspicion of bloating the Windows debug mochitest-4 logs to the point of truncation 2011-09-26 19:37:47 -07:00
Boris Zbarsky ecb77c32a7 Bug 681755. Switch some of the style system's arrays in hashtables to be auto arrays. r=dbaron 2011-09-26 18:04:36 -04:00
Matt Woodrow 811f656e2c Part 20 - Add more gfx3DMatrix transformation function and use these in nsStyleTransformMatrix. r=derf 2011-09-27 10:54:45 +13:00
Matt Woodrow 2334156299 Bug 505115 - Part 19 - Make the matrix*() transform function handles both length and number values. r=dbaron 2011-09-27 10:54:30 +13:00