Olli Pettay
2c2da3099f
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
92064e6d3f
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
Ehsan Akhgari
461fab9117
Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc
2011-04-29 19:02:33 -04:00
Michael Wu
d2b70213ac
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
Mats Palmgren
37e14b15b9
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
Mats Palmgren
f1c56f2e22
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
2c56109b0d
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
Boris Zbarsky
e4fa979c53
Bug 670467. Correctly reresolve style on non-first continuations and non-first parts of {ib} splits even when we're restyling both an ancestor of the element and the element itself. r=dbaron
2011-08-11 23:52:21 -04:00
arno renevier
8ed39834bd
Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg
2011-07-21 04:37:31 +02:00
Alexander Surkov
22b36958c8
Bug 671504 - get rid nsIPresShell::gAccessibilityIsActive, r=roc
2011-07-19 17:30:19 +09:00
Ehsan Akhgari
2a3dbb4205
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
26bac156fd
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
Boris Zbarsky
e5de19d85b
Bug 631529. Pass a TreeMatchContext into ReResolveStyleContext so that we can share the nth-index cache across the entire reresolution. r=dbaron
2011-05-24 20:19:09 -04:00
Ehsan Akhgari
e66b9024c8
Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc
2011-04-29 19:02:33 -04:00
L. David Baron
5f05f9582d
Should check link-related bits before reusing style context for root element. (Bug 652268) r=bzbarsky
2011-04-22 18:36:24 -07:00
timeless@mozdev.org
262e601c9f
Bug 587484 - warning: suggest parentheses around assignment used as truth value in while (... = GetNextContinuation())
...
r+a=dbaron
2011-02-16 14:14:14 +01:00
Alexander Surkov
5029052452
Bug 628922 - layout should use cached nsIAccessibilityService, r=davidb, sr=roc, a=roc
2011-01-28 12:38:14 +08:00
Ehsan Akhgari
986f49d464
Bug 581536 - Part 2: Reconstruct the document element frames when the dir attribute is set on the document; r=bzbarsky a=blocking-betaN+
...
--HG--
rename : layout/reftests/forms/textarea-rtl.html => layout/reftests/forms/textarea-in-dynamic-rtl-doc.html
extra : rebase_source : 444e9dfa75be1e880679c405afd90cfc4031131c
2010-12-15 12:26:54 -08:00
timeless@mozdev.org
5cacd8ef40
Bug 615841 ourA11yNotification is only used in nsFrameManager::ReResolveStyleContext ifdef ACCESSIBILITY
...
r+a=bz
--HG--
extra : rebase_source : 9fe91fdff530e26416f2c212977fd2de4292fa2e
2010-12-04 11:07:53 +01:00
Alexander Surkov
6e8119fa5f
Bug 606125 - develop a way to handle visibility style, r=marcoz, davidb, sr=bz, a=blocking
...
--HG--
rename : accessible/tests/mochitest/treeupdate/test_tableinsubtree.html => accessible/tests/mochitest/treeupdate/test_ariadialog.html
2010-11-13 12:49:26 -05:00
Alexander Surkov
80ae4a5170
Bug 570275 - rework accessible tree update code, r=marcoz, davidb, bz, a=blocking
2010-10-21 13:16:10 +09:00
Robert O'Callahan
6ed294185b
Bug 579323. Part 1.8: Rename InvalidateOverflowRect to InvalidateFrameSubtree. r=tnikkel
...
--HG--
rename : layout/generic/nsFrameFrame.cpp => layout/generic/nsSubDocumentFrame.cpp
extra : rebase_source : f7bd38670a03e8a7f3f8c40838af114be79b06f1
2010-08-31 12:49:12 +12:00
Mats Palmgren
a7f4533995
Bug 576649. r=bzbarsky a=blocking2.0
2010-08-10 19:04:43 -03:00
Boris Zbarsky
753e4b833b
Bug 573241. When reparenting a style context, don't include any transition rules the old context might have had in the new one, since that can confuse transitions. r=dbaron
2010-06-23 00:46:27 -04:00
Boris Zbarsky
6b42fb408a
Bug 569006. Skip probing for ::before/::after during reresolve if we're not redoing matching on kids, since those can't appear/disappear without either a reframe or a change in what selectors we match. r=dbaron
2010-06-18 12:23:05 -04:00
Boris Zbarsky
fa30dc0437
Bug 494117 part 2. Don't force selector matching on the whole subtree rooted at an element when the element's style changes. r=dbaron
2010-06-18 12:23:05 -04:00
Boris Zbarsky
01c5641b98
Bug 479655 part 7. Switch to the new setup for tracking and handling restyles. r=dbaron
2010-06-18 12:23:05 -04:00
Boris Zbarsky
ef0bbab82b
Bug 479655 part 5. Pass the relevant restyle tracker through to style reresolution. r=dbaron
2010-06-18 12:23:05 -04:00
Boris Zbarsky
dcd2585eeb
Fix the comment to not talk about irrelevant things.
2010-06-09 00:03:10 -04:00
Boris Zbarsky
9c0d6be952
Bug 570866. De-bogify the assertion.
2010-06-08 23:36:17 -04:00
Boris Zbarsky
dd39694da0
Add assertions that would catch bug 558943 earlier. r=dbaron
2010-06-08 15:58:26 -04:00
Boris Zbarsky
f1f4c49fc4
Bug 565815. Use Element in the transition manager instead of nsIContent. r=dbaron
2010-05-14 13:04:51 -04:00
Boris Zbarsky
8cae712aa8
Bug 565809. Move checking for style attribute changes into the cascade level. r=dbaron
2010-05-14 13:04:51 -04:00
Michael Kohler
6c0f59f4a6
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
Boris Zbarsky
36463da06f
Bug 562688 part 10. Eliminate eELEMENT usage in layout/base. r=dbaron
2010-04-30 09:12:06 -04:00
Boris Zbarsky
9c2ad4b2aa
Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking
2010-04-30 09:12:05 -04:00
Ehren Metcalfe
a791e19cc4
Bug 556446: Remove dead code in layout. r=roc,bz
2010-04-03 07:36:19 -04:00
L. David Baron
681596fa66
Split nsStyleSet::ResolveStyleForRules into two different APIs for the two different types of uses. (Bug 147777) r=bzbarsky
2010-04-02 18:58:25 -07:00
Zack Weinberg
ca65e30e9c
Bug 494117: Mechanically change 'ReParent' to 'Reparent' throughout the tree. r=bzbarsky
2010-04-01 23:07:43 -07:00
Zack Weinberg
835ff67dda
Bug 494117: remove PresContext argument to nsStyleSet::GetContext. r=bzbarsky
2010-04-01 23:07:42 -07:00
Zack Weinberg
8a8adc758b
Bug 494117 preliminary refactor: Search-and-replace 'ReStyle' with 'Restyle' throughout layout. r=roc
2010-03-31 17:43:32 -07:00
Robert O'Callahan
a27c78da5a
Bug 545049. Capture the pre-transform overflow area of a frame and use it in InvalidateOverflowArea. r=mats
2010-03-29 14:46:58 +13:00
Robert O'Callahan
0fd1837981
Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron
2010-03-29 14:46:55 +13:00
Boris Zbarsky
285f81171c
Bug 536718. Clean up NotifyDestroyingFrame. r=roc
2009-12-29 15:13:54 -05:00
Boris Zbarsky
12720730ef
Bug 500882 part 7. Remove the old GetPrimaryFrameFor API. r=roc, sr=dbaron
2009-12-24 16:20:06 -05:00
Boris Zbarsky
b0ba4290ce
Bug 500882 part 2. Switch setting of primary frames to the new API; switch nsFrameManager::GetPrimaryFrameFor to the new API; remove resulting gobs of dead code. r=roc
2009-12-24 16:20:05 -05:00
fantasai
b27eacbc1d
Bug 508473 Part II: Remove DeletingFrameSubtree r=bz sr=roc
2009-12-24 00:20:41 -05:00
fantasai
b8f6ad289d
Bug 508473 Part I: Remove nsIFrame::RemovedAsPrimary r=bz sr=roc
2009-12-24 00:20:20 -05:00
Boris Zbarsky
5132d64872
Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron
2009-12-11 02:37:40 -05:00
Boris Zbarsky
8202b90f61
Backing out bug 525608 and bug 525952
2009-12-10 18:28:08 -08:00
Boris Zbarsky
6eb3c28de7
Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron
2009-12-10 14:36:05 -08:00
Boris Zbarsky
f4635e997b
Bug 523294 part 2. Get rid of the aAttribute argument to SelectorMatches; handle attribute changes by checking for matches on selectors including the given attribute both before and after the change. r=dbaron
2009-12-10 14:36:03 -08:00
Boris Zbarsky
64ec41f84d
Bug 501847 part 2. Make various consumers deal with more than 2 inlines in an {ib} split. r=tn, sr=roc
2009-09-18 14:00:21 -04:00
Boris Zbarsky
28b855a104
Bug 501847 part 1. Some preparatory cleanup of GetIBSpecialSiblingForAnonymousBlock. r=roc
2009-09-18 14:00:20 -04:00
Boris Zbarsky
7813eeb6d1
Bug 525295. Rename nsStyleContext::GetPseudoType to GetPseudo. r=dbaron
2009-10-29 17:17:56 -04:00
L. David Baron
419becffc1
Make ReResolveStyleContext no longer rerun selector matching on next-continuations by making both ReResolveStyleContext and ReParentStyleContext enforce the invariant that all continuations have the same style context. (Bug 522563) r=bzbarsky
2009-10-17 10:31:47 -04:00
L. David Baron
2ccbe80f89
Implement CSS transitions: handle starting and animation of the transitions. (Bug 435441) r=bzbarsky sr=roc
2009-10-07 20:22:42 -07:00
L. David Baron
ceb6ca81b5
Use nsRefPtr for new context in ReResolveStyleContext. (Bug 435441) r=bzbarsky
2009-09-11 06:46:36 -04:00
Alexander Surkov
71b5e7dcaa
Bug 514595 - it's not necessary to keep two events type for show and two ones for hide, r=marocz, davidb, ginn, sr=roc
...
--HG--
rename : accessible/tests/mochitest/test_events_mutation_coalesce.html => accessible/tests/mochitest/test_events_coalescence.html
2009-09-09 17:03:14 +08:00
Zack Weinberg
430c5ceb95
Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap
2009-08-20 14:52:48 -07:00
Boris Zbarsky
20e4f93193
Bug 508900. Fix assertion due to us not unsetting all the bits we should unset. r=dbaron
2009-08-10 10:54:21 -04:00
Timothy Nikkel
c20df0835f
Bug 497519 part 1. Clear the undisplayed map correctly in the presence of XBL. r=dbaron,bzbarsky
2009-08-07 15:51:25 -04:00
Boris Zbarsky
77cf0876b7
Bug 502288. Provide finer-grained style change hints for triggering reflow. r=dbaron
2009-08-03 21:22:13 -04:00
Boris Zbarsky
c2160da7ef
Backed out changeset 25462849adcc (bug 502288) to get some talos cycles for the tracemonkey merge without this patch in.
...
--HG--
extra : rebase_source : bff86f8ab792af6109b1862d601e2ba560dc4ba1
2009-08-03 15:10:09 -04:00
Boris Zbarsky
c5c9132dbb
Bug 502288. Provide finer-grained style change hints for triggering reflow. r=dbaron
2009-08-03 13:38:42 -04:00
Boris Zbarsky
811394b5da
Bug 281387. Make nsIFrame::Append/InsertFrames use nsFrameList. r=bernd,roc, sr=dbaron
2009-07-30 13:23:32 -04:00
Alexander Surkov
3d6ee44234
Bug 452564 - can't create accessibles for table children when visibility style of table is changed, r=ginn.chen, sr=roc
2009-07-30 15:55:51 +08:00
Michael Kohler
4b7c87c984
Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless
2009-07-27 10:47:02 +02:00
Boris Zbarsky
b7ce1207f5
Bug 492163, bug 492112, and bug 483604. Stop putting the style contexts of textnodes and CSS generated content in the undisplayed map, and make sure to properly unbind generated content if we don't plan to actually create a frame construction item for it. r+sr=dbaron
2009-05-14 21:40:26 -04:00
Boris Zbarsky
b9856acf00
Bug 487539. Don't use an <area>'s primary frame as a primary frame hint. r+sr=roc
2009-04-09 21:37:37 -04:00
Arpad Borsos
4d6cb32c22
Bug 399753 - Remove nsISupportsArray in the layout directory; r+sr=roc
2009-03-30 20:08:06 +02:00
L. David Baron
715b4bef6b
Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky
2009-02-19 11:03:28 -08:00
L. David Baron
c936720f0a
Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing.
2009-02-19 09:06:18 -08:00
L. David Baron
253355ccbb
Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky
2009-02-19 07:29:27 -08:00
L. David Baron
3d090560b0
Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic.
2009-02-18 18:59:47 -08:00
L. David Baron
ce51a87ca9
Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky
2009-02-18 17:13:24 -08:00
L. David Baron
94c2064008
Weaken assertion so that it doesn't fire. (Bug 472353) r+sr=bzbarsky
2009-01-29 12:39:19 -08:00
L. David Baron
ef90d3f11b
When re-resolving style, re-resolve root in undisplayed map too. (Bug 473042) r+sr=bzbarsky
2009-01-16 13:32:09 -08:00
L. David Baron
e4e5edb2d9
Backed out changeset 046f5da25280 due to crash in layout/forms/test/ mochitests.
2009-01-13 17:47:03 -08:00
L. David Baron
d5f655025a
When re-resolving style, re-resolve root in undisplayed map too. (Bug 473042) r+sr=bzbarsky
2009-01-13 11:50:41 -08:00
Benjamin Smedberg
3498a5f86e
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Mats Palmgren ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
8c3f1d62cd
Put the root element in the undisplayed map so that we reconstruct it when it has its 'display' changed from 'none' to something else. (Bug 283686) r+sr=bzbarsky
2009-01-10 08:28:15 -08:00
Benjamin Smedberg
73a6fab34b
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
802d1a10c7
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
L. David Baron
4d4096952f
Fix assertion in bug 468645, per bzbarsky's followup review comment. r+sr=bzbarsky
2009-01-04 14:52:38 -05:00
L. David Baron
2be8c03649
Pass the correct parent content when re-resolving the inner table for a display:table pseudo-element (:before or :after). (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:37 -05:00
L. David Baron
a526429d9e
Fix style context invariants so we can re-resolve page break frames. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:36 -05:00
Robert O'Callahan
7da5e41790
Bug 455314. nsSVGRenderingObserver::GetReferencedFrame shouldn't try to look up the frame on a cache miss, if we're currently destroying frames. r+sr=mats
2008-12-12 21:25:16 +13:00
Graeme McCutcheon
38c89ebd70
Bug 215405. Restore scroll position, but not form state, on no-store and SSL no-cache sites. r+sr=bzbarsky
2008-12-03 12:55:14 -05:00
Mats Palmgren
a612e9702e
Delete mNext iteratively to avoid blowing up the stack. b=460461 r+sr=dbaron
2008-11-02 17:05:14 +01:00
L. David Baron
c74a025b24
Merge backout of changeset 23eebebb8b48 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
2008-10-28 14:36:44 -07:00
L. David Baron
5b935e6daa
Backed out changeset 23eebebb8b48 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
2008-10-28 14:36:17 -07:00
Mats Palmgren
7e7659beb9
Fix a couple of compile warnings. b=460468 r+sr=roc
2008-10-18 19:35:39 +02:00
Mats Palmgren
07a188801c
DEBUG: Use a flag to track when we are inside RemoveFrame() and assert it's false in GetPrimaryFrameFor(). b=458636 r+sr=roc
2008-10-13 00:05:04 +02:00
L. David Baron
6e5f3d5edc
Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky
2008-10-11 20:49:42 -04:00
Arpad Borsos
c72ef7d248
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
L. David Baron
8b023b33e7
Fix a bunch of issues relating to dynamic changes of border images. (Bug 445810) r=robarnold sr=bzbarsky
2008-07-26 09:14:49 -07:00
dbaron@dbaron.org
d68725b23c
Force reflow on default font change, since style data comparison is not sufficient for things not reflected in style data. b=394057 r+sr=roc a=blocking1.9+
2008-02-08 11:52:46 -08:00
dwitte@stanford.edu
7e454eebf6
get rid of nsStyleStruct base type. b=408933, r+sr=dbaron, a=beltzner
2008-01-10 12:56:49 -08:00
fantasai.cvs@inkedblade.net
3bc37fa97f
update last continuation assertion to account for overflow container continuations b=399687 r+sr=roc a=beltzner
2007-11-12 11:05:42 -08:00