Brian O'Keefe
1513850d8f
Bug 708846 - Clean up the SVG namespace checks to use nsIContent::IsSVG() instead; r=longsonr
2011-12-15 14:47:03 +00:00
Masatoshi Kimura
ef45bcacdc
Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug
2011-12-15 14:47:03 +00:00
Boris Zbarsky
d3f867aa67
Bug 709256 part 3. Skip calling PresShell::FlushPendingNotifications altogether if there might not be anything to flush. r=roc
2011-12-14 23:42:15 -05:00
Boris Zbarsky
380dba6def
Bug 709256 part 2. Short-circuit PresShell::ProcessReflowCommands when there aren't any. r=roc
2011-12-14 23:42:14 -05:00
Boris Zbarsky
14524abb76
Bug 709256 part 1. Fast-path RestyleTracker::ProcessRestyles when there aren't any restyles to process. r=roc
2011-12-14 23:42:14 -05:00
Ali Juma
cb6329df99
Bug 586863 - Eliminate #ifdef GFX_HAS_INVERT blocks since GFX_HAS_INVERT is never defined. r=dbaron
2011-12-09 14:18:05 -05:00
Nicholas Nethercote
587382cea2
Bug 705987 - Use mallocSizeOf in the layout memory reporters. r=khuey,bzbarsky
2011-12-08 21:01:52 -08:00
Nicholas Nethercote
688c469bc9
Bug 704400 - Implement --enable-dmd. r=khuey.
2011-12-08 19:09:36 -08:00
Jeff Muizelaar
9c4d4fff06
Bug 707800. Add more sampler labels. r=bgirard
2011-12-02 17:05:33 -05:00
Simon Montagu
8e863ff64c
Ensure that Reset is always called before using the subparagraph. Bug 707098, r=roc
2011-12-07 12:07:42 +02:00
Masayuki Nakano
5aaeb19ce0
backout 34b8fe028357
2011-12-08 16:42:45 +09:00
Robert O'Callahan
5d77758ae9
Bug 708062. Root view bounds should not include viewport frame overflow area. r=tn
2011-12-08 17:17:42 +13:00
Masayuki Nakano
0cf8dbff4b
Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=ehsan+smaug+enndeakin+dolske
2011-12-07 14:13:06 +09:00
Chris Lord
454facc7e1
Bug 706690 - CSS scaling is jagged while layers are active. r=roc
...
While layers are active, scale factors are normalized to a power of 2 to
reduce the number of resolution changes during animations. This patch disables
the normalization when the scale factor on the layer is unchanged, or when
the layer was previously unscaled.
2011-12-07 23:12:41 +00:00
Chris Pearce
c2405549e1
Bug 704039 part 2 - Implement full-screen mode rollback stack. r=bz
2011-12-07 10:59:39 +13:00
Boris Zbarsky
3687e2d7b5
Bug 704399. When doing the 'restrict background painting to the padding area' optimization, actually restrict it to padding area plus 1px on each side to deal with seams caused by curved borders better. r=roc
2011-11-23 12:59:51 -05:00
Robert O'Callahan
c92029c06f
Bug 699351. Part 4: Fix test. r=tnikkel
2011-12-06 01:39:48 +13:00
Robert O'Callahan
854ef91454
Bug 699351. Add nsIFrameLoader::clipSubdocument API to allow XUL <iframe> and <browser> to not clip the subdocument. r=tnikkel,sr=bzbarsky
2011-12-06 01:38:46 +13:00
Ms2ger
4879be0711
Bug 704088 - Pass dom::Element to nsLayoutUtils::SurfaceFromElement; r=bz
2011-12-03 22:50:16 +01:00
Phil Ringnalda
282a3bae29
Bug 683048 - Disable the too-mittently-failing bug602141-3.html on Windows
2011-11-30 00:24:59 -08:00
Justin Lebar
02f303732b
Back out revs d445f83ecfb1:dc9cc326cad0, because they did not back out what was intended.
2011-12-01 16:35:42 -05:00
Justin Lebar
79b6477d6c
Backed out changeset 5d920a44a901 (bug 698002)
2011-12-01 15:43:07 -05:00
Timothy Nikkel
5bdb38faca
Bug 668437. Part 4. Add an API to widgets for resizing/moving the client area. r=jimm sr=roc
2011-12-01 13:56:42 -06:00
Brad Lassey
8d2f605b6d
Bug 687972 - backing out changesets b17ab862bbc1 and a6db0c6c94a3 r=orange
2011-11-30 22:59:00 -05:00
Robert O'Callahan
a86c192475
Bug 699351. Add nsIFrameLoader::clipSubdocument API to allow XUL <iframe> and <browser> to not clip the subdocument. r=tnikkel,sr=bzbarsky
2011-11-30 21:14:26 -05:00
Chris Pearce
b8bdf0f165
Bug 704709 - Don't show full-screen warning on media key press on Windows. r=smaug,jmathies
2011-12-01 11:27:14 +13:00
Chris Pearce
470451a61f
Bug 702146 - Move :-moz-full-screen-ancestor to an override style sheet. r=bz
2011-11-30 11:00:31 +13:00
Boris Zbarsky
54a511fc76
Bug 704171 part 2. Remove the no-argument form of mozRequestAnimationFrame. r=roc
2011-11-28 07:49:53 -05:00
Boris Zbarsky
3b713f03ab
Bug 704171 part 1. Stop using the no-argument form of mozRequestAnimationFrame in our chrome. r=roc,gavin
2011-11-28 07:49:44 -05:00
Boris Zbarsky
d14b17243a
Bug 704175 part 2. Rename nsIAnimationFrameListener to nsIFrameRequestCallback. r=roc
...
--HG--
rename : dom/interfaces/base/nsIAnimationFrameListener.idl => dom/interfaces/base/nsIFrameRequestCallback.idl
2011-11-28 07:48:30 -05:00
Boris Zbarsky
7ce46a360c
Bug 704175 part 1. Rename onBeforePaint to sample for animation frame callbacks. r=roc
2011-11-28 07:48:27 -05:00
Nicholas Nethercote
f102556f32
Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz.
2011-11-27 19:03:14 -08:00
Simon Montagu
a411d41922
Test for next-continuations before doing bidi resolution. Bug 704837, r=roc
2011-11-24 16:16:42 +02:00
L. David Baron
5ef7f84c99
Add reftest harness for testing font inflation and add reftests for basic features. (Bug 627842, patch 16) r=roc
2011-11-23 18:48:24 -08:00
L. David Baron
abb8d1c39a
Make other users of font metrics (other than MathML and XUL) honor font size inflation. (Bug 627842, patch 15) r=roc
...
This does not address users of font metrics in layout/mathml/ (for text
size and alignment issues) or in layout/xul (for text size and sizing of
listbox and tree widgets): see all the callers of GetFontMetricsFor*
in those directories.
2011-11-23 18:48:23 -08:00
L. David Baron
b4141b61eb
Apply font size inflation to list bullets. (Bug 627842, patch 13) r=roc
...
Note that this doesn't do anything about the indentation of the list, so
for large inflation there may end up being overlap as a result.
2011-11-23 18:48:23 -08:00
L. David Baron
2ca5929d4e
Apply font size inflation to text. (Bug 627842, patch 9) r=roc
...
This applies the font size inflation to reflow and painting of text
frames. However, it does not (by design) apply to intrinsic width
computation, since the inflation is itself a function of the containers
width, which can depend on the intrinsic width.
2011-11-23 18:48:23 -08:00
L. David Baron
96482a27d1
Add inflation parameter to nsLayoutUtils::GetFontMetricsFor* methods. (Bug 627842, patch 6) r=roc
2011-11-23 18:48:23 -08:00
L. David Baron
3917f9c2e1
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
L. David Baron
98751dedcb
Add support for -moz-text-size-adjust CSS property. (Bug 627842, patch 1) r=bzbarsky
...
This property is analogous to the -webkit-text-size-adjust property (and
*maybe* also the -ms-text-size-adjust property). It allows pages to opt
out of text size adjustments performed on mobile devices by specifying
-moz-text-size-adjust: none.
2011-11-23 18:48:23 -08:00
Robert Longson
581866451b
Bug 696078 - Move filter attribute processing to frame classes. r=jwatt
...
--HG--
rename : layout/svg/base/src/nsSVGLeafFrame.cpp => layout/svg/base/src/SVGFELeafFrame.cpp
extra : rebase_source : 74ac4d84da2f0a99272e83590a9adc1dc8511fce
2011-11-19 17:53:52 +00:00
Scott Johnson
f94ea8a6d9
Bug 702897 - Restore previous destruction functionality for nsImageLoader to prevent crash. r=roc
...
--HG--
extra : rebase_source : 43400960ee00d3d66a8c5c5c3e46024fadd3cb55
2011-11-21 12:07:05 -06:00
Neil Deakin
355968e2b9
Bug 703260, part 3, remove nsIViewObserver, r=mats
2011-11-21 12:53:20 -05:00
Neil Deakin
e40bc148fb
Bug 703260, part 1, remove view from eventstatemanager and presshell event handling, r=smaug,sr=roc
2011-11-21 12:53:20 -05:00
Boris Zbarsky
d0d2a67736
Fix logging message to reflect reality. Followup to bug 703197
2011-11-20 11:09:25 +13:00
Ed Morley
c6c66f07cf
Backout 9786b28d116e & 08b07098228a (bug 701190) for permaorange reftest on Win7; a=romaxa
2011-11-18 21:59:29 +00:00
Ehsan Akhgari
abf9372815
Bug 682712 - Set the correct selection type when initializing the selection in editable content; r=roc
2011-11-18 16:47:40 -05:00
Tatiana Meshkova
3e692bbef7
Bug 701190 - position:fixed items disappear due to wrong translation. r=roc
2011-11-09 14:47:23 -08:00
Boris Zbarsky
b546db69d9
Bug 703197. Make window.print() work in display:none iframes. r=smaug
2011-11-18 16:53:06 +13:00
Matt Woodrow
978e14e77a
Bug 701656 - Include the preserve-3d parent content in preserve-3d sorting. r=roc
2011-11-17 16:45:44 +13:00