L. David Baron
b47daece8e
Make nsRuleNode's use of font metrics for ch and ex units pass the correct language. (Bug 678671, patch 3) r=roc
...
This makes these users (which are exceptions within layout, although
low-level enough that it won't matter for font inflation work) call
through to GetMetricsFor explicitly with the correct language, rather
than using the broken nsPresContext::GetMetricsFor and its
charset-detected language.
This improves the correctness of our behavior for 'ch' and 'ex' CSS
units when the font selection (or defaults) are language-dependent. It
should also reduce the number of unique sets of font metrics requested
(which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
L. David Baron
84b8b6bf64
Replace all uses of nsLayoutUtils::SetFontFromStyle with GetFontMetricsForFrame or GetFontMetricsForStyleContext and remove SetFontFromStyle. (Bug 678671, patch 2) r=roc
...
There was nothing wrong with SetFontFromStyle, except that it's just one
more API to think about (and one more API to audit and modify for font
inflation work to happen in bug 627842).
2011-08-14 10:08:04 -07:00
L. David Baron
d2b6891283
Switch lots of callers to using nsLayoutUtils::GetFontMetricsForFrame and nsLayoutUtils::GetFontMetricsForStyleContext. (Bug 678671, patch 1) r=roc
...
This changes a number of callers that were previously bypassing the use
of the correct language (with either no language or the charset-detected
language on the pres context via nsPresContext::GetMetricsFor) and/or
the correct user font set to pass the correct values, which should
improve the correctness of the behavior of whatever they were using the
fonts for, and also reduce the number of unique sets of font metrics
requested (which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
Kyle Huey
4bf1621dbc
Bug 673742: Allow postMessage()ing File and FileLists between same-origin windows. r=sicking
2011-08-12 12:58:43 -04:00
Kyle Huey
19993c8e8d
Backout Bug 650494 for causing a startup assertion/crash.
2011-08-12 12:58:33 -04:00
Kyle Huey
92fccd2a28
Backed out changeset b021d1f9f57d
2011-08-12 12:58:06 -04:00
Kyle Huey
ccbb26c3ab
Bug 678479: Add a makefile target in xpcom/ to regenerate the IDL parser. r=ted
2011-08-12 12:07:09 -04:00
Kyle Huey
36d6f9a425
Bug 678479: Add a --regen argument to header.py and typelib.py to regenerate the IDL parser. r=ted
2011-08-12 12:06:46 -04:00
Marco Castelluccio
790cf2a235
Bug 650494: Remove nsIXULPrototypeCache. r=smaug
2011-08-12 09:12:59 -04:00
Edgar Flores
153c6aff41
Bug 624743 - Resource protocol shouldn't use nsDependentCString. r=bsmedberg
2011-08-11 21:43:00 -04:00
Mike Hommey
d568957d89
Backed out changeset 884efa9dcbf9 due to OSX debug orange
2011-08-15 10:39:10 +02:00
Mike Hommey
5e94c9cd42
Bug 672756 - Allow to populate startupcache on xulrunner applications built with the SDK. r=ted
2011-08-15 09:24:13 +02:00
Margaret Leibovic
19e482cd53
Bug 648668 - Update blank favicon to dotted outline instead of generic page. r=gavin
2011-08-11 17:50:09 -07:00
Margaret Leibovic
88d248d884
merge mozilla-central into fx-team
2011-08-15 10:23:26 -07:00
Matt Brubeck
86eeebed49
Merge mozilla-inbound and mozilla-central
2011-08-15 07:33:25 -07:00
Benoit Jacob
09f3b97ace
Bug 676413 - fix the crossOrigin attribute test - r=smaug
...
This is not a limited-enumerated attribute, so let's use reflectString instead.
2011-08-11 18:17:59 -04:00
Trevor Saunders
4ec814f54e
bug 678799 - a11y telemetry for accessibility initialization r=surkov, tglek
2011-08-11 04:01:27 -07:00
Daniel Holbert
a86aba357d
backout 7369baed29ef (Bug 674647) due to permaorange on OS X64 opt xpcshell tests
2011-08-15 21:37:47 -07:00
William Chen
a5a375d3a6
Bug 664783 - Implement FileReaderSync for Workers. r=bent+sicking.
2011-08-15 20:40:38 -07:00
Daniel Holbert
c35631abba
merge m-c to m-i
2011-08-15 21:12:06 -07:00
Matt Woodrow
9e21b178aa
Bug 677878 - Round untransformed rects outwards. r=roc
2011-08-16 15:44:22 +12:00
Chris Pearce
53e1d1d80a
Bug 665344 - Ensure minWriteSamples samples written before sleeping in AudioLoop drain. r=kinetik
2011-08-16 15:32:10 +12:00
Bas Schouten
2a1c9e2a9b
Bug 676753: Support subpixel-AA for the Azure D2D backend. r=jrmuizel
2011-08-16 04:37:00 +02:00
Ehsan Akhgari
8420373c89
Backout changeset 83b6f03bb285 (bug 674770) because mochitest-3 orange on Windows
2011-08-15 22:30:23 -04:00
Paul O’Shannessy
34ad032a63
Review comments for bug 645428
2011-08-15 18:20:15 -07:00
Tim Taubert
e0a7f34911
Bug 645428 - "sessionstore-windows-restored" is not sent for empty sessions [r=zpao]
2011-08-15 18:20:14 -07:00
Paul O’Shannessy
0657a0d1b4
Bug 645608 - If FF Window is minimized and restarted, the window is minimized/maximized then restored [r=dietrich]
2011-08-15 18:20:14 -07:00
Daniel Holbert
e2a4105660
Bug 678822: Skip call to nsSMILAnimationFunction::GetAccumulate() if we've had parse errors. r=birtles
2011-08-15 17:58:52 -07:00
Daniel Holbert
66538a572b
Bug 473236, 2011 edition: remove executable bit from files that don't need it, in /layout. [test-only, file-permissions-only] DONTBUILD
2011-08-15 17:55:02 -07:00
Paolo Amadini
f42744f84d
Bug 591289 - Save chosen download file name and other metadata in Places history [r=sdwilsh, ui-r=limi]
2011-08-15 18:08:48 -07:00
Mats Palmgren
00f450ae6c
Bug 191864 - Range and Selection broken with splitText() and normalize().
2011-08-16 02:55:22 +02:00
Mats Palmgren
658d79ef70
Bug 191864 - Range and Selection broken with splitText() and normalize(). r=sicking
2011-08-16 02:55:20 +02:00
Benoit Jacob
495c9c0f00
Bug 676413 - test crossOrigin without value - r=bz
2011-08-10 18:25:22 -04:00
Benoit Jacob
8d3a866b35
Bug 676413 - test that crossOrigin="" or invalid value has the behavior of "anonymous" - r=bz
2011-08-10 18:25:22 -04:00
Boris Zbarsky
cb62b5e34b
Bug 676413 - crossOrigin attribute invalid-value-default should be Anonymous - r=sicking
...
As specified in http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#cors-settings-attribute
"The empty string is also a valid keyword, and maps to the Anonymous state. The attribute's invalid value default is the Anonymous state. The missing value default, used when the attribute is omitted, is the No CORS state."
2011-08-10 18:25:22 -04:00
Benoit Jacob
f54286f835
Bug 678053 - blacklist geforce <= 7 for WebGL on Mac - r=jrmuizel
2011-08-11 18:17:50 -04:00
Benoit Jacob
87b84c8733
Back out Bug 591057 / cset 02d5f1c5d438 because of 4% Ts regression
2011-08-11 14:24:52 -04:00
Steven Michaud
21ffbbde09
Bug 668953 - Support two-finger horizontal swipe on OS X Lion. r=bgirard
2011-08-11 12:42:23 -05:00
Rafael Ávila de Espíndola
58c0c20c7a
Bug 677648 - Change the type of the 'advance' variable in gfxTextRun::AdjustAdvancesForSyntheticBold, to allow using it to initialize the mAdvance field of DetailedGlyph using clang in c++0x mode; r=roc
2011-08-11 15:40:59 +02:00
Rafael Ávila de Espíndola
67523116c9
Bug 678036 - Fix the build with clang in c++0x mode. The first field of a nanojit::CallInfo is a uintptr_t, fix the cast. r=cdleary
2011-08-11 15:39:13 +02:00
Ms2ger
56beecce2a
Bug 677340 - Return already_AddRefed instead of nsCOMPtr from various functions in editor/; r=ehsan
2011-08-11 15:29:59 +02:00
Ms2ger
3245ed0541
Bug 677101, part d - Remove some includes from nsHTMLInputElement.cpp; r=volkmar
2011-08-11 15:29:59 +02:00
Ms2ger
3fea5b3901
Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar
2011-08-11 15:29:58 +02:00
Ms2ger
4ca9cbc0f3
Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar
2011-08-11 15:29:50 +02:00
Mounir Lamouri
43d40b8987
Merging mozilla-inbound into mozilla-central.
2011-08-11 13:08:47 +02:00
Mike Hommey
3defbb398d
Bug 677247 - Fix-up test and re-enable it. rs=khuey
2011-08-11 11:42:02 +02:00
Mike Hommey
424509fd82
Backout be17ceae8d60 (test for bug 677247) due to win debug perma-orange
...
The test crashes when building with no optimization, but does so on the path
that bug 677247 doesn't touch.
2011-08-11 11:01:06 +02:00
Jan Varga
e55a38f214
Bug 677463 - <menuitem>.label should return .textContent if there's no label content attribute r=smaug
2011-08-11 08:07:26 +02:00
Blair McBride
ad4d8689c3
Backout 84ce41f8cec7 due to leak.
2011-08-11 18:04:02 +12:00
Mike Hommey
f4cd3c4810
Bug 677247 - Test hook unregistration. r=ehsan
2011-08-11 07:55:11 +02:00