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
Blake Kaplan
6f695315f5
Bug 641342 - Treat chrome DOM objects like DOM objects. r=gal/jst
2011-05-10 14:41:25 -07:00
Steve Fink
a655c5fd00
Backed out changeset a5e2394cd75d
2011-05-12 11:13:14 -07:00
Steve Fink
fa26b60aaf
Bug 634648 - Mark tests that require to be run in debug mode (r=dbaron,dmandelin)
...
--HG--
extra : rebase_source : 6f152c72627ce61065e5f468c273099804b578d5
2011-02-16 22:41:14 -08:00
Paul Biggar
bc3d36f617
Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
...
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.
Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
Paul Biggar
c0aeeea187
Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
...
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.
Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
Robert Longson
b5cec522e0
Bug 620274 - nsSVGForeignObjectFrame::PaintSVG null checks aDirtyRect when it is always non-null r=dholbert
...
--HG--
extra : rebase_source : b823f3edf4cc1585fa752233db6052945e47a23f
2011-04-24 20:55:58 +01:00
Masatoshi Kimura
474a6690fc
Bug 651113 - Remove windows-936 converter. r=smontagu
...
--HG--
extra : rebase_source : 4b0d09d815e2b7cfc008f8b5b987e597ceea9bbe
2011-04-27 10:37:00 +02:00
Timothy Nikkel
61fc3d6728
Bug 652821. Remove views from positioned inline frames. r=roc
...
--HG--
extra : rebase_source : 25f0ff5c614d75c3b9676c0c41762a5ab3541410
2011-04-27 10:35:46 +02:00
Simon Montagu
ece92e21ce
Back out bug 263359 and bug 624798 because of performance regressions (bug 650189)
2011-04-27 11:47:18 +03:00
Serge Gautherie
55ed6cf176
Bug 652862 - Remove disable-svg references in tests; (Av1) Jut remove them.
...
r=dbaron.
DONTBUILD
2011-04-26 20:57:01 +02:00
Josh Aas
70a155c558
Bug 636872: Allow CSS cursor property to be used for plugins. r=bz
2011-04-08 12:58:04 -07:00
Oleg Romashin
2f45dcc97f
Bug 607417 - Reconcile position:fixed with async scrolling and displayport+meta-viewport. reftests r=jones.chris.g
...
--HG--
extra : rebase_source : 74649055179f4612dce53928f75bea55359eeeb4
2011-04-08 09:35:21 -07:00
Tatiana Meshkova
29ab414108
Bug 607417 - Part 3: Visibility tricks for fixed items r=roc
...
--HG--
extra : rebase_source : 7545070d6af5ef10dd4d1504f0d456ece4fd8edb
2011-04-08 09:35:16 -07:00
Oleg Romashin
e58096f576
Bug 607417 - Part 2: Reverse translation for fixed shadow layers. r=stechz
...
--HG--
extra : rebase_source : d390fd6440ccb93b3652cbd431e5f6484643114e
2011-04-08 09:35:13 -07:00
Oleg Romashin
631800dfd2
Bug 607417 - Part1: position:fixed frames mark layers r=roc
...
--HG--
extra : rebase_source : dbbff8810bafd165a48c34924d98f5c87702ef3f
2011-04-05 23:00:25 -06:00
Jonathan Kew
05b8ef4302
bug 646983 - set the correct text length for the PropertyProvider. r=roc
2011-04-08 11:18:47 -07:00
Jonathan Kew
46ca3e4f06
add testcases from bug 646983, bug 647332. r=roc
2011-04-08 11:18:44 -07:00
Ehsan Akhgari
c142d20d2c
Merge cedar into mozilla-central
2011-04-08 11:05:22 -07:00
Jeff Muizelaar
1f284ac061
Bug 646731. Avoid float-to-double promotion in Is(Margin|Pading)Zero. r=dbaron
...
Caught with -Wdouble-promotion. This may not impact codegen but it's more
correct.
--HG--
extra : rebase_source : ca32e02b763a4bf5bbf367fdb79eb3ad3a886683
2011-04-08 10:59:52 -07:00
Matt Brubeck
170c710ac7
Bug 598736 - Use bilinear image scaling on mobile. r=jrmuizel
2011-04-08 10:15:37 -07:00
Ehsan Akhgari
96d750195b
Merge cedar into mozilla-central
2011-04-08 02:27:03 -07:00
Felipe Corrêa da Silva Sanches
122358c42d
Bug 484966. Remove nsSVGUtils::GetParentElement in favor of nsIContent::GetFlattenedTreeParent. r=jwatt
2011-04-07 22:27:57 -07:00
Ms2ger
8abef9c63c
Bug 647554 - Uninitialized variable oldSize in nsPluginInstanceOwner::InvalidateRect; r=mats
2011-04-07 21:56:13 -07:00
Boris Zbarsky
a63405c419
Bug 581177 part 7. Make 'may have contenteditable attr' into a boolean flag. r=sicking
2011-04-07 19:29:50 -07:00
Zack Weinberg
04ef715d82
Bug 524173. Reftests demonstrating off-by-one bug in degenerate linear gradients on some platforms.
2011-03-31 15:00:34 -04:00
Ehsan Akhgari
ef53848cec
Merge cedar into mozilla-central
2011-04-06 16:39:14 -07:00
Craig Topper
79dd891370
Bug 577976 - Part 6: Add cast to resolve ambiguity in case 'using' isn't supported by compiler, r=bzbarsky
2011-04-06 00:11:42 -07:00
Craig Topper
4d575fe7cd
Bug 645956 - Part 5: Remove NS_NewCSSCharsetRule, r=bzbarsky
2011-03-22 23:20:09 -07:00
Matheus Kerschbaum matjk7@gmail.com
83489c2891
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now
...
--HG--
extra : rebase_source : bd8d7491d0fee17e0319ce130bd2988fefe82e93
2011-04-06 21:59:25 -07:00
Benoit Girard
c8e9583cc3
Bug 647710: Fixed color profile leak. r=josh
2011-04-06 16:00:45 -07:00
Matheus Kerschbaum
93480c6366
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Robert Longson
33c52d85ab
Bug 641858 - text does not reflect dynamic gradient/pattern changes r=jwatt
2011-04-03 13:23:40 +01:00
Timothy Nikkel
6a72c8927e
Bug 642977. Don't suppress painting if the document isn't loading; r=bz
2011-04-06 11:00:35 -07:00
Timothy Nikkel
8e035ecec6
Bug 643678. When documents go in the bfcache remove them from any schedule plugin geometry updates. r=roc
2011-04-06 11:00:02 -07:00
Timothy Nikkel
c3f0866bff
Bug 645203. Make sure we skip non-XUL nodes inside trees; r=neil
2011-04-06 10:52:07 -07:00
Mats Palmgren
fdde5d340c
Bug 639733 - Include the tag name in the frame state key. r=bzbarsky
2011-04-06 13:32:31 +02:00
Jesse Ruderman
77cf9af856
Bug 639733 - Crash test.
2011-04-06 13:32:31 +02:00
Mats Palmgren
73a0c83824
Bug 614969 - Use the primary frame for the display style test. r=bzbarsky
2011-04-04 13:41:02 +02:00
Mats Palmgren
7288597be1
Bug 640272 - Check load status for border images before trying to render them. r=bzbarsky
2011-04-04 13:41:02 +02:00
Mats Palmgren
7bc245e495
Bug 642800 - Add a script blocker to avoid nested PrepareEditor calls. r=ehsan
2011-04-04 13:41:02 +02:00
Mats Palmgren
74b4c1dcd1
Bug 645423 - Don't poison nsRuleData in --enable-valgrind builds. r=dbaron
2011-04-04 13:41:02 +02:00
Mats Palmgren
5e7c4e1182
Bug 645423 - Initialize the poison value also for DEBUG_TRACEMALLOC_PRESARENA builds. r=dbaron
2011-04-04 13:41:02 +02:00
Chris Leary
4f6b3c79c8
Merge tracemonkey to mozilla-central.
2011-03-31 15:47:46 -07:00
Paul Biggar
43b850291d
Bug 643548: Remove mozalloc_undef_macro_wrappers hack from JS engine. (r=luke,rs=brendan)
...
mozalloc_undef_macro_wrappers are brittle and have side-effects that are hard
to debug and fix. The alternative is the just stick an underscore on the end of
malloc, free, etc, which is a comparatively small burden.
2011-03-31 01:14:12 -07:00
Robert O'Callahan
c6e4498a20
Bug 622072. Part 3: Support empty transactions for canvas layers. r=tnikkel
...
The basic idea is that whenever a layer transaction updates the window, we clear out the invalidation state for the canvas rendering context,
using a DidTransactionCallback registered on the layer(s) for the canvas, which calls MakeContextClean.
The DidTransactionCallbacks are directed to the user data attached to the Layer, which holds a strong reference to the canvas element. This
ensures that the element lives as long as the layer. Layers are destroyed when the presentation is torn down (including if the frame is destroyed),
so we can't have a leak here. The reference to the canvas element is only strong because the layer might briefly outlive the frame (the layer
won't be destroyed until the next paint of the window).
This patch moves responsibility for calling CanvasLayer::Updated and nsFrame::MarkLayersActive from the canvas context to nsHTMLCanvasElement::InvalidateFrame.
We call Updated on the retained CanvasLayer, if there is one; any other CanvasLayers created for this canvas would only be used once, and have Updated
called on them in BuildLayer when created.
2011-03-28 12:59:47 +13:00
Robert O'Callahan
0bd609d840
Bug 635373. Tests
2011-04-01 10:33:46 +13:00
Robert O'Callahan
07c2424cf5
Bug 635373. Add layersOpenGL to the reftest harness. r=dbaron
2011-04-01 10:33:46 +13:00
Robert O'Callahan
77ab860b5c
Bug 644832. Windowless plugins inside CSS transforms should be rendered. r=tnikkel
2011-04-01 10:33:46 +13:00
Robert O'Callahan
d13eeaf01c
Bug 641770. Apply correct clip rect to a layerized image. r=tnikkel
2011-04-01 10:33:46 +13:00
Robert O'Callahan
8fd77f670c
Bug 617539. Remove nsIPresShell_MOZILLA_2_0_BRANCH(2). r=tnikkel
2011-04-01 10:33:46 +13:00
Boris Zbarsky
6673da2a39
Bug 646850. When resetting length to the pre-animation value, make sure to not lose track of our units. r=dholbert
2011-03-31 15:29:44 -04:00
Boris Zbarsky
1014c1d928
Bug 646912. Fix grad-to-degree conversion factor. r=dholbert
...
--HG--
rename : layout/reftests/svg/smil/motion/animateMotion-rotate-1.svg => layout/reftests/svg/smil/motion/animateMotion-rotate-1a.svg
rename : layout/reftests/svg/smil/motion/animateMotion-rotate-1.svg => layout/reftests/svg/smil/motion/animateMotion-rotate-1b.svg
2011-03-31 15:29:44 -04:00
Ehsan Akhgari
41f6aee99f
Merge cedar into mozilla-central
2011-03-31 14:11:37 -04:00
Joel Maher
335f832c43
Bug 638815 - reftest seems to have no way to do a green run on android, r=mfinkle a=test-only
2011-03-31 13:08:07 -04:00
Joel Maher
d06f7b420e
Bug 473817 - allow conditional 'include' in reftest manifests. r=dbaron, a=test-only
2011-03-31 13:08:05 -04:00
Kyle Huey
e169e16015
Back out Bug 639754.
2011-03-31 09:12:20 -04:00
Kyle Huey
61ff9410c4
Backed out changeset a5dbece71e4a due to test failures
2011-03-31 09:11:21 -04:00
Masayuki Nakano
f137ac24c5
Bug 645662 Should not consume mouse down event at the sub menu of splitmenu or toolbarbutton rolled up r=enndeakin
2011-03-31 21:28:19 +09:00
Matheus Kerschbaum
1f81122982
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg
2011-03-31 07:22:55 -04:00
Ehsan Akhgari
a0f4acae30
Merge cedar into mozilla-central
2011-03-30 13:53:35 -04:00
Ehsan Akhgari
5199d98d91
Bug 645914 - Do not eat the white-space when doing word selection if the eaten whitespace is a newline character and we have been instructed not to jump between lines; r=roc
...
This fixes a bug in selecting words at the end of lines in textarea's for Windows.
2011-03-30 11:56:48 -04:00
Mounir Lamouri
ceab8b6711
Bug 640545 - Specify that the load has failed in the error message when a reftest load failed. r=dbaron
2011-03-30 14:38:44 +02:00
Ehsan Akhgari
6c4d70e8f0
Bug 644428 - Position the caret correctly for empty inline frames; r=roc
2011-03-28 20:17:16 -04:00
Jonathan Kew
1095b2347e
bug 418975 - support ­ when calculating min width for table and fieldset. r=roc. landing on the CLOSED TREE after dbaron went to bed :)
2011-03-24 15:22:37 +00:00
Jonathan Kew
df641cb631
additional crashtest for bug 645072
2011-03-30 07:39:11 +01:00
Jonathan Kew
de1012f0b9
bug 418975 - backed out changeset f1d26af4c57b to re-enable tests for ­ in tables
2011-03-27 09:14:41 +01:00
Simon Montagu
c1998d7c2c
Change x-gbk to gbk in charset titles. Bug 369403, r=emk
2011-03-30 08:35:36 +02:00
Simon Montagu
be96a9dc94
Remove UTF-32 encoder and decoder. Bug 604317, r=emk
2011-03-30 08:35:34 +02:00
L. David Baron
484bb3497b
Add test for bug 583219. r=bzbarsky
2011-03-29 20:46:13 -07:00
L. David Baron
ea97bc0b82
Go through the normal restyling codepath in RebuildAllStyleData so that we handle in-progress transitions correctly. (Bug 583219) r=bzbarsky
2011-03-29 20:46:13 -07:00
L. David Baron
809999141b
Don't call SetSheet with a null sheet. (Bug 645951) r=bzbarsky
2011-03-29 20:46:12 -07:00
Jonathan Kew
58ef27c608
bug 646561 - testcase.
2011-03-31 09:47:01 +01:00
Jonathan Kew
687c9f81ff
bug 646561 - pass correct length to PropertyProvider in bidi case. r=roc
2011-03-31 09:47:01 +01:00
Matheus Kerschbaum
2c52314c47
Bug 616746 - remove HTML option/optgroup stuff from nsTreeContentView. r=tn
2011-03-31 10:12:35 +02:00
Florian Quèze
20b0b008d5
Bug 591341 - Add color keywords for default text and background colors. r=dbaron
2011-03-30 11:28:05 +02:00
Ms2ger
3aac8958f3
Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz
2011-03-29 22:24:54 -04:00
Ehsan Akhgari
ca0a27ab24
Merge cedar into mozilla-central
2011-03-29 10:39:07 -04:00
David Bolter
8756e3e643
Bug 616594 - overflow:auto causes DIV to get tab focus, r=bz
2011-03-29 13:43:59 +09:00
Boris Zbarsky
16ac67c451
Bug 645943. Initialize mLastTimerInterval correctly. r=dbaron
2011-03-29 00:41:01 -04:00
Boris Zbarsky
e7675b4602
Bug 633271 part 2. Simplify nsEventStateManager::SetContentState. r=dbaron
2011-03-28 23:32:11 -04:00
Boris Zbarsky
0a7e20bbec
Bug 313351. ContentStatesChanged should take only one argument. r=dbaron
2011-03-28 23:32:11 -04:00
Chen Liu
86a955132e
Use PL_strncpyz in DR_FrameTypeInfo. (Bug 639220) r=dbaron
2011-03-28 16:07:27 -07:00
L. David Baron
f30ccb969b
Remove the datastruct_ and member_ fields of the CSS_PROP macro. (Bug 645620, patch 5) r=bzbarsky
2011-03-28 16:07:27 -07:00
L. David Baron
2131a8f272
Remove nsCSSStruct.h/cpp. (Bug 645620, patch 4) r=bzbarsky
2011-03-28 16:07:26 -07:00
L. David Baron
012f77a7a9
Move nsCSSCornerSizes from nsCSSStruct.h/cpp to nsCSSValue.h/cpp. (Bug 645620, patch 3) r=bzbarsky
2011-03-28 16:07:26 -07:00
L. David Baron
39b5580d80
Remove nsCSSDataBlock::kOffsetTable, which is no longer needed. (Bug 645620, patch 2) r=bzbarsky
2011-03-28 16:07:26 -07:00
L. David Baron
f22af36a6f
Replace use of nsCSS* structs in nsCSSExpandedDataBlock with an array of nsCSSValue. (Bug 645620, patch 1) r=bzbarsky
...
Note that this increases the size of nsCSSExpandedDataBlock by three
nsCSSValues for the three non-CSS properties.
2011-03-28 16:07:26 -07:00
Jonas Sicking
ca53c7c13a
Bug 644476: Rename classes/functions/variables to use "CORS" rather than "Access Control" or "Cross site" where appropriate. r=smaug
2011-03-28 13:18:45 -07:00
Jonas Sicking
b41f2752c4
Bug 644476 Part 2: Move CORS code from nsXMLHttpRequest.cpp/h to nsCrossSiteListenerProxy.cpp/h. r=smaug
2011-03-28 13:11:09 -07:00
Joel Maher
a85f69f8f9
Bug 643440 - when using --extra-profile-files, we can overwrite user.js settings from the harness. r=ted, a=test-only
2011-03-28 14:37:08 -04:00
Ehsan Akhgari
db0e06d061
Merge cedar into mozilla-central
2011-03-28 13:28:13 -04:00
Boris Zbarsky
d7d7817aa0
Bug 644576. Make sure that when we set up our iterator we don't decide we're done if the first row in our damage range contains no cells in our damage range. r=roc
2011-03-28 10:49:48 -04:00
Boris Zbarsky
c964785dea
Bug 642717. Hold strong references to our MozBeforePaint event targets. r=roc
2011-03-28 10:49:48 -04:00
Alexander Surkov
8eec39795c
Bug 629114 - crash on add comment link in review board [@ nsBulletFrame::GetListItemText ] [@ nsBulletFrame::GetListItemText(nsStyleList const&, nsString&) ], r=davidb, marcoz, sr=bz, a=blocking2.x+
2011-03-28 22:59:54 +09:00
Simon Montagu
092b78d138
Make mRestorePos a logical position and convert to physical position when scrolling. Bug 638753, r=dbaron
2011-03-28 08:37:57 +02:00
Frédéric Wang
6de199a0ba
b=605605 Uninitialised value used in nsMathMLChar r=karlt
...
--HG--
extra : transplant_source : _G%B6%C6%C6q%C0a%F0f-%CD%AF%FB%FE%F0%BAYc%D5
2011-03-25 16:38:59 +13:00
Frédéric Wang
dde2ac5cad
Bug 21479 - Embellished operators - add rules for mstyle, mphantom, mpadded and mrow. r=karlt
...
--HG--
extra : transplant_source : %CDr%F474%A9%FD%80%D2%FC%AEJ%B6%93%E9%23%ECO%25z
2011-03-25 16:38:59 +13:00
Frédéric Wang
f0df881216
b=534970 updateOperatorDictionary.pl: add private data mirrorable r=karlt npotb
...
--HG--
extra : transplant_source : %B1%15%00%1A%DA%1A%F33%9B.x%E5%7F%EB%EDf%3F%1E%D7%F7
2011-03-25 16:38:58 +13:00
Frédéric Wang
945add0482
MathML Operator Dictionary: remove obsolete infix entries for coproduct, wedge and vee (bug 534970). r=karlt
...
--HG--
extra : transplant_source : f%0D%EA%DCP%B4%E0%B4%5B%D3%8DA%DF%D31%0A%8D%12%8A%2C
2011-03-25 16:38:58 +13:00
Frédéric Wang
89fabd7460
MathML Operator Dictionary: fix three conflicts for symmetric or fence (bug 534970). r=karlt
...
--HG--
extra : transplant_source : %0A%B7XXNy%A7%04G%03%9Db%CC%7D%1C%A0%3D2%DE%BC
2011-03-25 16:38:58 +13:00
Frédéric Wang
499ff10c52
MathML Operator Dictionary: fix conflicts for entries becoming accent (bug 534970). r=karlt
...
--HG--
extra : transplant_source : %EAn%3B%8A%B7%9Fs%BE%06%0C%EB%F17%7E%D7%CD%7E%8AG%C2
2011-03-25 16:38:58 +13:00
Frédéric Wang
37b6222b1b
MathML Operator Dictionary: add new fence, accent and largeop entries (bug 534970). r=karlt
...
--HG--
extra : transplant_source : %83%23%CB%EB%E9%D1%A7%27%86%87%08%82p%07%08%F9%82%BAz%8C
2011-03-25 16:38:58 +13:00
Frédéric Wang
34f9a428c6
MathML Operator Dictionary: fix space conflicts (bug 534970). r=karlt
2011-03-28 14:52:03 +13:00
Frédéric Wang
6e79c77b4f
MathML Operator Dictionary: add new entries which are neither stretchy nor largeop (bug 534970). r=karlt
...
--HG--
extra : transplant_source : %C61f%073%C9n%96%27%94%27%2A%7D%21%E3%06%3DK%A0%1D
2011-03-25 16:38:58 +13:00
Frédéric Wang
0e054716ae
MathML Operator Dictionary: sort entries of the dictionary and remove minsize attributes (bug 534970). r=karlt
...
--HG--
extra : transplant_source : %97%AB%E6%8A%CA%D0Y%CB%C6%02%F5%3Fo%10%CF%A7%C7%D9r%CA
2011-03-25 16:38:58 +13:00
Robert O'Callahan
4ca813ae6e
Bug 622072. Part 3: Support empty transactions for canvas layers. r=tnikkel
...
The basic idea is that whenever a layer transaction updates the window, we clear out the invalidation state for the canvas rendering context,
using a DidTransactionCallback registered on the layer(s) for the canvas, which calls MakeContextClean.
The DidTransactionCallbacks are directed to the user data attached to the Layer, which holds a strong reference to the canvas element. This
ensures that the element lives as long as the layer. Layers are destroyed when the presentation is torn down (including if the frame is destroyed),
so we can't have a leak here. The reference to the canvas element is only strong because the layer might briefly outlive the frame (the layer
won't be destroyed until the next paint of the window).
This patch moves responsibility for calling CanvasLayer::Updated and nsFrame::MarkLayersActive from the canvas context to nsHTMLCanvasElement::InvalidateFrame.
We call Updated on the retained CanvasLayer, if there is one; any other CanvasLayers created for this canvas would only be used once, and have Updated
called on them in BuildLayer when created.
2011-03-28 12:59:47 +13:00
timeless@mozdev.org
80f1c76ffd
Bug 620311 crash [@ nsTableFrame::MatchCellMapToColCache | nsTableFrame::RemoveFrame] because cellMap guard did not cover MatchCellMapToColCache
...
r=bernd
2011-03-26 00:37:35 -04:00
Masayuki Nakano
5a1919d8f0
Bug 59109 part 4: reftests for text-decoration-color and text-decoration-style r=dbaron
2011-03-31 21:27:12 +09:00
Masayuki Nakano
ea752bfc4b
Bug 59109 Part 3: Implement text-decoration-color and text-decoration-style rendering r=dbaron
2011-03-31 21:27:03 +09:00
Masayuki Nakano
a08a3877b3
Bug 59109 Part 2: Cleaning up current text decoration implementation r=dbaron
2011-03-31 21:26:49 +09:00
Masayuki Nakano
264109812b
Bug 59109 Part 1: Adding -moz-text-decoration-color and -moz-text-decoration-style r=dbaron, sr=bzbarsky
2011-03-31 21:26:35 +09:00
Robert Longson
60a6329a4b
Bug 619503 - Support SMIL animation of the class attribute r=dholbert,jwatt
2011-01-23 17:08:17 +00:00
timeless@mozdev.org
715ad2db40
Bug 618830 initial assignment to kidNextInFlow is useless in nsTableFrame::ReflowChildren
...
r=bz
2011-03-28 16:50:13 -04:00
timeless@mozdev.org
ee5ce199c4
Bug 615908 comparison between signed and unsigned integer expressions in UnhookTextRunFromFrames
...
r=mats
2011-03-28 16:49:26 -04:00
Ehsan Akhgari
73a35597a9
Merge mozilla-central into cedar
2011-03-28 14:39:03 -04:00
Masayuki Nakano
218ee7f163
Bug 627272 - Cannot start dragging titlebar when Firefox button opens its menu; r=enndeakin
2011-01-19 18:17:00 -05:00
Markus Stange
635a2437ca
Bug 627651 - Improve the smooth scroll animation. ui-r=faaborg, r=roc
2011-03-26 00:30:19 -04:00
Neil Deakin
1541d0e3db
Bug 630830 - "key" attribute changes to menuitems are not handled; r=joshmoz
2011-02-13 07:28:00 -05:00
Ms2ger
cbadb28698
Bug 637178 - Unused variable warning in GetContentMap; r=ben
2011-02-27 10:46:00 -05:00
Boris Zbarsky
8038f06c2e
Bug 643945. Use a <button type='button'>, not an <input type='button'>, for the dropmarker in a <select>. r=ehsan
2011-03-25 21:05:56 -04:00
Boris Zbarsky
5621236360
Bug 607529. Don't trigger animation callbacks on documents that have gone away. r=roc,smaug
2011-03-25 21:05:56 -04:00
Ehsan Akhgari
9fd7693897
Merge backout of bug 263359
2011-03-25 18:16:31 -04:00
Ehsan Akhgari
ec23591598
Back out bug 263359 because it has caused bug 645119
2011-03-25 18:15:29 -04:00
L. David Baron
f896df2450
Add crashtest for bug 645072.
2011-03-25 11:42:00 -07:00
L. David Baron
fa719910ca
Mark tests added in changeset 03070beac9e7 (bug 418975) as failing, since the patch is being backed out for causing crash bug 645072.
2011-03-25 11:40:28 -07:00
L. David Baron
e1a1cea12d
Back out changeset 25beb9ced8d2 (bug 418975) for causing crash bug 645072.
2011-03-25 11:38:58 -07:00
Ehsan Akhgari
395dbdf918
Merge cedar into mozilla-central
2011-03-25 14:21:07 -04:00
Simon Montagu
cf14bed018
Bug 263359 part 5: optimization -- don't do bidi resolution if the text is monodirectional. r=roc
2011-03-24 11:28:45 +02:00
Simon Montagu
278dfd1e65
Bug 263359 part 4: resolve paragraph on encountering line breaks in preformatted elements
2011-03-24 11:28:45 +02:00
Simon Montagu
9407714b55
Tests for bug 263359
2011-03-24 11:28:45 +02:00
Simon Montagu
5e24d64c4b
Bug 263359 part 3: resolve paragraph on encountering <br> or embedded block elements
2011-03-24 11:28:44 +02:00
Simon Montagu
de15ff19d5
Tests for bug 229367 and bug 613157
2011-03-24 11:28:44 +02:00
Simon Montagu
e0953392b0
Bug 263359 part 2: split nsBidiPresUtils::Resolve into Resolve and ResolveParagraph. r=roc
2011-03-24 11:28:44 +02:00
Simon Montagu
9914a030ec
Bug 263359 part 1.5: remove nsDirectionalFrame.
2011-03-24 11:28:44 +02:00
Simon Montagu
5250ed8a4a
Bug 263359 part 1: refactor bidi resolution code, combining InitLogicalArray and CreateBlockBuffer. r=roc
2011-03-24 11:28:44 +02:00
Simon Montagu
01aa874a4e
Debugging code for Bidi resolution. NPOTDB
2011-03-24 11:28:44 +02:00
L. David Baron
641ba89f03
Fix unexpected pass by removing failure annotation which points to the bug that was just fixed, bug 546315.
2011-03-23 21:59:52 -07:00
Ehsan Akhgari
91d9bbfb48
Backout bug 635639 because of test failure
2011-03-24 00:02:35 -04:00
Jonathan Kew
ed99bde8e4
Bug 635639 - Part 2: tests; r=jdagget
2011-03-23 22:56:04 -04:00
Benjamin Smedberg
4f1ecb131c
Bug 617539 - remove nsIWidget_MOZILLA_2_0_BRANCH, r=jimm
2011-03-25 11:03:35 -04:00
Benjamin Smedberg
fa3fb2d543
Bug 617539 - Merge nsIMenuBoxObject_MOZILLA_2_0_BRANCH, r=enn
2011-03-25 11:03:35 -04:00
Benjamin Smedberg
61f9c6a63e
Bug 617539 - Fold in nsIFrameLoader_MOZILLA_2_0_BRANCH, r=bz
2011-03-25 11:03:35 -04:00
Benjamin Smedberg
51ecdf79a2
Bug 617539 - Fold nsIContentViewer_MOZILLA_2_0_BRANCH, r=sicking
2011-03-25 11:03:34 -04:00
Benjamin Smedberg
c5cd1d7413
Bug 617539 - Integrate nsIFocusManager_MOZILLA_2_0_BRANCH back into the main interface, r=smaug
2011-03-25 11:03:33 -04:00
Benjamin Smedberg
d758fb0d7e
Bug 617539 - Fold in nsIDOMWindowUtils_MOZILLA_2_0_BRANCH, r=bz
2011-03-25 11:03:33 -04:00
L. David Baron
802da587ae
Merge layout work from projects/birch, part 2.
2011-03-23 17:39:29 -07:00
Ehsan Akhgari
7804c38300
Merge mozilla-central into cedar, in order to import work targetted at Firefox 4 into the tree
2011-03-23 19:18:30 -04:00
Ehsan Akhgari
ca95c68a1e
Merge mozilla-central into cedar
2011-03-23 18:29:19 -04:00
Chris Pearce
21f7bd28a4
Bug 642695 - Remove debug printf in nsSVGForeignObjectFrame::DoReflow(). r=jwatt
2011-03-24 11:28:57 +13:00
Ehsan Akhgari
47cf269311
Merge mozila-central onto cedar
...
--HG--
rename : toolkit/components/places/src/nsLivemarkService.js => toolkit/components/places/nsLivemarkService.js
2011-03-23 12:06:04 -04:00
L. David Baron
34651d06fe
Include the opening "url(" in URL and Bad_URL tokens (though the latter do not have a close paren), and make tokenization of url() function be noncontextual, as required by CSS. (Bug 604179, patch 7) r=bzbarsky
...
Note that tokenization of url-prefix() and domain() remains contextual.
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-03-11 11:29:45 -06:00
L. David Baron
62b1274403
Include the close parenthesis in the URL token and make quoted URLs produce URL tokens rather than string tokens. (Bug 604179, patch 6) r=bzbarsky
2011-03-11 11:29:45 -06:00
L. David Baron
d2fff89944
Disallow control characters less than space inside unquoted url(), per spec. (Bug 604179, patch 5) r=bzbarsky
2011-03-11 11:29:44 -06:00
L. David Baron
d03d993c7b
Fix incorrect indentation in nsCSSScanner::NextURL. (Bug 604179, patch 4) r=bzbarsky
2011-03-11 11:29:44 -06:00
L. David Baron
0041c7ae2e
Move the consumption of beginning whitespace (for all forms) and ending whitespace (for the string form) inside url() into the tokenizer. (Bug 604179, patch 3) r=bzbarsky
2011-03-11 11:29:44 -06:00
L. David Baron
866f3aece4
Rename CSS tokens to be closer to the names of newly-added tokens (BAD_STRING, BAD_URI) in the CSS 2.1 tokenization. (Bug 604179, patch 2) r=bzbarsky
2011-03-11 11:29:44 -06:00
L. David Baron
d321398917
Use GatherURL in ParseNameSpaceRule and ParseImageRect, and rename GatherURL to ParseURLOrString for clarity. (Bug 604179, patch 1) r=bzbarsky
...
Note that this adds a missing UngetToken(), which affects the other
consumer of GatherURL, parsing of @import rules.
2011-03-11 11:29:44 -06:00
Craig Topper
d52db340a6
Bug 576831 part 6. DeCOMtaminate some StyleRule method signatures. r=bzbarsky.
2011-03-10 21:50:20 -05:00
Craig Topper
45ad1bbe6f
Bug 576831 part 5. Make some methods that used to be virtual non-virtual. r=bzbarsky
2011-03-10 21:50:12 -05:00
Craig Topper
72d7c1f754
Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
...
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
Craig Topper
5331afcc56
Bug 576831 part 3. Rename CSSImportantRule to mozilla::css::ImportantRule. r=bzbarsky
2011-03-10 21:48:26 -05:00
Craig Topper
2465d73b63
Bug 576831 part 2. Rename DOMCSSStyleRuleImpl to mozilla::css::DOMCSSStyleRule. r=bzbarsky
2011-03-10 21:47:52 -05:00
Craig Topper
40e645b9da
Bug 576831 part 1. Rename CSSStyleRuleImpl to mozilla::css::StyleRule. r=bzbarsky
2011-03-10 21:47:08 -05:00
Matheus Kerschbaum
255f1d6b3c
Bug 634807 - Remove MOZ_PLAINTEXT_EDITOR_ONLY; r=khuey
2011-03-24 19:59:00 -04:00
Matheus Kerschbaum
45b3d3567e
Bug 640031 - Remove MOZILLA_PLAINTEXT_EDITOR_ONLY; r=ehsan
2011-03-24 19:58:57 -04:00
Boris Zbarsky
ef5a70b33c
Bug 608759. Stop calling ContentEnumFunc through a function pointer; just call it directly. r=dbaron
2011-03-07 12:45:25 -05:00
Boris Zbarsky
be00decfac
Bug 630127. Use a precise timer when we have animation frame callbacks. r=dbaron
2011-03-07 11:58:48 -05:00
L. David Baron
0c50a7e668
Use ParseSingleValueProperty for the components inside the 'transition' shorthand as well. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
L. David Baron
7d588db662
Make generic mechanism for parsing lists of single values with ParseVariant. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
L. David Baron
9576960b8d
Drive the ParseVariant calls in ParseSingleValueProperty from data rather than a big switch. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
L. David Baron
f66feda91a
Fix keyword table entries in nsCSSPropList and code in nsRuleNode to match those used in the parser. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
L. David Baron
36d847de86
Add 'parsevariant_' parameter to CSS_PROP macro, with all properties initially zero. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
L. David Baron
1f77843f84
Separate properties that are parsed in ParseSingleValueProperty with something other than ParseVariant. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
L. David Baron
ca34183567
Separate the non-property parsed in ParseSingleValueProperty. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
L. David Baron
be4c804463
Disable parsing of 'marker', 'run-in', and 'compact' in a less hacky way. (Bug 636029) r=bzbarsky
...
This simply removes all the code for the values. This removes a
special-case that would otherwise need to become more complicated in a
later patch in this series.
2011-03-05 09:58:33 -08:00
L. David Baron
97c0bdb8a8
Add parse types for CSS properties so we don't parse them in one huge switch. (Bug 636029) r=bzbarsky
...
With this patch, every CSS property is required to have one of the parse
type values (CSS_PROPERTY_PARSE_{FUNCTION,VALUE,INACCESSIBLE}) in its
flag bits. This avoids needing a switch in
CSSParserImpl::ParseProperty(nsCSSProperty).
Note that this reserves more space in CSS_PROPERTY_PARSE_PROPERTY_MASK
than appears to be necessary; that space will be used in a later patch
in this series.
2011-03-05 09:58:33 -08:00
L. David Baron
185c0cd717
Make sure all properties in nsCSSPropList.h have useful values for the method_ field. (Bug 636039) r=bzbarsky
...
Note that these are unprefixed to be consistent with the similar
existing methods for other logical box properties. Prefixing doesn't
matter for the dom property field of CSS_PROP_LIST_EXCLUDE_INTERNAL
properties, since dom property field of such properties is not exposed
to the Web.
2011-03-05 09:58:33 -08:00
Craig Topper
07e8b64cd1
Bug 585867 part 5. Remove outparam and AddRef from all property getters. r=bzbarsky
2011-03-04 12:28:57 -05:00
Craig Topper
aab3b367c9
Bug 585867 part 4. Make SetValueToStyleImage return void. r=bzbarsky
2011-03-04 12:28:57 -05:00
Craig Topper
04c3f87d46
Bug 585867 part 3. Make AppendCSSValue infallible. r=bzbarsky
2011-03-04 12:28:57 -05:00
Craig Topper
7dd8d4bedc
Bug 585867 part 2. Make SetToRGBAColor return void. r=bzbarsky
2011-03-04 12:28:57 -05:00
Craig Topper
8a8824e583
Bug 585867 part 1. Remove OOM checks on the return value of GetROCSSPrimitiveValue and GetROCSSValueList. r=bzbarsky
2011-03-04 12:28:56 -05:00
L. David Baron
3c13d96f28
Condition should be d2d rather than winWidget. (Bug 635222)
2011-03-04 07:46:28 -08:00
Boris Zbarsky
1e753295f6
Bug 616137. Skip to the nearest ']' when parsing an attr selector fails. r=dbaron
2011-03-04 10:27:02 -05:00
Boris Zbarsky
151fe5976e
Bug 621841. Clear restyle flags in frameset kids when we process them. r=dbaron
2011-03-04 10:27:02 -05:00
Boris Zbarsky
1782b07550
Bug 632907. Use Element more in the frame constructor. r=roc
2011-03-04 10:27:02 -05:00
Boris Zbarsky
f784386f4b
Bug 614733. Do exponential backoff on throttled refresh drivers. r=dbaron
2011-03-04 10:27:02 -05:00
L. David Baron
69367d9bce
Mark new test as failing on Windows due to rounding difference. (Bug 635222)
2011-03-03 21:42:31 -08:00
L. David Baron
a3f318836d
Mark new test as failing on Mac due to rounding difference. (Bug 635222)
2011-03-03 18:58:37 -08:00
L. David Baron
4fcef65cfe
-moz-box-ordinal-group should not accept 0, since the code that uses the property ignores values of 0. (Bug 636034) r=bzbarsky
2011-03-03 13:18:42 -08:00
L. David Baron
18e788b1a1
Correctly handle non-repeating radial gradients in which all stops are at the same position. (Bug 635222) r=roc
2011-03-03 13:18:42 -08:00
L. David Baron
34bc1403fe
Fix nsXULScrollFrame parameter names that are named incorrectly and fix inconsistencies between .h and .cpp. (Bug 636307) r=ehsan
2011-03-03 13:18:42 -08:00
L. David Baron
31bb14549e
Remove tracking of whether the font family comes from HTML, since we no longer use the information. (Bug 636040) r=jdaggett
2011-03-03 13:18:42 -08:00
L. David Baron
4a7745e74d
Remove tracking of which font families are quirky, since we no longer use the information. (Bug 636040) r=jdaggett
2011-03-03 13:18:42 -08:00
L. David Baron
937df71675
Fix skipping of @-rules that are inside blocks to conform to new rule in CSS 2.1, which says that we must look for end-of-outer-block in addition to a semicolon or a block. (Bug 604175) r=bzbarsky
...
This fixes http://test.csswg.org/suites/css2.1/20110111/html4/at-rule-013.htm
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-03-03 13:18:42 -08:00
L. David Baron
df01b98efe
Make GatherMedia() stop at block or semicolon in invalid cases. (Bug 604172) r=bzbarsky
...
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-03-03 13:18:42 -08:00
L. David Baron
f597990bf0
Add missing UngetToken() for invalid contents of @charset rule. (Bug 604172) r=bzbarsky
...
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-03-03 13:18:42 -08:00
L. David Baron
a03ec13a60
Fix implementation of rules for auto margins on absolutely positioned elements; honor auto margins when only one margin is auto, even when the auto margin gets a negative value. (Bug 419100) r=roc
...
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-03-03 13:18:42 -08:00
Boris Zbarsky
250488127b
Bug 457102. Remove vestiges of dead xpointer/fixptr stuff. r=sicking
2011-03-23 10:45:21 -04:00
Kyle Huey
782df80bf2
Merge m-c to bs.
2011-03-19 07:56:17 -04:00
Boris Zbarsky
9c5494abae
Fix these tests to not break at smaller window widths or larger fonts. a=test-only
2011-03-18 22:15:14 -04:00
Steven Michaud
310a1f87bf
Breakage fix for patch for bug 637367 (4da037fe27b0). a=breakage-fix
2011-03-18 15:27:20 -05:00
Steven Michaud
65c49866d2
Bug 637367 - Stop DrawPlugin from accessing deleted nsObjectFrame. r=roc a=beltzner
2011-03-18 14:35:14 -05:00
Benjamin Stover
0b3ec6cfce
Bug 642205 Followup: workaround for Android compiler bug r=tnikkel a=blocking-fennec CLOSED TREE
2011-03-17 15:48:47 -07:00
Joel Maher
c6cc559d6f
Bug 636753 - annotate reftest manifests to note tests that fail on Android (2 of 2). r=dbaron a=test-only
2011-03-18 11:54:15 -04:00
Joel Maher
a2a84ed8a8
Bug 636753 - annotate reftest manifests to note tests that fail on Android (1 of 2). r=dbaron a=test-only
2011-03-18 11:54:13 -04:00
Benjamin Stover
4d0881f7a6
Bug 642205 Followup: Remove bogus assertion r=roc a=followup-for-blocking-fennec
2011-03-16 14:17:25 -07:00
Benjamin Stover
51e2e999ba
Bug 642205 Do not build layers for asynchronous scrolling if element shouldn't be scrollable r=tn a=blocking-fennec
2011-03-16 13:18:35 -07:00
Kyle Huey
3037a2e752
Merge m-c to bs.
2011-03-13 09:57:04 -04:00