Commit Graph

5567 Commits

Author SHA1 Message Date
Jonathan Kew
94acc3290a bug 1014639 - part 2 - use IrishCasing in nsCaseTransformTextRunFactory::TransformString to provide correct Irish uppercasing. r=smontagu 2014-06-01 23:18:03 +01:00
Jonathan Kew
9d2b0d6c67 bug 1014639 - part 0 - (preliminary cleanup) split GreekCasing out into its own file to reduce clutter in nsUnicharUtils.cpp. r=smontagu 2014-06-01 23:17:41 +01:00
Phil Ringnalda
61966eed95 Merge f-t to m-c 2014-05-31 20:31:07 -07:00
Victor Porof
5643294005 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Xidorn Quan
cb1efcb979 Bug 1013160 - Remove padding suppressing mechanism of bullet. r=jfkthame,surkov 2014-05-30 09:00:26 +01:00
Matt Woodrow
a706976822 Bug 854421 - Part 11: Use rAF instead of setTimeout in a test. r=roc 2014-05-29 09:45:23 +12:00
Markus Stange
6e3af2bd5f Bug 1016971 - Remove unncessary clipping to the displayport. r=tn 2014-05-29 14:12:58 +02:00
Ed Morley
53648e0403 Backed out changeset efff1d901dca (bug 854421) 2014-05-29 10:55:37 +01:00
L. David Baron
2845076433 Back out changeset 9bd21ab86f78 (bug 1013160) due to regression (bug 1017335). 2014-05-28 18:11:41 -07:00
Mats Palmgren
d17421ebc1 Bug 1015562 - [css-grid] Add a missing grid container check. Add a convenience function to check for flex/grid container frames and use that throughout this file. r=dholbert 2014-05-28 23:16:18 +00:00
Matt Woodrow
911dfe8b65 Bug 854421 - Part 11: Use rAF instead of setTimeout in a test. r=roc 2014-05-29 09:45:23 +12:00
Xidorn Quan
54b1a9e7ad Bug 1013160 - Remove padding suppressing mechanism of bullet. r=surkov, r=jfkthame 2014-05-27 18:09:00 -04:00
Mats Palmgren
fff8b68533 Bug 1015781 - part 7, Remove code for handling kAbsoluteList in nsBlockFrame::AppendFrames/InsertFrames/RemoveFrame (it's dead code). Make AppendFrames also handle kNoReflowPrincipalList, for symmetry with InsertFrames/RemoveFrame. r=roc 2014-05-28 19:36:59 +00:00
Mats Palmgren
c148b9173e Bug 1015781 - part 6, Make nsViewportFrame::SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame DEBUG only. r=roc 2014-05-28 19:36:59 +00:00
Mats Palmgren
eb8734a273 Bug 1015781 - part 5, Make nsCanvasFrame::SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame DEBUG only. r=roc 2014-05-28 19:36:59 +00:00
Mats Palmgren
abbcabc0c0 Bug 1015781 - part 4, Make nsColumnSetFrame::SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame DEBUG only and assert that the latter three are not called. r=roc 2014-05-28 19:36:58 +00:00
Mats Palmgren
23920c264d Bug 1015781 - part 3, Fix whitespace and comments, and move some SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame methods so that they are together in the file. r=roc 2014-05-28 19:36:58 +00:00
Mats Palmgren
06b0a9460b Bug 1015781 - part 1+2, Make the SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame methods return void (scripted change). Remove code handling the return values. r=roc 2014-05-28 19:36:58 +00:00
Ed Morley
e41e1f4f38 Backed out changeset 827fe00eecc7 (bug 1013392) for reftest failures on Windows; CLOSED TREE 2014-05-28 18:20:09 +01:00
Markus Stange
1ccabb9ab2 Bug 1013392 - Put APZ scrollbar annotations on the scrollbar thumb. r=roc 2014-05-28 16:14:43 +02:00
John Schoenick
4b5e0520b0 Bug 870021 - Part 5.3 - nsImageFrame should take orientation into account when getting natural size from content. r=roc 2014-05-30 13:03:07 -07:00
John Schoenick
2b1f9633ee Bug 870021 - Part 5.2 - Ask content to compute its intrinsic size in nsImageFrame. r=roc 2014-05-30 13:03:07 -07:00
Markus Stange
d75b4bfa87 Bug 1016535 - Always give overlay scrollbars their own layers, even for subframes. r=roc 2014-05-28 11:46:10 +02:00
Robert O'Callahan
7d4c3fd53a Bug 1014252. Optimize clearing of textruns via RemoveInFlows. r=matspal
We're keeping the core idea that, before we remove the frames-to-be-destroyed
from the continuation chain, their textruns need to be disconnected/destroyed.
However, nsContinuingTextFrame::DestroyFrom tries to optimize when the
destroying frames that aren't mentioned in the userdata for the textrun, and
certain other conditions are met; we need a similar optimization here. It's
simpler here because the other conditions are definitely met, since all the
text for the frames being deleted has already been consumed and reflowed by
previous frames.

We don't need the TEXT_STYLE_MATCHES_PREV_CONTINUATION state bit anymore
because nsContinuingTextFrame::DestroyFrom will never see any textruns when
called via RemoveEmptyInFlows.

--HG--
extra : rebase_source : 6544f923499ef604d48ec15961716549dd25d279
2014-05-28 15:39:25 +12:00
Trevor Saunders
cb0e030ae4 bug 966084 - don't QI the result of win->GetFrameElementInternal() when its not required r=smaug 2014-01-23 16:14:29 -05:00
Geoff Brown
320b57a883 Bug 979921 - Enable some crashtests on Android 2.3; r=dminor 2014-05-27 06:46:15 -06:00
Birunthan Mohanathas
562904c002 Bug 869836 - Part 12: Use Assign('c') instead of AssignLiteral("c"). r=ehsan
--HG--
extra : rebase_source : a6b15019cee452973dd8bf3112c15e14175855a9
2014-05-26 21:55:08 +03:00
Jonathan Kew
223d697ee1 bug 1015603 part 6 - remove nsFontVariantTextRunFactory from layout, leaving gfx to handle small-caps. r=roc 2014-05-26 14:23:32 +01:00
Jonathan Kew
66ff5526a4 bug 1015603 part 5 - implement fake small-caps in gfx using a reduced-size clone of the font. r=roc 2014-05-26 14:23:32 +01:00
Jonathan Kew
b2fb454fde bug 1015603 part 2 - move the special Greek uppercasing code from nsTextRunTransformations to intl/unicharutil. r=roc 2014-05-26 14:23:31 +01:00
Jonathan Kew
3a797bfe58 bug 1015603 part 1 - factor out case transformation from nsCaseTransformTextRunFactory::RebuildTextRun into a separate function. r=roc 2014-05-26 14:23:30 +01:00
Simon Montagu
8eba08a13f Backout 38b25d5e6cf9 because assertions 2014-05-25 03:15:00 -07:00
Simon Montagu
bd81617a3f Add a WritingMode argument to nsHTMLReflowMetrics::ISize() and BSize(). Bug 789096, r=jfkthame 2014-05-24 23:47:04 -07:00
Mats Palmgren
9115dbb0a0 Bug 508665 - part 16, Change the type of nsIFrame::mParent to nsContainerFrame* and make it private. r=roc 2014-05-24 22:20:41 +00:00
Mats Palmgren
3231bf9944 Bug 508665 - part 15, s/mParent/GetParent()/ in a bunch of nsIFrame sub-classes. r=roc 2014-05-24 22:20:41 +00:00
Mats Palmgren
3b14701888 Bug 508665 - part 14, uninline nsIFrame::GetPositionIgnoringScrolling() (since it uses a nsContainerFrame method). r=roc 2014-05-24 22:20:41 +00:00
Mats Palmgren
d9fe6769d5 Bug 508665 - part 13, Move nsIFrame::IsBoxWrapped to a static function in nsFrame.cpp. r=roc 2014-05-24 22:20:41 +00:00
Mats Palmgren
1e7dbbc25d Bug 508665 - part 12, Move nsIFrame::GetChildBox/GetNextBox/GetParentBox to XUL where they came from. r=roc 2014-05-24 22:20:41 +00:00
Mats Palmgren
99f34c07f2 Bug 508665 - part 11, Make nsIFrame::SetParent non-virtual. r=roc 2014-05-24 22:20:41 +00:00
Mats Palmgren
798dc583cb Bug 508665 - part 9, Remove now redundant static_cast<nsContainerFrame*> and do_QueryFrame() calls. r=roc 2014-05-24 22:20:40 +00:00
Mats Palmgren
da5455a4b0 Bug 508665 - part 8, Move child frame insertion/removal methods from nsIFrame to nsContainerFrame. r=roc 2014-05-24 22:20:40 +00:00
Mats Palmgren
9b83734b6f Bug 508665 - part 6, Require a nsContainerFrame* for aParent in nsFrameList methods. r=roc 2014-05-24 22:20:40 +00:00
Mats Palmgren
80071d48fe Bug 508665 - part 5, Make nsIFrame::Init require a nsContainerFrame* for the parent frame param. r=roc 2014-05-24 22:20:40 +00:00
Mats Palmgren
beb1dea11c Bug 508665 - part 4, Make nsCSSFrameConstructor use nsContainerFrame* for frames used as parent frames. r=roc 2014-05-24 22:20:40 +00:00
Mats Palmgren
285c9e041a Bug 508665 - part 3, Change GetContentInsertionFrame() to return a nsContainerFrame*, and return null for leaf frames. Deal with GetContentInsertionFrame() returning null in a couple of places. r=roc 2014-05-24 22:20:39 +00:00
Mats Palmgren
ac5e91a762 Bug 508665 - part 1, Change the signature of SetParent/GetParent from nsIFrame* to nsContainerFrame*. r=roc 2014-05-24 22:20:39 +00:00
Daniel Holbert
c8a003c7a4 backout c3f1ab75ea51 (bug 421436) for regressing bug 439462 2014-05-22 15:10:20 -07:00
Ehsan Akhgari
643a8b5646 Bug 741295 - Part 0.1: Undo the windows.h damage in nsObjectFrame.h 2014-05-22 18:09:03 -04:00
Birunthan Mohanathas
62570a8716 Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Mats Palmgren
196236901a Bug 1009329 - Make crashtests/724978.xhtml trigger fewer reflows to not timeout. r=dholbert 2014-05-13 05:09:00 -04:00