Commit Graph

143 Commits

Author SHA1 Message Date
L. David Baron
3235995ea2 Implement computation of font size inflation for improved readibility of text on mobile devices. (Bug 627842, patch 4) r=roc
This implements computation of the font size inflation factor for a
given frame.  Since Fennec does layout using a fake viewport whose width
represents a typical viewport width on the desktop and then allows users
to pan and zoom, fonts are not always readable even when zoomed.  The
goal of this font size inflation is to ensure that when a block of text
is zoomed to fill the width of the device, the fonts are large enough to
read.  We do this by increasing the font sizes in the page.  Since this
increase is a function of the width of the text's container, the
inflation must be performed (in later patches in this series) after
style data computation and after intrinsic width computation.

The font size inflation factor does not vary *within* a block.

Since sync uses a whitelist (the services.sync.prefs.sync.* prefs) for
preferences (i.e., preferences are not synced by default), this patch
does not make any changes relating to sync, since we do not want the
inflation preferences synced across devices (since preferred settings
are likely to be device-specific).
2011-11-23 18:48:23 -08:00
Mounir Lamouri
aece4e1a7e Bug 695287 - Move Navigator declaration and definition outside of nsGlobalWindow.{h,cpp}. r=Ms2ger
This patch is creating Navigator.h and Navigator.cpp and makes Navigator part
of the mozilla::dom namespace.
2011-11-02 14:44:16 +01:00
Mounir Lamouri
8e9076b7cd Bug 667183 - Create a static nsGlobalWindow::Init method to do one-shot initializations currently in nsGlobalWindow ctor. r=jst 2011-08-31 16:54:39 +02:00
arno renevier
0a723d0d12 bug 678842: remember spell check setting per site; r=ehsan 2011-08-23 15:03:33 -04:00
Mounir Lamouri
8eb32fce79 Bug 677506 - Enable the DOM Memory Reporter. r=jst 2011-08-11 00:54:50 +02:00
Henri Sivonen
56831e4005 Bug 482909 part 2 - Implement an HTML/SVG/MathML sanitizer independently of parsers or serializers. r=bzbarsky. 2011-07-29 14:48:04 +03:00
Ben Turner
e8afb778cc Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap.
* * *
Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap. Add workaround for bug 666963.
2011-07-17 15:09:13 -04:00
Ehsan Akhgari
6290b4cdc9 Backout changeset fdddabd345b9 and changeset 3857a4309fc3 (bug 649537) because of three mochitest-3 intermittent failures which seem to be caused by this on Windows debug builds 2011-07-18 18:14:59 -04:00
Ben Turner
ce590b78bc Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap. 2011-07-17 15:09:13 -04:00
Ms2ger
7b4c8739c0 Bug 670500 - Make nsCellMap::Init return void; r=roc 2011-07-15 12:18:33 +02:00
Mounir Lamouri
01ef400cca Bug 667468 - Add a dummy DOM memory reporter behind a compilation flag. r=njn 2011-06-29 13:01:07 +02:00
Craig Topper
6d242ca2d3 Bug 654369 - Part 7: Remove OOM checks from nsTextFrameThebes r=bz 2011-05-02 00:11:34 -07:00
Craig Topper
5f134c2838 Bug 654369 - Part 5: Make nsFrameList::Init return void r=bz 2011-05-01 23:32:59 -07:00
Jonas Sicking
ce20c50ff9 Bug 658714 Part 10: Remove nsIDOM3EventTarget/nsIDOMEventGroup. r=smaug 2011-06-23 19:18:02 -07:00
Peter Van der Beken
72ace32932 Fix for bug 659580 (Flush CanvasImageCache on shutdown). r=roc. 2011-04-13 17:34:06 -07:00
Mounir Lamouri
6450765d96 Merging cedar with mozilla-central. 2011-06-03 12:06:08 +02:00
Matheus Kerschbaum
78c9ba2f37 Bug 660762 - Remove --disable-mathml support. r=roc 2011-06-02 13:11:33 +02:00
Makoto Kato
d13533a9d0 Bug 660587 - Remove nsRuleNode::gLangService. r=roc 2011-05-31 14:18:50 +09:00
Ms2ger
260ee642f6 Bug 660657 - Make nsCSSRendering::Init return void; r=roc 2011-06-02 14:56:46 +02:00
Ed Morley
6e443492c7 Bug 614515 - Remove MOZ_SVG conditions. r=roc 2011-05-30 09:34:50 +02:00
Patrick McManus
f5b45ba70b bugzilla 640003 websockets ietf-07 r=smaug r=biesi sr=bz 2011-05-21 21:27:52 -04:00
Jonathan Kew
94f19419e0 bug 253317 - part 5 - support none/manual/auto values for -moz-hyphens in layout. r=roc 2011-05-04 12:29:56 +01:00
Jonas Sicking
c4b04edf61 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
c99709dc37 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
Ehsan Akhgari
77f21c1de0 Merge cedar into mozilla-central 2011-03-25 14:21:07 -04:00
Matheus Kerschbaum
e019901578 Bug 640031 - Remove MOZILLA_PLAINTEXT_EDITOR_ONLY; r=ehsan 2011-03-24 19:58:57 -04:00
Robert O'Callahan
f163e57e5e Bug 638241. Use a cache to avoid redoing SurfaceForElement and DoDrawImageSecurityCheck. r=bzbarsky 2011-03-24 16:13:56 +13:00
Boris Zbarsky
cbdd95f4fa Bug 630127. Use a precise timer when we have animation frame callbacks. r=dbaron 2011-03-07 11:58:48 -05:00
Benjamin Stover
c29f2c0fbb Bug 605618 Part 8: Content process map from view IDs to content elements r=cjones sr=roc 2011-01-13 09:45:14 -08:00
Robert Longson
e0ef10b3a7 Bug 617448 - remove svg.enabled as the browser now uses SVG and fails to start if it's disabled r+a=roc 2010-12-08 21:25:06 +00:00
David Zbarsky
bf781d1463 Bug 36619 - allow file input .click() to bring up filepicker r=sicking a=blocking 2010-08-27 11:49:06 -04:00
Robert O'Callahan
db7a133f83 Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt 2010-08-20 14:29:01 -05:00
Chris Jones
d6f166fc9a Backed out changeset cebb111fbfc4 2010-08-19 19:03:56 -05:00
Robert O'Callahan
b34d696c81 Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt 2010-08-19 13:49:35 -05:00
Takanori MATSUURA
71fb04511b Bug 587614. Remove use of MOZ_NO_INSPECTOR_APIS. r=roc,a=NPOTB 2010-08-19 21:44:01 +12:00
Olli Pettay
8dd737b7e1 Bug 584866 - Cache LoadFrameScript Calls [r=jst] 2010-08-10 13:18:26 -04:00
Robert O'Callahan
1fdbd30da5 Bug 564991. Part 25: Introduce a 'has active layers' flag on frames, which times out, and use it for 'opacity'. r=mats,sr=dbaron 2010-07-16 09:08:06 +12:00
Benjamin Smedberg
2ebeafd362 Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly. 2010-06-21 11:41:42 -04:00
Benjamin Smedberg
0e824d90bb Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
9daa1e329f Bug 472529, websockets (protocol v75), r=smaug+biesi 2010-06-17 21:34:24 +03:00
Robert O'Callahan
3fcf0f547a Bug 572287. Fix leak of mThebesComputationalSurface. r=jwatt 2010-06-18 21:21:13 +12:00
Ehsan Akhgari
7fdc7ede6a Bug 534785 - Move the ownership of editor and selection controller from the text frame to the content node; r=roc,jst sr=roc
(transplanted from 2437636244f39bbdc7d20b062e2c978b9d85c239)
2010-04-21 16:17:41 -04:00
Vladimir Vukicevic
72a0025709 b=566447; add presshell memory reporter; r=bz 2010-05-31 19:19:35 -07:00
Craig Topper
5ec7efbb3a Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Peter Van der Beken
77d15b53b3 Fix for bug 560289 (Inline nsLayoutStatics::Addref/Release). r=bz. 2010-04-19 17:41:39 +02:00
Olli Pettay
d06a45af33 Bug 559315 - [HTML5] nsContentSink::Init call is slow, r=hsivonen+sicking 2010-04-27 12:57:32 +03:00
Ehsan Akhgari
fb0a4da13e Backed out changeset 9786ae3984b3 (bug 553124) because of potential privacy risks 2010-04-07 13:29:10 -04:00
Ehsan Akhgari
65f795273c Bug 553124 - After bug 147777 lands, private browsing doesn't need to disable coloring of visited links any more; r=sdwilsh,bzbarsky 2010-04-06 13:47:42 -04:00
Zack Weinberg
7351c020a1 Bug 523496: DeCOMtaminate nsCSSParser. r=bzbarsky sr=dbaron 2010-03-02 12:59:32 -08:00
L. David Baron
14151b7cbb Bug 537572 - 'Workers: nsLayoutStatics refcounting isn't threadsafe, triggered via nsContentUtils::WrapNative'. r=bent. 2010-02-25 13:05:54 -08:00