Jonathan Kew
916e9b8b24
bug 253317 - part 5 - support none/manual/auto values for -moz-hyphens in layout. r=roc
2011-05-04 12:29:56 +01:00
L. David Baron
1681bbfeed
Fix the remaining todo test in test_parse_rule.html, which is invalid since ~= selectors never match anything containing spaces. (Bug 384672, patch 5) r=bzbarsky
2011-05-03 13:19:19 -07:00
L. David Baron
8b0a4909bc
Only allow escaped newlines inside strings (which includes url() tokens that contain strings). (Bug 384672, patch 4) r=bzbarsky
2011-05-03 13:19:19 -07:00
L. David Baron
2887557e92
Allow ParseAndAppendEscape to fail when the stream does not contain an escape, and make callers handle this failure appropriately. This changes our behavior when backslash immediately precedes end-of-stream. (Bug 384672, patch 3) r=bzbarsky
2011-05-03 13:19:19 -07:00
L. David Baron
13f8891b62
Handle failure of GatherIdent, which can (starting with the next patch) fail when the character sequence is not an identifier. Additionally, change the tokenization of a hash (#) followed by a non-name character or EOF to tokenize as DELIM (eCSSToken_Symbol) rather than as eCSSToken_Hash. This only changes the behavior in the EOF case, because the only caller (color parsing) that accepts eCSSToken_Hash (rather than only eCSSToken_ID) checks the length. (Bug 384672, patch 2) r=bzbarsky
2011-05-03 13:19:19 -07:00
L. David Baron
0099793035
Pass whether we're in a string to ParseAndAppendEscape. (Bug 384672, patch 1) r=bzbarsky
...
This passes true for string tokens and for url() tokens containing
string, since that is what CSS 2.1 chapter 4's tokenization suggests.
2011-05-03 13:19:18 -07:00
Dão Gottwald
ca1f9f0f94
Bug 451833 - Highlight the domain name in the address bar. r=roc,sdwilsh ui-r=faaborg
...
--HG--
extra : rebase_source : 1010ad246e94e271a0efaaca13356aff5d4b3bc3
2011-05-02 19:50:18 +02:00
L. David Baron
babad15001
Audit for places in style rule code that need to check for a null sheet. (Bug 634373) r=bzbarsky
2011-05-02 18:43:44 -07:00
Chris Leary
0e70d84970
Merge mozilla-central and tracemonkey. (CLOSED TREE on tracemonkey side)
2011-05-02 15:47:41 -07:00
Zack Weinberg
bfba1f66e2
Bug 653179: fix a call to nsRenderingContext::GetWidth(). r=dholbert
2011-05-02 12:27:36 -07:00
Chris Leary
55f7c6409e
Merge mozilla-central to tracemonkey. (CLOSED TREE)
2011-05-02 10:55:34 -07:00
Chris Jones
a61c26e2c0
Bug 642381, part 3: Hoist Maybe into mfbt and eliminate Gecko's use of jstl. r=jorendorff,luke
2011-04-28 17:48:52 -05:00
Chris Jones
6fd4cbff2d
Bug 642381, part 2: Rename LazilyConstructed to Maybe. r=luke
2011-04-28 17:48:51 -05:00
Robert Longson
eeaddc72e5
Bug 620286 - White space at beginning (end) of tspan should render when there is preceding (following) non-white space text. r=roc
2011-05-03 08:45:30 +01:00
Boris Zbarsky
c73cd26712
Merge cedar with mozilla-central
2011-05-02 09:10:48 -04:00
Robert Longson
d3f15b07db
Bug 643419 - pathLength should affect stroke-dasharray. r=dholbert
2011-05-01 19:26:20 +01:00
Frédéric Wang
fe04ad36c7
MathML Operator dictionary: fix conflicts and add entries for bars and quadruple arrows (bug 414294). r=karlt
2011-04-29 17:39:22 -04:00
Benjamin Stover
1c80f2b928
Bug 640048 Crash fix: build nsDisplayScrollLayer with a non-null frame r=roc
2011-05-01 18:53:58 -07:00
Benjamin Stover
5eedd38c01
Bug 640048 Fix edge case for z-ordering for async scrollable elements r=roc
2011-05-01 18:53:01 -07:00
Craig Topper
0c783e4943
Bug 648885 - Part 3: Remove nsIImageMap. r=roc
...
--HG--
extra : rebase_source : 179eb2e28f555d2a6159f92aa5ccd6d0af900b2b
2011-04-26 22:51:13 -07:00
Craig Topper
424eee8dac
Bug 648885 - Part 2: Remove nsIImageFrame. r=roc
...
--HG--
extra : rebase_source : 3097ee732ab2ba3b7a79253f7f71c09eed22d033
2011-04-25 23:52:19 -07:00
Craig Topper
bdc6150c3c
Bug 648885 - Part 1: Remove 'using namespace' from nsImageFrame.h. r=roc
...
--HG--
extra : rebase_source : a05f252ff6efb2069d4f8096ebb70eb3ad9cc4c7
2011-04-25 23:04:18 -07:00
Mounir Lamouri
6a301536c7
Merge cedar with mozilla-central.
2011-04-29 16:19:07 +00:00
Dão Gottwald
8b0233a363
merge backout
2011-04-29 17:11:23 +02:00
Dão Gottwald
abc853c0f0
Backed out changeset 00f6e702f095 because svg-image-script-2.svg is failing intermittently
2011-04-29 17:11:07 +02:00
Robert Longson
91f2e27dba
Bug 652442 - Script feature support should depend on whether javascript is enabled. r=dholbert
2011-04-29 12:28:10 +01:00
Benjamin Smedberg
d3a66ed55a
Bug 649558 - Move modules/plugin/base to dom/plugins/base, r=josh
...
--HG--
rename : modules/plugin/base/src/Makefile.in => dom/plugins/base/Makefile.in
rename : modules/plugin/base/src/PluginPRLibrary.cpp => dom/plugins/base/PluginPRLibrary.cpp
rename : modules/plugin/base/src/PluginPRLibrary.h => dom/plugins/base/PluginPRLibrary.h
rename : modules/plugin/base/public/npapi.h => dom/plugins/base/npapi.h
rename : modules/plugin/base/public/npfunctions.h => dom/plugins/base/npfunctions.h
rename : modules/plugin/base/public/npruntime.h => dom/plugins/base/npruntime.h
rename : modules/plugin/base/public/nptypes.h => dom/plugins/base/nptypes.h
rename : modules/plugin/base/public/nsIHTTPHeaderListener.idl => dom/plugins/base/nsIHTTPHeaderListener.idl
rename : modules/plugin/base/public/nsIPlugin.idl => dom/plugins/base/nsIPlugin.idl
rename : modules/plugin/base/public/nsIPluginDocument.idl => dom/plugins/base/nsIPluginDocument.idl
rename : modules/plugin/base/public/nsIPluginHost.idl => dom/plugins/base/nsIPluginHost.idl
rename : modules/plugin/base/public/nsIPluginInputStream.idl => dom/plugins/base/nsIPluginInputStream.idl
rename : modules/plugin/base/public/nsIPluginInstance.idl => dom/plugins/base/nsIPluginInstance.idl
rename : modules/plugin/base/public/nsIPluginInstanceOwner.idl => dom/plugins/base/nsIPluginInstanceOwner.idl
rename : modules/plugin/base/public/nsIPluginStreamInfo.idl => dom/plugins/base/nsIPluginStreamInfo.idl
rename : modules/plugin/base/public/nsIPluginStreamListener.idl => dom/plugins/base/nsIPluginStreamListener.idl
rename : modules/plugin/base/public/nsIPluginTag.idl => dom/plugins/base/nsIPluginTag.idl
rename : modules/plugin/base/public/nsIPluginTagInfo.idl => dom/plugins/base/nsIPluginTagInfo.idl
rename : modules/plugin/base/src/nsJSNPRuntime.cpp => dom/plugins/base/nsJSNPRuntime.cpp
rename : modules/plugin/base/src/nsJSNPRuntime.h => dom/plugins/base/nsJSNPRuntime.h
rename : modules/plugin/base/src/nsNPAPIPlugin.cpp => dom/plugins/base/nsNPAPIPlugin.cpp
rename : modules/plugin/base/src/nsNPAPIPlugin.h => dom/plugins/base/nsNPAPIPlugin.h
rename : modules/plugin/base/src/nsNPAPIPluginInstance.cpp => dom/plugins/base/nsNPAPIPluginInstance.cpp
rename : modules/plugin/base/src/nsNPAPIPluginInstance.h => dom/plugins/base/nsNPAPIPluginInstance.h
rename : modules/plugin/base/src/nsNPAPIPluginStreamListener.cpp => dom/plugins/base/nsNPAPIPluginStreamListener.cpp
rename : modules/plugin/base/src/nsNPAPIPluginStreamListener.h => dom/plugins/base/nsNPAPIPluginStreamListener.h
rename : modules/plugin/base/src/nsPluginDirServiceProvider.cpp => dom/plugins/base/nsPluginDirServiceProvider.cpp
rename : modules/plugin/base/src/nsPluginDirServiceProvider.h => dom/plugins/base/nsPluginDirServiceProvider.h
rename : modules/plugin/base/public/nsPluginError.h => dom/plugins/base/nsPluginError.h
rename : modules/plugin/base/src/nsPluginHost.cpp => dom/plugins/base/nsPluginHost.cpp
rename : modules/plugin/base/src/nsPluginHost.h => dom/plugins/base/nsPluginHost.h
rename : modules/plugin/base/public/nsPluginLogging.h => dom/plugins/base/nsPluginLogging.h
rename : modules/plugin/base/src/nsPluginManifestLineReader.h => dom/plugins/base/nsPluginManifestLineReader.h
rename : modules/plugin/base/src/nsPluginModule.cpp => dom/plugins/base/nsPluginModule.cpp
rename : modules/plugin/base/src/nsPluginNativeWindow.cpp => dom/plugins/base/nsPluginNativeWindow.cpp
rename : modules/plugin/base/public/nsPluginNativeWindow.h => dom/plugins/base/nsPluginNativeWindow.h
rename : modules/plugin/base/src/nsPluginNativeWindowGtk2.cpp => dom/plugins/base/nsPluginNativeWindowGtk2.cpp
rename : modules/plugin/base/src/nsPluginNativeWindowOS2.cpp => dom/plugins/base/nsPluginNativeWindowOS2.cpp
rename : modules/plugin/base/src/nsPluginNativeWindowQt.cpp => dom/plugins/base/nsPluginNativeWindowQt.cpp
rename : modules/plugin/base/src/nsPluginNativeWindowWin.cpp => dom/plugins/base/nsPluginNativeWindowWin.cpp
rename : modules/plugin/base/src/nsPluginSafety.h => dom/plugins/base/nsPluginSafety.h
rename : modules/plugin/base/src/nsPluginStreamListenerPeer.cpp => dom/plugins/base/nsPluginStreamListenerPeer.cpp
rename : modules/plugin/base/src/nsPluginStreamListenerPeer.h => dom/plugins/base/nsPluginStreamListenerPeer.h
rename : modules/plugin/base/src/nsPluginTags.cpp => dom/plugins/base/nsPluginTags.cpp
rename : modules/plugin/base/src/nsPluginTags.h => dom/plugins/base/nsPluginTags.h
rename : modules/plugin/base/public/nsPluginsCID.h => dom/plugins/base/nsPluginsCID.h
rename : modules/plugin/base/src/nsPluginsDir.h => dom/plugins/base/nsPluginsDir.h
rename : modules/plugin/base/src/nsPluginsDirDarwin.cpp => dom/plugins/base/nsPluginsDirDarwin.cpp
rename : modules/plugin/base/src/nsPluginsDirOS2.cpp => dom/plugins/base/nsPluginsDirOS2.cpp
rename : modules/plugin/base/src/nsPluginsDirUnix.cpp => dom/plugins/base/nsPluginsDirUnix.cpp
rename : modules/plugin/base/src/nsPluginsDirUtils.h => dom/plugins/base/nsPluginsDirUtils.h
rename : modules/plugin/base/src/nsPluginsDirWin.cpp => dom/plugins/base/nsPluginsDirWin.cpp
rename : modules/plugin/base/public/nspluginroot.idl => dom/plugins/base/nspluginroot.idl
2011-04-26 17:38:43 -04:00
Timothy Nikkel
baa16dc247
Bug 653125. Remove misc SVG views. r=roc
2011-04-29 12:36:02 +02:00
Daniel Holbert
79ed69dc0c
Bug 629718: Mark SVG tspan-rotate-* reftests as random-on-WinXP. r=ehsan DONTBUILD
2011-04-28 20:45:15 -07:00
Daniel Holbert
aab166bc79
Bug 649440 test: Convert randomorange reftest img-anim-1.html into a chrome mochitest that polls for onStopFrame notifications until animation completes. r=joe
...
--HG--
rename : layout/reftests/svg/as-image/lime-anim-100x100.svg => modules/libpr0n/test/mochitest/lime-anim-100x100.svg
2011-04-28 19:12:02 -07:00
Boris Zbarsky
dd94d998a3
Bug 650379. Add a new XPCOM timer type that is like TYPE_REPEATING_PRECISE but does not swamp the event queue if the callback takes longer than the timer interval to run. r=cjones, sr=brendan
...
This implements proposal 3 from bug 650379 comment 13. The main difference
between TYPE_REPEATING_PRECISE and TYPE_REPEATING_PRECISE_CAN_SKIP is to not
AddTimer the REPEATING_PRECISE_CAN_SKIP timer until after the callback has run;
this guarantees that no more timer events will be posted until after the
callback finishes executing. A secondary change is to make
REPEATING_PRECISE_CAN_SKIP timers advance their firing time to mDelay from when
PostTimerEvent is called, not mDelay from the old mTimeout. While this arguably
makes them less precise, the alternative is that if a timer is significantly
delayed for some reason (e.g. because the user puts the computer to sleep for a
while) it will then fire a whole bunch of times to "catch up" to where it's
supposed to be, advancing its firing time by mDelay at a time. That seems
undesirable.
An alternate approach would have been to readd the timer from inside
PostTimerEvent, but only if we're not in the middle of firing the timer. That
would allow more precise timers in the case when the callback is not taking too
long, but still handle gracefully the case when the callback is
slow. Unfortunately this falls down if something _else_ is hogging the main
thread event loop (e.g. some other timer has a slow callback, or whatever); in
that case we would post multiple events for the one precise timer while the
event-loop-hogging operation is running. So I don't think we should do that.
2011-04-28 19:33:52 -04:00
Josh Aas
1593af8e53
Bug 606641: Cleanup for plugin initialization. r=bz
2011-04-28 16:08:33 -04:00
L. David Baron
8d8f01f096
Fix comment describing nsHTMLReflowState::availableWidth. (Bug 653356) r=bzbarsky
2011-04-28 10:21:37 -07:00
L. David Baron
b712774643
Add support for regexp() function in @-moz-document rule. (Bug 398962) r=bzbarsky
2011-04-28 10:21:37 -07:00
L. David Baron
a611dbdcb7
Don't set mNeedsRefreshes to false when we get two refreshes at the same time stamp. (Bug 651456) r=bzbarsky
2011-04-28 10:21:36 -07:00
L. David Baron
f4345b013d
When we know a block can't fit, end ReflowBlockFrame early, in case a zero-height block tries to. (Bug 652178) r=roc
2011-04-28 10:21:36 -07:00
L. David Baron
e08fce9fdd
Remove incorrect nulling out of members that duplicates the correct code in Shutdown. (Bug 652385) r=bzbarsky
2011-04-28 10:21:36 -07:00
Mike Hommey
c84f4c8776
Bug 590181 part 1 - Fix tests to avoid rounding errors. Original patch from jlebar. r=dbaron
2011-04-28 15:48:59 +02:00
Jonathan Kew
eb0e942dc9
bug 650639 - cancel current font-downloaders when updating the user font set. r=dbaron
2011-04-28 06:04:45 +01:00
Kyle Huey
c08d60443b
Backing out Bug 652301 because of orange.
2011-04-27 20:12:51 -04:00
Kyle Huey
0d2363560b
Backed out changeset 72430b4913e4
2011-04-27 20:12:27 -04:00
Kyle Huey
1c25f60376
Backing out attempted orange fix.
2011-04-27 20:11:50 -04:00
Kyle Huey
a25277c252
Backed out changeset 12f371cb3c7e
2011-04-27 20:11:28 -04:00
Kyle Huey
f814521d86
Back out Bug 647570 because it's failing test_bug465752.js
2011-04-27 19:10:49 -04:00
Kyle Huey
7cc2aa7330
Backed out changeset ea9f9f5503fa
2011-04-27 19:10:01 -04:00
Boris Zbarsky
0ed771afce
Bug 652301 followup. Also don't show focus outlines on frame and iframe, since editor tests depend on that. r=dbaron
2011-04-27 18:27:38 -04:00
Boris Zbarsky
1995aaa776
Bug 652301. Show focus outlines on all focusable things in HTML, not just on a whitelist of them. r=dbaron
...
The :-moz-focusring style comes first so we don't have to do the :not() and :-moz-any() matching at all for the common case.
--HG--
extra : rebase_source : 330a9f4ba38a6613d3bd43f404325ea4dfcae789
2011-04-27 16:52:23 -04:00
Boris Zbarsky
3d5031fd5d
Bug 649163. Stop refcounting the return values from GetCSSParsingEnvironment, where possible. r=dbaron
...
--HG--
extra : rebase_source : 13d75f3954dd1597d58f7741ac8cfc4de51ebe46
2011-04-27 16:53:49 -04:00
Emanuele Costa
67452a00d1
Bug 647570. Make nsJSURI inherit from nsSimpleURI. r=bzbarsky
...
--HG--
extra : rebase_source : b3d9b8ed5349e9aabcf08b786951a677b7adcfd9
2011-04-23 05:49:00 -04:00
Justin Lebar
9a4f992181
Bug 652167 - Remove space in filename from layout/html/tests/printer/js/change_while_in printdialog.html. r=philor
...
--HG--
rename : layout/html/tests/printer/js/change_while_in printdialog.html => layout/html/tests/printer/js/change_while_in_printdialog.html
extra : rebase_source : 949a734bb56cc298048feba89d52b7a6fcfbb255
2011-04-27 16:53:52 -04:00
Kevin Gadd
f1147ca3b6
bug 632102 - Don't assert that mozAfterPaint and mozPaintCount are in sync, since that's not reliable. r=roc
2011-04-29 12:26:46 +00:00
Timothy Nikkel
45cc226593
Bug 653839. Don't call DidPaint on hidden documents. This just does for DidPaint what bug 594267 did for WillPaint. r=roc
2011-05-01 20:59:15 +02:00
Jonathan Kew
4833cdff3d
bug 653977 - ensure font downloads are re-triggered if necessary after userFontSet update. r=dbaron
2011-05-01 16:10:20 +01:00
L. David Baron
a4f3b61041
Lower the level in the cascade of animations. (Bug 653645) r=bzbarsky
2011-04-30 15:16:19 -07:00
L. David Baron
5f0fb38ae4
Assert that we destroy ElementAnimations/ElementTransitions through its Destroy() method. (Bug 653644) r=bzbarsky
2011-04-30 15:16:19 -07:00
L. David Baron
10be1d5a1e
Add additional test for @-moz-document regexp() case-sensitivity (after discussion in bug 653495).
2011-04-30 15:16:19 -07:00
L. David Baron
13cd0a7938
Convert use of zoom API in style system mochitests to SpecialPowers. (Bug 653461, patch 3) r=bzbarsky
2011-04-30 15:16:19 -07:00
L. David Baron
2a4a42bdde
Convert use of DOMWindowUtils in style system mochitests to SpecialPowers. (Bug 653461, patch 2) r=bzbarsky
2011-04-30 15:16:19 -07:00
L. David Baron
50811aa62a
Convert use of preferences API in style system mochitests to SpecialPowers. (Bug 653461, patch 1) r=bzbarsky
2011-04-30 15:16:18 -07:00
Ms2ger
941e819c63
Bug 616684 - Remove support for DOM Views; r=sicking,ehsan
2011-04-24 08:54:25 +02:00
Robert Longson
92c55aed1d
Bug 619992 - Fix invalid reftest that will fail after this bugs main patches land. r=roc
2011-04-30 15:03:51 +01:00
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