Mats Palmgren
a1873efda5
Bug 524925 - Update the overflow for all the affected frames, not just the primary frame. And the ancestors of those. part=2/6 r=roc
2012-01-18 21:04:51 +01:00
Benjamin Stover
0a52de4032
Bug 524925 - Recompute overflow without reflowing for transforms. part=1/6 r=dbaron
...
Add an extra change hint, UpdateOverflow, that can be used to specify that
a frame's overflow areas may have changed and that they need to be recalculated.
When a transform on a frame changes, instead of marking it for reflow, set this
hint instead.
There is an added virtual function on nsIFrame, UpdateOverflow, which is called
recursively on a frame when the corresponding hint is set, to allow it to
update its overflow areas.
2011-06-15 14:03:49 -07:00
Markus Stange
a953a374e7
Bug 598482 part 19 - Remove unused aViewManager argument. r=roc
2011-12-23 22:52:24 -05:00
Markus Stange
28a839403a
Bug 598482 part 15 - Rename view update batches to refresh disable batches and only use them in the two places that can enter reflow (where synchronous painting is permitted). r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
cb70f28632
Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc
2011-12-23 22:52:22 -05:00
Robert Longson
d9086c4d00
Bug 607854 - implement SVGTests interface. r=jwatt
2011-12-31 09:44:03 +00:00
Mats Palmgren
9cc6cc3865
Bug 515530 - Remove nsHTMLContainerFrame. r=roc
2011-12-27 21:18:48 +01:00
Phil Ringnalda
3f8c5b26b0
Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures
2011-12-23 22:21:58 -08:00
Markus Stange
890c153e71
Bug 598482 part 19 - Remove unused aViewManager argument. r=roc
2011-12-23 22:52:24 -05:00
Markus Stange
34f17128b7
Bug 598482 part 15 - Rename view update batches to refresh disable batches and only use them in the two places that can enter reflow (where synchronous painting is permitted). r=roc
2011-12-23 22:52:23 -05:00
Markus Stange
4ef3f032b5
Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc
2011-12-23 22:52:22 -05:00
Boris Zbarsky
6c2ea9adf4
Bug 302566. Show canvas fallback content when script is disabled. r=tnikkel
2011-12-21 16:50:39 -05:00
Jonathan Watt
86253e7604
Bug 704706 - Fix crash @ nsSVGPathGeometryFrame::UpdateCoveredRegion. r=longsonr.
2011-12-13 17:50:30 +00:00
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
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
David Zbarsky
4a23b35179
Bug 660959 - Update link state less lazily r=bz
2011-11-14 16:24:41 +13:00
Ehsan Akhgari
74d9b6f1fb
Backout changeset be42bc18185a (bug 612128) because of bug 688423
2011-10-25 22:32:55 -04:00
Ehsan Akhgari
8cfbed187e
Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
...
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host. Things like text controls which used to have that flag
previously will not have it any more. The flag would be set on their anonymous
div node instead. Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.
This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
--HG--
extra : rebase_source : 37317b4d95c2ea957be81420583a98a24f0864ac
2010-11-16 15:45:49 -05:00
Kang-Hao (Kenny) Lu
5d17969b84
Bug695538 - Make sure that trailing spaces don't get dropped by nsCSSFrameConstructor::CreateNeededTablePseudos in certain cases. r=bz
2011-10-20 10:09:33 +02:00
Olli Pettay
a86b1a4d43
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
...
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Daniel Holbert
682ed444b5
Bug 691959: Remove unused variable 'bool done' from nsCSSFrameConstructor.cpp. r=dbaron
2011-10-08 14:44:26 -07:00
Ehsan Akhgari
82c43f09d4
Bug 656130 - Part 1: Make sure that the absolute containing frame to be returned is actually marked as such in the frame tree; r=bzbarsky
2011-05-11 19:53:34 -04:00
Ehsan Akhgari
ef73506d4d
Bug 10209 - Part 5: Allow table elements to act as absolute positioning containers; r=roc
2011-05-09 20:36:10 -04:00
Ehsan Akhgari
b273fc68d8
Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc
2011-04-29 19:02:33 -04:00
Ehsan Akhgari
47d44b9dc3
Bug 10209 - Part 1: Add an API for absolute container support for all frame types; r=roc
2011-04-27 19:41:43 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ehsan Akhgari
85e673bce7
Backout changeset a72195ce0eaa (bug 612128) becasue of Fennec regressions
2011-09-22 18:09:44 -04:00
Boris Zbarsky
e88e132dc5
Bug 686656. Make sure to skip animation rules as well as transition rules when we're reparenting a style context when not processing an animation restyle. r=dbaron
2011-09-20 23:52:44 -04:00
Ehsan Akhgari
ec2d83e852
Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
...
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host. Things like text controls which used to have that flag
previously will not have it any more. The flag would be set on their anonymous
div node instead. Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.
This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Mats Palmgren
ba8355dd94
Bug 685154 - Cleanup nsIFrame::GetParentStyleContextFrame and related code. r=roc
...
Make nsCSSFrameConstructor::ConstructTable return a null frame if
creating the inner table frame fails. Simplify some code since we can
now depend on the invariant that a properly created outer table frame
always has a non-null inner table frame.
2011-09-12 09:08:07 -07:00
Mats Palmgren
4a82c200c1
Bug 685154 - Cleanup nsIFrame::GetParentStyleContextFrame and related code. r=roc
...
Make nsIFrame::GetParentStyleContextFrame return the frame directly
instead of indirectly through an out parameter. Remove the unused
nsPresContext parameter.
2011-09-12 09:08:07 -07:00
L. David Baron
fe83f8c9e2
Add comment pointing out reason for distinguishing anonymous blocks for positioned inlines. No bug.
2011-09-09 12:50:20 -07:00
Mats Palmgren
2a1e806d9f
Bug 653649 - New way of getting child lists from frames. (part 5/5) r=roc
...
Add a kPrincipalList alias in nsCSSFrameConstructor.cpp to avoid
the nsIFrame:: prefix in numerous places.
2011-08-24 22:54:30 +02:00
Mats Palmgren
6894179e71
Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
...
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Mats Palmgren
f06792a6ef
Bug 653649 - New way of getting child lists from frames. (part 3/5) r=roc
...
Update GetAdditionalChildListName consumers to use the new
child list iterator instead.
2011-08-24 22:54:29 +02:00
Jonathan Hage
822cfb4c1d
Bug 668204 - Merge nsMathMLmunderFrame and nsMathMLmoverFrame into nsMathMLmunderoverFrame. r=karlt
2011-08-13 17:22:12 +02:00
Ms2ger
7c8d83cd86
Bug 677101 - Move nsAutoLayoutPhase to its own header; r=tn
2011-08-08 17:14:34 +02:00
Boris Zbarsky
5b8493a932
Bug 675246. Make sure generated content that's being replicated doesn't end up with no primary frame. r=roc
2011-08-01 13:43:23 -04:00
Jonas Sicking
d4380b0d71
Bug 664061: Remove isindex code from layout. r=dbaron
2011-07-19 17:22:01 -07:00
Ms2ger
36c532ffa2
Bug 670235 - Remove nsIDOMWindowInternal; r=sicking
2011-07-15 12:31:34 +02:00
Neil Deakin
4bf3881ba3
Bug 670148, remove nsIBoxLayout, r=roc
2011-07-11 10:05:10 -04:00
Ehsan Akhgari
c4436101c8
Back out bug 10209 and bug 656875 (its regression fix) from Aurora because the work on this bug has not been finished yet
...
--HG--
extra : transplant_source : t%9F%EB%2Aa%A4%C0%9Ab%A5%DDQ%3EMD%5E%01h%E7%2A
2011-06-01 16:18:15 -04:00
Craig Topper
cfe91e4f31
Bug 654369 - Part 11: Remove OOM checks from layout/base r=bz
...
--HG--
extra : rebase_source : a725d78f3e128d6d4ca1eb48eec1cfc78f7762bf
2011-04-28 22:02:40 -07:00
Robert O'Callahan
59cfc47b23
Bug 637852. Part 17: Tighten up AreLayersMarkedActive so we track exactly what properties are changing. Also, clamp resolution to power-of-2 only if the frame's transform has a scale. r=tnikkel
...
This lets us avoid clamping the scale in more situations. We should only clamp the scale when we think
the scale is changing due to a changing transform --- the goal of clamping is to not have to redraw the content
too often when the content is zooming in or out.
2011-06-23 00:11:28 +12:00