Commit Graph

438 Commits

Author SHA1 Message Date
Timothy Nikkel
97bc36029b Bug 499841. Fix a failed attempt at a merge. 2010-01-02 18:56:29 -06:00
Timothy Nikkel
bd15675d9d Bug 396367. Make sure that we have flushed content notifications anytime we process restyles that might cause frame construction. r=bzbarsky
--HG--
extra : rebase_source : c6aa412247ab70f5bf3a4688f262edcccd2d6fdd
2009-12-22 18:09:10 -06:00
Timothy Nikkel
1172cc4cd0 Backed out changeset 63d4a49fbec1 (bug 396367) 2010-01-01 20:34:05 -06:00
Timothy Nikkel
6a84e052f2 Bug 396367. Make sure that we have flushed content notifications anytime we process restyles that might cause frame construction. r=bzbarsky
--HG--
extra : rebase_source : 67d99a197a4974684f57f23873033b85c276ef86
2009-12-22 18:09:10 -06:00
Timothy Nikkel
ad77d4e1d7 Bug 484400. When removing a positioned element use the placeholder frame to get the relevant containing block for first-letter processing. r=bzbarsky
--HG--
extra : rebase_source : 9a327e8f44541ac822bc7be52caa1ceab825ccd1
2009-12-22 17:47:25 -06:00
Timothy Nikkel
5f6a955352 Bug 499841. Pass the block frame that contains the first letter style to RemoveFirstLetterFrames so that the NS_BLOCK_HAS_FIRST_LETTER_CHILD bit can be unset on it. Always set the NS_BLOCK_HAS_FIRST_LETTER_CHILD bit on the first continuation only. r=bzbarsky
--HG--
extra : rebase_source : 411297490d6d18244fa7caa3194facfedc28ea86
2009-12-22 17:44:35 -06:00
Boris Zbarsky
06b277fcc7 Bug 528306 part 3. Hook up restyle processing to nsRefreshDriver. r=dbaron 2009-12-31 14:07:57 -05:00
Boris Zbarsky
ef3cef478b Bug 528306 part 2. Make nsCSSFrameConstructor reference-counted. r=dbaron 2009-12-31 14:07:57 -05:00
Boris Zbarsky
35c346dcdf Bug 536623 and bug 537141. Don't attempt to maybe-create textframes for kids of parents that have xbl childlists on insert and append: we know we didn't skip creating any frames that didn't need skipping unconditionally in that situation, and trying to create them can put them in the wrong place. r=roc 2009-12-31 14:07:57 -05:00
Boris Zbarsky
a99f0f4f96 Bug 536716. Make BuildScrollFrame not set the primary frame on the content, fix letter frames to reset primary frames to 0 before resetting them to the new value as needed, fix things so <area> never gets a frame of its own, and reenable the SetPrimaryFrame assertion when the primary frame is being changed from one non-null frame to another. r=roc 2009-12-31 14:07:56 -05:00
Boris Zbarsky
b472db2cb1 Bug 508473 followup. Remove some more dead code. 2009-12-29 15:13:53 -05:00
Boris Zbarsky
e76b6c5c78 Bug 500882 followup. Restore bit that shouldn't have gone away. 2009-12-27 08:41:08 -05:00
Boris Zbarsky
b3883855ac Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc 2009-12-24 16:20:06 -05:00
Boris Zbarsky
b2e4054198 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
1e880721fb Bug 508473 Part II: Remove DeletingFrameSubtree r=bz sr=roc 2009-12-24 00:20:41 -05:00
Boris Zbarsky
976c983e86 Bug 535721. Deal with MoveChildrenTo on non-siblings. r=roc 2009-12-23 16:17:23 -05:00
Boris Zbarsky
32cfd3d5a7 Bug 535911. Silence the bogus assertion. r=roc 2009-12-23 16:17:23 -05:00
Boris Zbarsky
bdc41dba60 Bug 531148 followup. Actually return a value here! 2009-12-17 02:38:12 -05:00
Boris Zbarsky
4e9f77e7b1 Bug 531148. Fix appends of a block to the trailing inline of an {ib} split which has an inline parent. r=roc 2009-12-11 22:36:34 -08:00
Boris Zbarsky
af198139a9 Bug 526596. Make sure appends to an {ib} split coalesce blocks correctly if the appended frames start with a block and the trailing inline of the split is empty. r=roc 2009-12-11 22:36:33 -08:00
Olli Pettay
2f4c5ea761 Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Boris Zbarsky
99027aa785 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
e9f228c7d5 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Boris Zbarsky
0a82b262db 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
cc6eb188e6 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Boris Zbarsky
129197fdc7 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
679d2edfd4 Bug 526375. Enforce always appending to the last continuation for {ib} splits. r=roc 2009-11-18 08:25:02 -05:00
Boris Zbarsky
2b37acc71b Bug 521542. Fix IsValidSibling to not lie when non-table-related siblings are involved. r=bernd 2009-11-17 17:50:04 -05:00
Boris Zbarsky
c1595ce69a Bug 518114 part 2. Use state bits to keep track of what a placeholder is a placeholder for. r=roc 2009-11-16 16:00:07 -05:00
Boris Zbarsky
42cd75865c Bug 526178 followup. Remove now-unused AutoEnqueueBinding. 2009-11-12 14:27:33 -05:00
Boris Zbarsky
dcde9c8929 Bug 528002. InvalidateCanvasIfNeeded can do a lot less work. r=roc 2009-11-11 18:28:16 -05:00
Boris Zbarsky
f35446936d Bug 526178. Fix constructor firing order to match Gecko 1.9.1 again. r=roc 2009-11-04 17:58:13 -05:00
Boris Zbarsky
53f028f33b Backed out changeset 2fa27d8cd3d2 (bug 526178) to fix browser-chrome orange.
--HG--
extra : rebase_source : 6be60f6e6586e924f7607f135a3589d9e425a0ec
2009-11-04 20:41:06 -05:00
Boris Zbarsky
482ee7e084 Bug 526178. Fix constructor firing order to match Gecko 1.9.1 again. r=roc 2009-11-04 17:58:13 -05:00
Boris Zbarsky
b06f4eb4a0 Bug 501847 part 6. Simplify MoveChildrenTo now that it doesn't have to deal with float reparenting. r=tn,roc 2009-09-18 14:00:23 -04:00
Boris Zbarsky
64e8dac0e8 Bug 501847 part 5. Get rid of the MoveFrames function now that there is only one caller. r=tn,roc 2009-09-18 14:00:23 -04:00
Boris Zbarsky
0e977736ec Bug 501847 part 4. Change frame construction to create {ib} splits that have blocks wrapping runs of block kids and inlines wrapping runs of inline kids instead of wrapping all kids from the first block to the last block in a single block. r=tn,dbaron,roc 2009-09-18 14:00:21 -04:00
Boris Zbarsky
18898e8da4 Bug 501847 part 1. Some preparatory cleanup of GetIBSpecialSiblingForAnonymousBlock. r=roc 2009-09-18 14:00:20 -04:00
Boris Zbarsky
5215a681c7 Bug 525295. Rename nsStyleContext::GetPseudoType to GetPseudo. r=dbaron 2009-10-29 17:17:56 -04:00
Timothy Nikkel
5321e14840 Bug 520425. (nsI)CanvasFrame related cleanup. r=roc
--HG--
rename : layout/generic/nsHTMLFrame.cpp => layout/generic/nsCanvasFrame.cpp
rename : layout/generic/nsHTMLFrame.h => layout/generic/nsCanvasFrame.h
extra : rebase_source : 4fa62ac7dee06bbdad394eae1ce6aba82853a410
2009-10-08 01:18:18 -05:00
Timothy Nikkel
bfb3787c95 Bug 457514. If an out of flow first letter frame is the insertion parent, then use the placeholder frame to get the parent, not the out of flow frame. r=bz
--HG--
extra : rebase_source : 8913cd4c0484baecba53d239263a761b9c9dcf8b
2009-10-15 21:48:44 -05:00
Timothy Nikkel
c7f094cc6a Bug 522374. Ignore <area> elements in looking for a next/prev siblings for frame construction due to their misuse of the primary frame map. r=bz
--HG--
extra : rebase_source : 1b996eb1c5c6a130197e84ad11998afae4b20eb9
2009-10-16 20:51:05 -05:00
Daniel Holbert
ad1651cc8b bug 522779: use nsTArray::Contains() instead of checking nsTArray::IndexOf() against various sentinel values, in three places in layout. r=dbaron 2009-10-16 15:49:30 -07:00
Boris Zbarsky
e168ed8802 Bug 502567. Get rid of the silly ShouldBuildChildFrames check. r=neil 2009-10-07 21:00:38 -04:00
Boris Zbarsky
4fc405cefa Bug 512336. Make frame lists doubly-linked. r=roc,fantasai 2009-10-02 12:27:37 -04:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
David Zbarsky
bb6a0e81f4 Bug 507762: Parse CSS style sheets independently of case-sensitivity, and instead check case correctly when using the stylesheets. r=dbaron 2009-09-28 23:07:45 -07:00
Timothy Nikkel
ca4682bf22 Bug 435441 patch 4 followup fix. One instance of mPendingRestyles -> aRestyles was missed in patch 4. r=dbaron 2009-09-22 14:01:55 -05:00
Mats Palmgren
4e06ef038e Bug 233463, patch 5 - Remove nsFrameList(nsIFrame*) ctor. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren
7ca7fe2f91 Bug 233463, patch 3 - Make Destroy/RemoveFrame() methods void and assert that the frame to remove is present. r=bzbarsky 2009-09-18 13:09:36 +02:00