Commit Graph

181 Commits

Author SHA1 Message Date
Boris Zbarsky
b0c658578e Bug 609272. Make sure to not apply clipping of overflow when printing to the root element, because it doesn't really make use of its overflow style itself. r=dbaron 2010-11-30 13:19:57 -05:00
Dave Townsend
7a0e0a5cd9 Backing out bug 614058, bug 609272, bug 478445, bug 499628, bug 605296, bug 608914 and bug 614724 due to potentially causing bug 615736 CLOSED TREE. a=backout 2010-12-01 11:01:56 -08:00
Boris Zbarsky
f5eba2ae67 Bug 609272. Make sure to not apply clipping of overflow when printing to the root element, because it doesn't really make use of its overflow style itself. r=dbaron 2010-11-30 13:19:57 -05:00
Mounir Lamouri
66067bcb7b Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Neil Deakin
b753ff6479 Bug 558072. Allow getting of popup position and size from popupshowing event. r=roc,a=blocking
--HG--
extra : rebase_source : 0589fbc0410548f8f7ee748d59e70721c5fcc29b
2010-09-06 15:30:17 +12:00
Ms2ger
0cf7a5d525 Bug 562698 - Part c: Pass Elements to AttributeWillChange; r=bzbarsky, a=dbaron 2010-08-24 09:06:20 +02:00
Ms2ger
27271a8a8f Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-24 09:05:56 +02:00
Boris Zbarsky
b2753641df Bug 577607 part 2. Teach the refresh driver to flush restyles and reflow on more than one presshell. r=roc 2010-08-11 17:05:27 -04:00
Robert O'Callahan
254458b52a Backed out changeset 0c4519d63a98 2010-08-12 11:32:21 +12:00
Boris Zbarsky
657e764de8 Bug 577607 part 2. Teach the refresh driver to flush restyles and reflow on more than one presshell. r=roc 2010-08-11 17:05:27 -04:00
Boris Zbarsky
59286dcbf7 Bug 577309 part 15. Stop using content indices entirely in nsCSSFrameConstructor::ContentRemoved. r=tnikkel 2010-07-15 00:38:24 -04:00
Boris Zbarsky
29800a9621 Bug 577309 part 14. Stop using content indices entirely in nsCSSFrameConstructor::ContentAppended. r=tnikkel 2010-07-15 00:38:23 -04:00
Boris Zbarsky
e7c8d97165 Bug 577309 part 13. Stop using content indices entirely in nsCSSFrameConstructor::ContentInserted. r=tnikkel 2010-07-15 00:38:23 -04:00
Boris Zbarsky
5db355713c Bug 577309 part 11. Stop using content indices in AddTextItemIfNeeded. r=roc 2010-07-15 00:38:22 -04:00
Boris Zbarsky
d2c8f30717 Bug 577309 part 10. Stop using content indices in GetRangeInsertionPoint. r=tnikkel 2010-07-15 00:38:22 -04:00
Boris Zbarsky
e5bac765ac Bug 577309 part 9. Stop using content indices in GetInsertionPrevSibling. r=tnikkel 2010-07-15 00:38:21 -04:00
Boris Zbarsky
ad541421fe Bug 577309 part 7. Stop using content indices in determining whether to suppress whitespace frames. r=roc 2010-07-15 00:38:21 -04:00
Boris Zbarsky
8e3b4bda8e Bug 577309 part 5. Change MaybeConstructLazily to not use content indices. r=tnikkel 2010-07-15 00:38:20 -04:00
Boris Zbarsky
a3e715c327 Bug 577309 part 4. Change MaybeRecreateForFrameset to not use content indices. r=tnikkel 2010-07-15 00:38:20 -04:00
Boris Zbarsky
3f0ad685c1 Bug 577309 part 2. Change the ContentRangeInserted signature to take the end child in addition to the start child. r=tnikkel 2010-07-15 00:38:20 -04:00
Boris Zbarsky
e81230c9bb 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
f8d9da8e92 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
c459ccbab5 Bug 479655 part 4. Move handling of eRestyle_LaterSiblings into RestyleTracker. r=dbaron 2010-06-18 12:23:05 -04:00
Boris Zbarsky
37a217faf3 Bug 479655 part 3. Refactor restyle processing into a new RestyleTracker class. r=dbaron 2010-06-18 12:23:04 -04:00
L. David Baron
a464130609 Additional restyling is needed for :empty + E and :empty ~ E selectors. (Bug 534804) r=bzbarsky 2010-05-14 22:01:45 -07:00
Boris Zbarsky
1e17a7151a Bug 562700 part 3. Store Element in the restyle table and pass it to the actual restyling functions. r=dbaron 2010-05-14 13:04:51 -04:00
Boris Zbarsky
ecc1fd2ec3 Bug 562700 part 2. Change the restyle-event functions to take Element. r=dbaron 2010-05-14 13:04:51 -04:00
Boris Zbarsky
3f415094ff Bug 565819. Switch RestyleForRemove/Append/InsertOrChange to using Element and the new DOM traversal APIs. r=dbaron 2010-05-14 13:04:51 -04:00
Boris Zbarsky
f5243e5ab2 Bug 565818. Pass Elements to HasAttributeDependentStyle and HasStateDependentStyle. r=dbaron 2010-05-14 13:04:51 -04:00
Boris Zbarsky
e98cd67374 Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Boris Zbarsky
83e6db7fac Bug 563837. Don't set primary frames when doing paginated replication of frames for whatever reason, and loosen up some asserts accordingly. r=roc 2010-05-05 14:18:05 -04:00
Boris Zbarsky
ccb1be60c3 Bug 562688 part 10. Eliminate eELEMENT usage in layout/base. r=dbaron 2010-04-30 09:12:06 -04:00
Timothy Nikkel
12327c99cb Bug 502937. Part 4. Implement ContentRangeInserted to create frames for a range of nodes that aren't at the end of a childlist. r=bzbarsky sr=roc 2010-01-21 16:06:16 -06:00
Timothy Nikkel
224192af2f Bug 502937. Part 3. Implement lazy frame construction. r=bzbarsky sr=roc 2010-01-18 03:26:40 -06:00
Zack Weinberg
ee4e0f1e56 Bug 494117 preliminary refactor: Search-and-replace 'ReStyle' with 'Restyle' throughout layout. r=roc 2010-03-31 17:43:32 -07:00
Timothy Nikkel
f8273a996f Bug 538267. Use the correct continuation of the block frame when creating floating first-letter frames. r=bzbarsky
--HG--
extra : rebase_source : f08d0b4efcfafb791b8fbc7fd2c4065df710e572
2010-01-27 22:12:39 -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
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
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
32cfd3d5a7 Bug 535911. Silence the bogus assertion. r=roc 2009-12-23 16:17:23 -05: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
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
f35446936d Bug 526178. Fix constructor firing order to match Gecko 1.9.1 again. r=roc 2009-11-04 17:58:13 -05:00