Matt Woodrow
4c0194acc2
Bug 700240 - Print contents of TextFrames. r=mats
2011-11-17 16:44:16 +13:00
Matt Woodrow
353e3c17e7
Bug 700240 - Make display list debugging independent of DEBUG. r=khuey,roc
2011-11-17 16:44:16 +13:00
Mats Palmgren
afbd116501
Bug 654002 - Stack overflow when destroying many frame continuations in different parents. r=roc
2011-11-17 11:54:08 +13:00
Ed Morley
1c87228e23
Merge last green changeset of mozilla-inbound to mozilla-central
2011-11-16 11:02:43 +00:00
Rob Campbell
bf422e9c17
merge fx-team to mozilla-central
2011-11-15 13:57:15 -08:00
Jonathan Watt
02ee85d336
Bug 702477 - Change the names of nsSVGPathElement::GetScale and nsSVGTextPathFrame::GetPathScale, and add documenting comments. r=longsonr.
2011-11-15 13:11:43 +00:00
Phil Ringnalda
fb732c5149
Backout changesets c9abc8ef4626, d62512892555, 69f89ee5d08f, c511af7d8f58, 6a6a560a1492, ac0ec1183d19, 46669afabd15, 74f32abaa8c0, f197554cf989, 0a2405eb5b90, b48954598d7d, e0a82577259c, 0235d1541e58, 450f2557d3a2, e24d196602bf, 03c2ea0eeba3, 7aca4ef8e538, 11ec362e780b, 4b92a3b96446 (bug 627842) for Windows crashtest assertions and Android reftest failures
...
--HG--
extra : rebase_source : fc8946055314369bfba5038ded32afcb00bf134d
2011-11-14 22:12:31 -08:00
Bas Schouten
1b8e035e99
Bug 334411: Introduce flashing invalidates areas when paint flashing is enabled. r=roc
2011-11-15 04:59:03 +00:00
William Lachance
a3bbb32ede
Bug 679759 - Drop MINIDUMP_STACKWALK_CGI support, let harness download symbols as needed; r=ted
2011-11-15 04:33:21 +00:00
Jared Wein
9ceb414e47
Bug 537718 - Video should scale for a small window. r=dao r=roc
2011-11-14 15:58:41 -08:00
Jared Wein
4bba1c0780
Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets. r=roc, r=dao
2011-11-10 15:08:47 -08:00
Jared Wein
7240245900
Bug 700854 - {Media,Image,Video}Document should reference an external stylesheet for use in styling their content. r=roc
2011-11-10 15:08:07 -08:00
Jared Wein
8a6dfb9392
Backout changeset 40b0d61c132b due to bad commit message
2011-11-10 15:07:10 -08:00
Jared Wein
79ad1b014a
Backed out changeset b77ec6e8eb8c due to bad commit message
2011-11-10 15:04:12 -08:00
Jared Wein
92e233900f
Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets
2011-11-10 15:02:26 -08:00
Jared Wein
8a76a2a508
Bug 700854 - {Media,Image,Video}Document should reference an external stylesheet for use in styling their content
2011-11-10 15:02:21 -08:00
L. David Baron
241d685dc5
Add reftest harness for testing font inflation and add reftests for basic features. (Bug 627842, patch 16) r=roc
2011-11-15 17:02:01 +13:00
L. David Baron
fbf62da75f
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-15 17:02:01 +13:00
L. David Baron
963d244cf6
Pass nsFontMetrics to the GetEllipsis function rather than computing them again. (Bug 627842, patch 14) r=matspal
2011-11-15 17:02:01 +13:00
L. David Baron
e30b812b18
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-15 17:02:01 +13:00
L. David Baron
b4cd814c1e
Apply font size inflation to heights of inlines. (Bug 627842, patch 12) r=roc
2011-11-15 17:02:01 +13:00
L. David Baron
9040cadeb5
Apply font size inflation to line heights. (Bug 627842, patch 11) r=roc
...
Since font size inflation applies to the text after style data
computation, we must separately apply this inflation to line heights.
2011-11-15 17:02:01 +13:00
L. David Baron
8b98b80576
Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc
2011-11-15 17:02:01 +13:00
L. David Baron
db5c82697e
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-15 17:02:01 +13:00
L. David Baron
2ff820844c
Pass block's reflow state to nsTextFrame::UnionAdditionalOverflow. (Bug 627842, patch 8) r=roc
2011-11-15 17:02:01 +13:00
L. David Baron
20da5c2ff7
Use the text run's font group for the tab width instead of recomputing it from the frame. (Bug 627842, patch 7) r=roc
2011-11-15 17:02:01 +13:00
L. David Baron
b162417f65
Add inflation parameter to nsLayoutUtils::GetFontMetricsFor* methods. (Bug 627842, patch 6) r=roc
2011-11-15 17:02:00 +13:00
L. David Baron
b93eea884b
When font size inflation is enabled, horizontal resizes of blocks must cause a full dirty reflow. (Bug 627842, patch 5) r=bzbarsky
...
This change is sufficient because the places that set mHResize to true
other than InitResizeFlags and nsFrame::BoxReflow aren't a problem
because they're in table code whose goal is to force the reflow to
propagate down to the cell, and once we reach the cell we'll hit the
code we've added here.
2011-11-15 17:02:00 +13:00
L. David Baron
4c284f9e07
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-15 17:02:00 +13:00
L. David Baron
5a303ca8ac
Don't construct cell reflow states with a row group reflow state as their parent; instead, always link in a table row reflow state as appropriate. (Bug 627842, patch 3.875) r=roc
...
Fixes assertion on layout/reftests/bugs/409084-1a.html once the rest
of the inflation patches land.
2011-11-15 17:02:00 +13:00
L. David Baron
821918f150
Don't duplicate frame state bits, so that we can assert about NS_FRAME_IN_REFLOW during painting. (Bug 627842, patch 3.5) r=roc
2011-11-15 17:02:00 +13:00
L. David Baron
430f422bc5
When reflowing a frame (such as text controls) that jumps from HTML layout into XUL layout and then jumps back to HTML on the child frame, link the parent reflow state chain correctly. (Bug 627842, patch 3) r=roc
2011-11-15 17:02:00 +13:00
L. David Baron
37be1f5c8b
Set an NS_FRAME_IN_CONSTRAINED_HEIGHT state bit on frames that are in a constrained space. (Bug 627842, patch 2) r=roc
2011-11-15 17:02:00 +13:00
L. David Baron
0a1bb1e502
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-15 17:02:00 +13:00
Scott Johnson
7dade638ff
Bug 682077 - Remove nsITreeImageListener interface to make inheritance hierarchy more clear. r=neil, sr=bz
...
--HG--
extra : rebase_source : 37becb5bb6a987fafb90a340284d284614dc64ae
2011-11-15 10:59:19 +13:00
Chris Pearce
9ad43e595e
Bug 700764 - ESC keypress in subdoc of full-screen doc should cause full-screen exit. r=smaug
2011-11-15 09:33:37 +13:00
Ed Morley
a65b13a742
Backout 15cf68a3c027, 2f403e4c42c8, 61534874aed7, 1cb3705557d9 & 03970d1fc919 (bug 661746) for Win PGO build failures; a=bz
2011-11-14 18:10:22 +00:00
Jonathan Watt
f9142b4f92
Bug 702283 - Remove dead code RegionMark (left behind by bug 614732 attachment 563617 (changeset 8ddd09649e13)) since now we use GetMarkBBoxContribution (which doesn't need to update the covered regions of a mark's content). r=longsonr.
2011-11-14 16:42:39 +00:00
David Zbarsky
9e02ed0fa2
Bug 661746 - Part 5: Avoid creating atoms during selector matching. r=bzbarsky
2011-11-14 16:30:28 +13:00
David Zbarsky
2909c77125
Bug 661746 - Part 4: use const nsIDocument in selector matching. r=bzbarsky
2011-11-14 16:30:22 +13:00
David Zbarsky
46a0eca73f
Bug 661746 - Part 3: Use const selectors during selector matching. r=bzbarsky
2011-11-14 16:30:16 +13:00
David Zbarsky
ee37d5cfa8
Bug 661746 - Part 2: Make selector matching work with const elements. r=bzbarsky
2011-11-14 16:30:08 +13:00
David Zbarsky
afd0c5a467
Bug 661746 - Part 1: Delay setting slow selector flags during selector matching to avoid mutating Elements. r=bzbarsky
2011-11-14 16:29:56 +13:00
David Zbarsky
4a23b35179
Bug 660959 - Update link state less lazily r=bz
2011-11-14 16:24:41 +13:00
Ed Morley
aa7d782dac
Merge mozilla-central and mozilla-inbound
2011-11-14 01:45:39 +00:00
John Daggett
66dc44a8ee
Bug 701262. Set up reftest for redirection on font load. r=joedrew
2011-11-14 12:51:35 +13:00
Marco Bonardo
58bfb85dcd
Merge mozilla-central and mozilla-inbound
2011-11-11 11:09:58 +01:00
John Daggett
c801967c20
Bug 701262. Fix font redirect request failures. r=sicking
2011-11-11 08:38:23 +09:00
Gregory Szorc
dd260c7514
Merge b-s to m-c
2011-11-10 15:15:29 -08:00
Ed Morley
24695badf6
Merge m-c to b-s.
2011-11-08 23:18:09 +00:00