Commit Graph

10228 Commits

Author SHA1 Message Date
Robert Longson
b64e818fa8 Bug 652442 - Script feature support should depend on whether javascript is enabled. r=dholbert 2011-04-30 14:56:16 +01:00
Cameron McCormack
8ddcf919aa Bug 647080 - Give the reftest analyzer the ability to load a log from the hash. r=dbaron 2011-04-30 17:33:15 +12:00
Cameron McCormack
01f7479563 Bug 647020 - Tweak CSS of reftest anaylzer. r=dbaron 2011-04-30 17:32:44 +12:00
Mark Finkle
03e5a556ee Backed out changeset c7f62d818af2. Causes content crashes Bug 653889 2011-04-30 00:01:29 -04:00
Neil Rashbrook
185fd26c4f Bug 652007 Painting artifacts with RTL trees r=roc 2011-04-29 20:35:23 +01:00
Benjamin Stover
95028ef26c Bug 640048 Fix edge case for z-ordering for async scrollable elements r=roc 2011-04-29 10:15:44 -07:00
Craig Topper
17b6db1001 Bug 648925 - Part 4: DeCOMtaminate GetDOMRule and GetDOMRuleWeak. r=bzbarsky 2011-04-07 23:36:09 -07:00
Craig Topper
94aa5754fd Bug 648925 - Part 3: Factor some common method bodies into css::Rule. r=bzbarsky 2011-04-11 19:46:35 -07:00
Craig Topper
6cca47869f Bug 648925 - Part 2: Make several css::Rule methods non-virtual and inline. r=bzbarsky 2011-04-07 20:51:25 -07:00
Craig Topper
cc15a2a6e3 Bug 648925 - Part 1: Change uses of nsICSSRule to css::Rule. r=bzbarsky 2011-04-07 18:23:46 -07:00
Boris Zbarsky
b0ef240309 Bug 654989 part 2. Use the nsStyleContext handed back from CreateAnonymousContent. r=roc
This asserts the parts of AddFrameConstructionItems that should never matter for anonymous content and then just copies the one-line style context get if it's needed.
2011-05-06 16:04:44 -04:00
Boris Zbarsky
447ee74d8c Bug 654989 part 1. Allow handing out both an nsIContent and an nsStyleContext from CreateAnonymousContent. r=roc 2011-05-06 16:04:44 -04:00
Landry Breuil
03a9f25271 Bug 651968. Fix linking with ossaudio, and include soundcard.h instead of sys/soundcard.h on OpenBSD. r=kinetik 2011-05-05 17:12:04 -04:00
Dylan Helling
ba871e0cb4 Bug 557726. Allow passing a pseudo-element argument to getCSSStyleRules in inspector utils. r=bzbarsky 2011-05-05 17:12:04 -04:00
Yury
f2320f7c06 Bug 451165. Fix ParseColorString to report errors when there's garbage at the end of the color. r=dbaron 2011-05-05 17:12:04 -04:00
Timothy Nikkel
f739336f73 Bug 653129. Remove useless CreateViewForFrame calls that don't do anything anymore. r=roc 2011-04-29 15:51:09 +02:00
Timothy Nikkel
ba639fd0f4 Bug 653131. nsBoxFrame::CreateViewForFrame is only used for menu popups, so simplify it and move it there. r=roc 2011-04-29 15:51:05 +02:00
Cameron McCormack
a6e786942e Bug 652501 - Part 2: Make existing plugin crash reftests clean up after themselves. r=roc 2011-04-26 15:02:38 +12:00
Cameron McCormack
b9c6da9e02 Bug 652501 - Part 1: Allow reftests to clean up plugin and IPC process crash dumps. r=roc 2011-04-26 15:02:38 +12:00
Ehsan Akhgari
d2a61eb331 Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others 2011-04-25 17:05:17 -04:00
Walter Meinl
2eaf11b614 Bug 652361 - [OS/2] build break in nsObjectFrame after checkin for bug 266236 2011-04-25 10:59:07 -07:00
Zack Weinberg
557aeba56f Bug 649429 part 2: move nsSVGUtils::ConvertToSurfaceSize back to nsSVGUtils.cpp. r=dholbert
--HG--
extra : rebase_source : 7c3b91c2d59b39d9c5e0421ac77dad94ef947e34
2011-04-21 12:36:46 -07:00
Philip Chee
c45f8c9efc Backed out changeset: baf7456adc98 2011-04-25 02:19:05 +08:00
Edmund Wong
a3b03e1bec Bug 366774 - Removed unused preference bidi.characterset.(p2) r=smontagu 2011-04-25 01:56:09 +08:00
Ms2ger
295bf7256b Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
L. David Baron
fd5f6010e1 Push a context on the stack when notifying a MediaQueryListListener. (Bug 652317) r=smaug 2011-04-23 13:19:01 -07:00
Mike Hommey
526af0ab3f Bug 652139 - Use an integer type in DocumentViewerImpl::SetMinFontSize, instead of float. r=dbaron
At the same time, replace a couple (void*) casts with NS_INT32_TO_PTR.
2011-04-23 08:48:50 +02:00
Masayuki Nakano
cc0623b6e3 Bug 647421 -moz-text-decoration-color and -moz-text-decoration-style should be reset by text-decoration r=dbaron, sr=bzbarsky 2011-04-23 14:16:41 +09:00
Masayuki Nakano
2bb6c01918 Bug 648299 -moz-text-decoration-style: -moz-none doesn't work r=dbaron 2011-04-23 14:13:09 +09:00
L. David Baron
a519025873 Reduce scope of :hover quirk: make it apply normally if it has a class selector, and be quirky (only apply to links) only when actually global. (Bug 197686) r=bzbarsky 2011-04-22 18:36:24 -07:00
L. David Baron
f31f11de17 Should check link-related bits before reusing style context for root element. (Bug 652268) r=bzbarsky 2011-04-22 18:36:24 -07:00
L. David Baron
3aab29ea32 unicode-bidi should inherit into ::-moz-cell-content, ::-moz-anonymous-block, ::-moz-anonymous-positioned-block, and ::-moz-fieldset-content. (Bug 604294) r=bzbarsky 2011-04-22 18:36:24 -07:00
L. David Baron
bf6088c149 Make nsBox more careful about accepting XUL attributes only on XUL elements. (Bug 102440) r=bzbarsky 2011-04-22 18:36:24 -07:00
L. David Baron
8d027dddb3 Don't construct image loaders for null border-image. (Bug 652052) r=bzbarsky 2011-04-22 18:36:23 -07:00
L. David Baron
e0c41c779b Fix broken nsLineList::swap implementation. (Bug 652053) r=roc 2011-04-22 18:36:23 -07:00
L. David Baron
7eb858b4c6 Fix css3-animations handling of properties that are not present in all keyframes to match WebKit and generally be more sensible. (Bug 649400) r=bzbarsky
This inverts the relationship between segments and properties in the
animation data structures:  now each property has a set of segments,
since the segments differ between properties.

Furthermore, we now handle inability to interpolate between values by
dropping the entire property rather than dropping a single segment.
2011-04-22 18:36:23 -07:00
L. David Baron
30fa1f1962 Use saner index names in nsAnimationManager. (Bug 649400) r=bzbarsky 2011-04-22 18:36:23 -07:00
Daniel Holbert
58a7674209 Bug 652050: Mark SVG language-detection tests as failing on android for now 2011-04-22 18:28:26 -07:00
Justin Lebar
5bc75b222e Bug 647273 - Remove nsIContentUtils and nsIContentUtils2. r=sicking
--HG--
extra : rebase_source : 8a99a1401b7d7427bed4a136e0b38c475f6473a2
2011-04-14 13:58:36 -07:00
Daniel Holbert
30d737519d Bug 652050: revert diagnostic patch for android reftest permaorange (test-only) DONTBUILD 2011-04-22 11:44:29 -07:00
Daniel Holbert
8ace7c1918 Bug 652050: diagnostic patch for android reftest permaorange (test-only) 2011-04-22 09:37:36 -07:00
Mounir Lamouri
db44db0ebe Merge cedar with mozilla-central. 2011-04-22 15:25:11 +02:00
Timothy Nikkel
f1dbe7df75 Bug 646799. Clip the contents of iframes to border-radius. r=roc 2011-04-22 10:38:38 +02:00
L. David Baron
30b6f8cb63 Add diagnostic for nested @-rules that are ignored. (Bug 652014) r=bzbarsky 2011-04-21 20:17:32 -07:00
L. David Baron
63862391a2 Ensure nsRefreshDriver::MostRecentRefresh tells the truth even when we stop and restart timers. (Bug 650469) r=bzbarsky 2011-04-21 20:17:32 -07:00
L. David Baron
1851aeaa2f Remove parsing and storage code for CSS 2.0 aural properties. (Bug 649119) r=bzbarsky 2011-04-21 20:17:32 -07:00
L. David Baron
3f90844e3c Implement window.matchMedia for matching of media queries and notification of media query changes. (Bug 542058, patch 3) r=bzbarsky
This is specified at:
http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface
2011-04-21 20:17:31 -07:00
L. David Baron
6d48884578 Allow null media query cache key in some places. (Bug 542058, patch 2) r=bzbarsky 2011-04-21 20:17:31 -07:00
L. David Baron
25d74a36a4 Remove null-checks of nsCSSParser, since construction is infallible. (Bug 542058, patch 1) r=bzbarsky
Note that many callers already skipped the null-checks.
2011-04-21 20:17:31 -07:00
L. David Baron
99635d0b74 Share code to compute timing functions. (Bug 651801, patch 2) r=bzbarsky 2011-04-21 20:17:30 -07:00
L. David Baron
4a05186c67 Share code to count the length of the transition/animation property array. (Bug 651801, patch 1) r=bzbarsky 2011-04-21 20:17:30 -07:00
Timothy Nikkel
d2660233c6 Bug 646799. Clip the contents of iframes to border-radius. r=roc 2011-04-22 01:15:44 +02:00
Daniel Holbert
3fbf68de0a Bug 583608: add #ifdef guards around mac-only static functions in nsObjectFrame.cpp. r=josh 2011-04-21 14:52:26 -07:00
David Zbarsky
5ecf0a2bd3 Bug 610305: decom nsEventStateManager r=smaug 2011-04-21 19:35:52 +02:00
Jonathan Kew
ba110d3423 bug 642589 followup - adjust reftest manifests for newly-passing/failing tests on Win7/d2d with tweaked subpixel-AA. 2011-04-21 07:39:47 +01:00
Masayuki Nakano
816d0ec482 Bug 347185 Adding automated tests r=roc 2011-04-21 08:54:43 +09:00
Daniel Holbert
72f118ff38 Bug 651567: Remove unused variable 'xHeight' from nsMathMLmunderFrame. r=karlt 2011-04-21 10:08:11 -07:00
Daniel Holbert
e142472f0a Bug 651229: Remove unused variable from nsLineBox. r=smontagu 2011-04-21 10:08:05 -07:00
Jonathan Watt
9c895c01df Bug 589648 part 3. Work around lack of cairo support to display square stroke-linecaps for zero length paths. r=longsonr.
--HG--
extra : rebase_source : 5aaa65a2bc888b4a64884f5f2a87beb7803f646e
2011-04-20 10:16:02 +01:00
Jonathan Watt
9ce3bf7614 Bug 488314 part 2 - Kill vestiges of SetMatrixPropagation. r=longsonr.
--HG--
extra : rebase_source : ab532ae0ee733e6c759856640d755869bc231f73
2011-04-20 10:16:01 +01:00
Doug Turner
a454a2e53c Bug 649089 - test_after_paint_pref.html should use SpecialPowers. r=jmaher, a=test-only 2011-04-20 08:52:18 -04:00
Joel Maher
2901b56356 Bug 651013 - a couple of layout/base mochitests should be moved to mochitest-chrome tests. r=roc, a=test-only
--HG--
rename : layout/base/tests/test_bug370436.html => layout/base/tests/chrome/test_bug370436.html
rename : layout/base/tests/test_bug420499.xul => layout/base/tests/chrome/test_bug420499.xul
2011-04-20 08:52:15 -04:00
L. David Baron
3ebb9b0f93 Make nsIFrame::GetOrdinal accept all values that the CSS parser accepts (which currently adds no values). (Bug 644514 patch 1) r=bzbarsky 2011-04-19 21:22:39 -07:00
Cameron McCormack
c0000045de Bug 651036 - SMIL: Make discrete to-animations behave consistently with discrete from-to animations r=dholbert 2011-04-20 14:05:29 +12:00
Joel Maher
bf026ce1e0 Bug 649475 - [android-tests-only] remote jsreftests fail because user.js forces prompt for elevated privileges r=ctalbert 2011-04-19 15:17:02 -07:00
Joel Maher
c491e58d06 Bug 650828 - change runtestremote and remotereftests to generate pid file. r=ctalbert 2011-04-19 15:17:01 -07:00
Justin Dolske
bfd240a0f9 Bug 637160 - window-modal prompts used instead of tab-modal prompts when reentering a page using back/forward. r=bz 2011-04-19 14:18:17 -07:00
Steven Michaud
889122621e Bug 651177 - [Mac] Crashes [@ nsObjectFrame::GetLayerState ]. r=bsmedberg 2011-04-19 14:13:58 -05:00
Zack Weinberg
647b7a0bfe Bug 651017, part 7: remove nsDeviceContext::CreateRenderingContextInstance and the CreateRenderingContext overload that takes a widget.
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 6be7fe432488dcf2fb5b2faa0e178dccab480285
2011-04-16 21:08:22 -07:00
Zack Weinberg
668fa81e1d Bug 651017, part 6: prune unused and unimplemented nsDeviceContext methods. Push some code down into nsFontCache.
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 82489fb47226260871993f37d337439005250c29
2011-04-16 18:22:44 -07:00
Zack Weinberg
dd67585463 Bug 651017, part 5: mechanical changes.
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Zack Weinberg
d5e47757d8 Bug 651017, part 4: deCOM nsIDeviceContext; include-minimization on nsDeviceContext.h itself; merge GetPrintDC() into Windows/OS/2 specific code; merge Shutdown() with ClearCachedSystemFonts(). Most references outside gfx not fixed up.
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 9fb366d99d18c9335ba297d21f673178dae62a64
2011-04-16 18:22:42 -07:00
Zack Weinberg
51864c09d8 Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Jonathan Watt
ab5a30f802 Bug 649726 - Move nsHTMLContainerFrame static view methods to nsContainerFrame. r=bz. 2011-04-19 12:55:11 +01:00
Mounir Lamouri
8883f4f0d6 Merge cedar with mozilla-central 2011-04-19 11:02:41 +02:00
Jonathan Kew
237a9967c1 bug 589682 - reftest for double-quote bug workaround in times new roman italic. r=jdaggett 2011-04-19 09:01:28 +01:00
Jonathan Kew
219392ecf2 bug 650499 - add testcase. r=roc 2011-04-19 08:51:35 +01:00
Jonathan Kew
e7b2b9924c bug 650499 - limit length covered by PropertyProvider to the text actually included in the textRun. r=roc 2011-04-19 08:51:31 +01:00
Phil Ringnalda
40c0da73e1 Bug 651014 - Put test filename in "can't drawWindow remote content" error message, r=dbaron 2011-04-18 19:34:46 -07:00
Robert O'Callahan
d4c414cf18 Bug 641426. Part 8: Replace gfxRect::Outset/Inset with Inflate/Deflate. Also slip in a conversion constructor from nsIntRect to gfxRect. r=tnikkel 2011-04-19 15:07:51 +12:00
Robert O'Callahan
c9b3d6063b Bug 641426. Part 7: Create Rect template. r=joe,sr=cjones 2011-04-19 15:07:48 +12:00
Robert O'Callahan
72627bced2 Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones 2011-04-19 15:07:23 +12:00
Robert O'Callahan
c957ae039e Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones 2011-04-19 15:07:23 +12:00
Robert O'Callahan
763a5f47a7 Bug 641426. Part 4.2: Rename BaseMargin::side to BaseMargin::Side. r=cjones 2011-04-19 15:07:22 +12:00
Robert O'Callahan
75ad705b3b Bug 641426. Part 3.5: Remove usage of nsMargin::TopLeft and nsMargin::IsZero. r=dbaron 2011-04-19 15:07:22 +12:00
Robert O'Callahan
307547d062 Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Robert O'Callahan
73b97e72c4 Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe 2011-04-19 15:07:21 +12:00
Robert O'Callahan
17b91a87af Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Ehsan Akhgari
f8bf9b48d6 Mark spellcheck-hyphen-valid.html as passing on Android 2011-04-18 22:51:28 -04:00
Robert Longson
55e9f84758 Bug 648819 - Stop ASSERTION: unknown nsISVGValue with invalid patternTransform. r=dholbert 2011-04-18 19:55:07 +01:00
Mounir Lamouri
2bac0b7762 Merge cedar with mozilla-central. 2011-04-18 17:16:20 +02:00
Masatoshi Kimura
9741535413 Bug 650653 - Fix test_ident_escaping.html and test_parse_ident.html when using DBCS locales. r=dbaron 2011-04-17 23:13:15 +02:00
Marco Bonardo
f3a40da729 Merge mozilla-centra to Places 2011-04-18 14:30:00 +02:00
Dão Gottwald
4ac8291c1d Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg 2011-04-17 21:53:25 +02:00
Phil Ringnalda
11214c3c78 Bug 650597 - Annotate layout/xul/base/src/grid/reftests/not-full* as failing on Android, since they do 2011-04-16 23:30:22 -07:00
Phil Ringnalda
262cd0d11a Bug 650591 - Annotate layout/reftests/percent-overflow-sizing/hScroll* as failing on Android, since they do 2011-04-16 23:01:30 -07:00
Phil Ringnalda
6250d6a823 Bug 650589 - Annotate layout/reftests/image-element/element-paint-native-widget.html as failing on Android, since it does 2011-04-16 23:01:25 -07:00
Phil Ringnalda
cb4d4586ed Remove the fails-if(Android) annotation on some reftests that actually do pass on Android 2011-04-16 22:05:35 -07:00
Ehsan Akhgari
6d0857c194 Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted
--HG--
extra : rebase_source : 88fc16ca38ded79ca87bb861dc4cef92a69dd548
2011-04-16 19:39:34 -04:00
Ehsan Akhgari
8fac26c264 Bug 355178 - Part 3: Work around the reftest failure by turning spell checker off; r=roc
--HG--
extra : rebase_source : cb826c804267df18f3aaceaa38c48e2334b7fb89
2011-04-18 18:48:39 -04:00
Marco Bonardo
19511ff9f7 Bug 555474 - While bookmark is dragged, the tooltip should not appear.
r=enn
2011-04-15 16:45:35 +02:00
Alexander Surkov
a4a5c756db Bug 630486 - ASSERTION 'Want to fire mutation events, but it's not safe' in nsContentUtils::HasMutationListeners triggered by a11y, r=marcoz, gavin, bz, f=davidb
--HG--
rename : accessible/tests/mochitest/tree/test_colorpicker.xul => accessible/tests/mochitest/treeupdate/test_colorpicker.xul
rename : accessible/tests/mochitest/tree/test_button.xul => accessible/tests/mochitest/treeupdate/test_menubutton.xul
2011-04-15 11:11:39 +09:00
Ehsan Akhgari
1265f61d81 Bug 355178 - Don't break words on hyphens before passing them to hunspell, as it can handle word breaking on hyphens on its own; r=smaug
--HG--
extra : rebase_source : 298f0832ac6f0b12497e9c883bbebea8e168284c
2011-04-14 17:16:40 -04:00
Serge Gautherie
0a24429b84 Bug 647414 - Distributed extensions should be automatically installed into temporary testing profile; (Bv3) Make installExtensionsToProfile() automatically install application distributed extensions.
r=jmaher.
2011-04-18 18:48:23 +02:00
Serge Gautherie
e51245f503 Bug 647414 - Distributed extensions should be automatically installed into temporary testing profile; (Av2) Improve addChromeToProfile() and related.
r=jmaher.
2011-04-18 18:41:57 +02:00
Ehsan Akhgari
ea4ca1529d Back out changeset 457757151653 (bug 647273) for breaking the Windows builds 2011-04-14 16:56:05 -04:00
Justin Lebar
a465f21ce6 Bug 647273 - Remove nsIContentUtils and nsIContentUtils2. r=sicking
--HG--
extra : rebase_source : dd7ff32cc758e62f914d283754d68ddc87cdcc7c
2011-04-14 10:58:27 -07:00
Phil Ringnalda
1ee2ccd2c2 Bug 650569 - layout/reftests/border-radius/clipping-3.html fails on Android 2011-04-16 18:12:48 -07:00
Phil Ringnalda
a35c322b5e Bug 650567 - layout/reftests/bidi/267459-2.html fails on Android 2011-04-16 18:12:44 -07:00
Ed Morley
2e55e1cc34 Bug 634936 - Add null-check for nsContentUtils::GetPrefBranch() to prevent Crash [@ nsFocusManager::Init ]; r=jst 2011-04-16 11:14:09 +02:00
Benjamin Stover
3dc5b1f7a2 Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc 2011-04-11 13:53:01 -07:00
Ehsan Akhgari
3bbe7bc47c Bug 617539 - Remove nsIContentUtils_MOZILLA_2_0_BRANCH by backing out changeset 5e1f1bb2bb87 (bug 631412) which had added that class 2011-04-11 16:16:56 -04:00
Benjamin Smedberg
6620f620d9 Bug 617539 - Remove nsIPluginHost_MOZILLA_2_0_BRANCH, nsIPluginInstanceOwner_MOZILLA_2_0_BRANCH, and nsIPluginInstance_MOZILLA_2_0_BRANCH; r=jst 2011-04-11 16:00:30 -04:00
Ehsan Akhgari
8e2d030028 Merge mozilla-central into cedar 2011-04-11 13:11:47 -04:00
Robert O'Callahan
35b34b5ecc Backout for bug 279629. 2011-04-11 09:41:27 -07:00
Robert O'Callahan
79cd41dfd7 Backed out changeset 082a9df5c6f7 2011-04-11 09:39:49 -07:00
Doug Turner
bb9cf72cbb Backing out Bug 598736 - Use bilinear image scaling on mobile. Perf regression caused. r=me 2011-04-11 09:25:59 -07:00
Ehsan Akhgari
86c2f731ab Merge cedar into mozilla-central 2011-04-11 11:53:07 -04:00
Robert O'Callahan
6209cb624a Bug 279629. Allow scrolling to anchors to use smooth scrolling. r=mats 2011-04-11 08:44:09 -07:00
Robert O'Callahan
acc00bd703 Bug 598854. We no longer have cases where the view to paint is not a displayroot, so remove the code that handles that. r=tnikkel 2011-04-11 08:41:18 -07:00
Jonathan Kew
689d05f524 reftest for bug 644184. r=jdaggett 2011-04-11 16:33:53 +01:00
Simon Montagu
dab4d5a4f6 Tweak to the patch for bug 263359 to prevent regressing bug 644768, r=roc 2011-04-11 11:00:33 +03:00
Simon Montagu
26da0c0e0f Regression test for bug 644768. r=roc 2011-04-11 11:00:33 +03:00
Simon Montagu
fb48125607 Bug 263359 part 4: resolve paragraph on encountering line breaks in preformatted elements. r=roc 2011-04-11 11:00:28 +03:00
Simon Montagu
c38ffc8b1a Tests for bug 263359 2011-04-11 10:59:30 +03:00
Simon Montagu
3ddf717988 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
95d3a1c005 Tests for bug 229367 and bug 613157 2011-04-11 10:59:30 +03:00
Simon Montagu
6c1e539305 Bug 263359 part 2: split nsBidiPresUtils::Resolve into Resolve and ResolveParagraph. r=roc 2011-04-11 10:59:30 +03:00
Simon Montagu
d34ed4f099 Bug 263359 part 1.5: remove nsDirectionalFrame. r=roc 2011-04-11 10:59:30 +03:00
Simon Montagu
1eecb4f103 Bug 263359 part 1: refactor bidi resolution code, combining InitLogicalArray and CreateBlockBuffer. r=roc 2011-04-11 10:59:30 +03:00
Simon Montagu
26946c74c0 Tests for bug 83958, originally by David Baron 2011-04-11 10:59:29 +03:00
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
Zack Weinberg
2c3c349dad Bug 174055, part 7: remove unnecessary members from nsFontMetrics. 2011-04-08 08:32:29 -07:00
Robert Longson
d06df5fd4d Bug 633337 - pattern viewBoxes not treated correctly. r=jwatt 2011-04-09 21:57:51 +01:00
Zack Weinberg
52c99aabb7 Bug 174055, part 6: eliminate pointless nsresult return values. 2011-04-07 21:18:43 -07:00
Zack Weinberg
624a6e3ce5 Bug 174055, part 5: prune unused and unimplemented methods. 2011-04-07 20:07:27 -07:00
Zack Weinberg
42ead75834 Bug 174055, part 4: mechanical fixups outside gfx. 2011-04-07 18:05:49 -07:00
Zack Weinberg
d6425e8bd1 Bug 174055, part 2: merge nsIThebesFontMetrics into nsIFontMetrics. 2011-04-07 18:05:25 -07:00
Zack Weinberg
299386f14c Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h. 2011-04-07 18:04:41 -07:00
Zack Weinberg
a2b5c4bfbb Bug 648197 (1/2): remove the #ifdef ALERT_MISSING_FONTS blocks in nsMathMLChar.cpp. 2011-04-07 14:47:04 -07:00
Zack Weinberg
f5a0843ac7 Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Zack Weinberg
d8db59d068 Bug 266236 part 8: Change nsRenderingContext::GetDeviceContext and ::GetFontMetrics to return bare pointers.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 36dd32d715cb75e99cd3a69e460c000c1777d6a6
2011-04-07 18:04:40 -07:00
Zack Weinberg
c3400ef3c4 Bug 266236 part 7: Simplify calling convention of SetClipRect and SetClipRegion.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b1c68e23a4fa67cdc09b151ad39d7560cdd8baf7
2011-04-07 18:04:40 -07:00
Zack Weinberg
9d6cdac2b1 Bug 266236 part 6: Change out-parameters to return values and remove a bunch of default parameters that were never called with non-default values.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 0511852e51c2ad4d4833d6f8f2f61d46130a7151
2011-04-07 18:04:40 -07:00
Zack Weinberg
5a4a96e54e Bug 266236 part 4: Aggressively prune unused methods and dead #ifdefs from nsRenderingContext.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b2911406bbe1b5995d1a501c59e02b5fffefa390
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Jan Küchler
0e92a9d34a Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Serge Gautherie
acea4b4d7b Bug 647404 - automation.py: fix extractZip() and installExtension(); (Cv2) Explicitly support an optional path in --install-extension.
r=jmaher.
2011-04-14 17:28:46 +02:00
Ms2ger
6ee0b2b1da Bug 589894 - Fix a number of build warnings in content/; r=smaug 2011-04-14 14:04:12 +02:00
Benjamin Stover
f31a56057f Bug 649583 Panning regression on google reader in 2011-04-12 nightly r=roc 2011-04-13 14:12:22 -07: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
Ehsan Akhgari
3b68afadb4 Merge cedar into mozilla-central 2011-04-13 14:00:55 -04:00
Neil Deakin
2e418cd5d2 Bug 126189, pass modifiers on to command events in menus when enter was pressed, r=neil 2011-04-13 13:53:24 -04:00
Neil Deakin
bc2478419a Bug 590665, panels jump around when dragged across screens, so don't do flipping when moving one, r=roc 2011-04-13 13:53:24 -04:00
Benjamin Stover
0b354a3d72 Bug 649666 Do not create container layers for scrollboxes with (0, 0) scrollRange r=roc 2011-04-13 10:45:00 -07:00
Ehsan Akhgari
21594f846d 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 22:03:50 -04:00
Ehsan Akhgari
cd6873e3de Bug 649223 - Reftest for bug 366207 wastes two seconds, needlessly; r=bzbarsky 2011-04-12 18:42:23 -04:00
Oleg Romashin
fee82d5cf6 Bug 647462 - Video layer should not be ARGB by default; r=chris.double 2011-04-12 15:39:50 -04:00
Ehsan Akhgari
81d44d11f4 Merge cedar into mozilla-central 2011-04-11 20:24:12 -04:00
Robert O'Callahan
a633551d9a Bug 641599. Completely flush all ThebesLayers whenever the appunits-per-dev-pixel ratio changes. r=tnikkel 2011-04-11 16:57:29 -04: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
Blake Kaplan
a3b8fcc68e Fixing bustage from bug 641342.
--HG--
extra : rebase_source : 4d0dc461bb21028b4f0dba4de8c1f925a3c85a47
2011-05-12 17:12:00 -07:00
Steve Fink
cb2fba896d Bug 634648 - Mark tests that require to be run in debug mode (r=dbaron,dmandelin) 2011-02-16 22:41:14 -08:00