Commit Graph

648 Commits

Author SHA1 Message Date
timeless@mozdev.org
395892eff6 Bug 577914 mark DEBUG only variables as ifdef DEBUG in layout
r=dbaron
2010-07-11 15:47:45 +03:00
Ehsan Akhgari
da7c6acb37 Bug 610391 - Create the widget for drop-down comboboxes lazily, and tear it down when the drop-down is closed; r=roc 2011-03-21 14:28:10 -04:00
L. David Baron
be4c804463 Disable parsing of 'marker', 'run-in', and 'compact' in a less hacky way. (Bug 636029) r=bzbarsky
This simply removes all the code for the values.  This removes a
special-case that would otherwise need to become more complicated in a
later patch in this series.
2011-03-05 09:58:33 -08:00
Boris Zbarsky
1782b07550 Bug 632907. Use Element more in the frame constructor. r=roc 2011-03-04 10:27:02 -05:00
timeless@mozdev.org
c8cc4b3ae6 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
Boris Zbarsky
2b4d3f034f Bug 629908. Don't blindly try to reconstruct the root element; we might not have one. r=dbaron, a=dbaron 2011-02-15 15:51:33 -05:00
Fernando Herrera
64e4589d37 Bug 630194 - Make sure accessibility is notified for all lazily generated frames, r=surkov, sr=bz, a=final+ 2011-02-14 17:39:59 +08:00
Boris Zbarsky
3693ed3012 Bug 631682. Make sure to start background image loads for the root element when we compute its style and decide to construct a frame. r+a=dbaron 2011-02-04 22:43:13 -05:00
Alexander Surkov
f1d1126c15 Bug 628922 - layout should use cached nsIAccessibilityService, r=davidb, sr=roc, a=roc 2011-01-28 12:38:14 +08:00
Robert O'Callahan
715a68eba1 Bug 619117. When invalidating due to a transform change, use the cached post-transform visual overflow rect to avoid depending on the new transform style. r=dbaron,a=blocking 2011-01-25 21:41:56 +13:00
Boris Zbarsky
7aa6111fd9 Bug 577450. Replicated fixed-pos frames should have the right style. r=roc, a=roc 2011-01-14 10:34:39 -05:00
Mihai Sucan
176912a7c2 Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 2; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Mounir Lamouri
db6bb54ae9 Bug 596088 - Make <input type='file'> looks disabled when inside a disabled fieldset by adding a ContentStatesChanged method in nsIFrame. r=bz sr=roc a=blocking-final
--HG--
rename : layout/reftests/bugs/557087.html => layout/reftests/bugs/557087-1.html
rename : layout/reftests/bugs/557087.html => layout/reftests/bugs/557087-2.html
extra : rebase_source : 350455e646775e42916e90dee7e09f63f84f4db4
2010-12-14 10:00:57 -08:00
L. David Baron
4deb07b330 Remove code that's no longer needed. (Bug 576649, followup) r=roc a=blocking 2010-12-16 08:53:17 -08:00
Ehsan Akhgari
a6a28b32c2 Merge backout; a=b 2010-12-10 21:20:53 -05:00
Ehsan Akhgari
2337dae8c9 Back out bug 612128 because it regressed Fennec with bug 618357, which blocks Fennec beta3; a=blocking-fennecb3+ 2010-12-10 21:20:00 -05:00
Ehsan Akhgari
7e8d5ff910 Bug 612128 - Part 3: Add some debugging checks; r=roc a=bz 2010-12-02 14:00:33 -05:00
Ehsan Akhgari
b4604f8192 Bug 612128 - Part 2: Set the editable flag on the entire subtree rooted at the anonymous content for those nodes which need it; r=roc a=bz 2010-11-22 03:13:37 -05:00
Ehsan Akhgari
30e6f309f2 Bug 612128 - document.execCommand("inserthtml") may insert HTML inside non-editable parts of a document; r=roc,bz a=bz 2010-11-16 15:45:49 -05:00
Cameron McCormack
45bcec85a6 Bug 615146 - Ensure outer SVG elements get an nsSVGOuterSVGFrame even they fail conditional processing attributes (v2) r=longsonr, a=blocking
--HG--
extra : rebase_source : 592d3e066054036dc6c6f741054c1abcffdcc634
2010-12-07 09:57:18 +13:00
Robert Longson
618ecff833 Bug 617448 - remove svg.enabled as the browser now uses SVG and fails to start if it's disabled r+a=roc 2010-12-08 21:25:06 +00:00
Robert Longson
0e3a1489d4 Bug 615658 - SMIL animation of some filter attributes don't invalidate correctly. r=jwatt, a=roc.
--HG--
extra : rebase_source : 85b4bbde3697272e5f4f3352b993f46a49a845d6
2010-12-05 11:37:45 +00:00
Boris Zbarsky
85bcfda004 Bug 591619 followup. Need to allow the <select>'s anonymous kids. a=orange 2010-12-03 23:16:07 -05:00
Boris Zbarsky
a513ce6781 Bug 591619. Don't create frames for non-option kids of <optgroup> or non-option and non-optgroup kids of <select>. r=dbaron 2010-12-03 22:43:42 -05:00
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
Cameron McCormack
5b55d58860 Bug 614265 - Make paint server references to elements within an unknown SVG element subtree work again. r=longsonr a=b 2010-11-26 16:49:08 +13:00
Timothy Nikkel
d71d1bdc9f Bug 607494. Don't create frame construction items for content that has a primary frame. r=bzbarsky a=blocking-final+ 2010-11-24 19:35:02 -06:00
Timothy Nikkel
ada7022f3f Bug 607494. Add assertions to catch creating frames for content nodes that already have a frame. r=bzbarsky a=blocking-final+ 2010-11-24 19:35:01 -06:00
L. David Baron
4b3171070f Remove spammy warning announcing that we haven't fixed bug 455338. (Bug 611686) r=bzbarsky a2.0=DEBUG-only 2010-11-16 09:56:03 -08:00
Cameron McCormack
acb4564013 Bug 477171 - Make unknown elements in the SVG namespace not render any children r=roc a=blocking 2010-11-10 16:58:41 +13:00
Alexander Surkov
aad2bab723 Bug 606082 - update accessible tree when root element is changed, r=marcoz, davidb, bz, a=blocking 2010-11-06 12:11:08 +08:00
Ehsan Akhgari
b5cea518bc Bug 599080 - Frames leak when failing to insert them in the frame tree; r=roc a=blocking-final+ 2010-10-06 16:30:47 -04:00
Ehsan Akhgari
29bec3cf7d Bug 599080 - Part 1: Rename mSetPrimaryFrame to mCreatingExtraFrames and invert its boolean semantics; r=roc a=blocking-final+ 2010-10-18 16:13:21 -04:00
Alexander Surkov
b049d3e67a Bug 570275 - rework accessible tree update code, r=marcoz, davidb, bz, a=blocking 2010-10-21 13:16:10 +09: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
L. David Baron
a56a24a514 Change callers to use new nsIFrame overflow APIs. (Bug 542595, patch 20) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:47 -07:00
Boris Zbarsky
a7d2e54c98 Bug 129941 followup. Continue creating scrollframes for native anonymous content. a=crashing tests 2010-10-06 22:21:58 -04:00
Boris Zbarsky
280f2c88c6 Bug 129941. Don't create scrollframes for blockframes (except inline blocks) while printing, and make such blockframes clip their contents instead. r=dbaron 2010-10-06 21:01:24 -04:00
Robert O'Callahan
c9fe10ac6d Bug 594774. Detect DOM changes during painting, and abort painting ASAP when that happens. r=dbaron a=blocking 2010-09-17 12:09:08 -07:00
Jonas Sicking
ed8cde0a01 Bug 591198: Display element using normal layout rules if XBL binding fails for security reasons. r=jst a=blocker 2010-09-15 15:53:01 -07:00
Ehsan Akhgari
666a59371c Back out bug 594774 because of reftest failures and crashtest assertions 2010-09-15 12:28:29 -04:00
Robert O'Callahan
5fc84d7803 Bug 594774. Detect DOM changes during painting, and abort painting ASAP when that happens. r=dbaron a=blocking-beta6+ 2010-09-15 11:30:00 -04:00
L. David Baron
38c6bf9401 Backed out changeset 2e55203d7b80 to fix orange (test_bug508115.xul timing out). 2010-09-13 20:44:17 -07:00
Jonas Sicking
b6ae0cb58a Bug 591198 - Don't make elements disappear if XBL bindings fail due to security restrictions. r=jst a2.0=blocking 2010-09-14 02:22:06 +02:00
Timothy Nikkel
6b532c4152 Bug 594271. Don't send synth mouse moves to hidden documents. r=dbaron a=dbaron 2010-09-11 13:24:50 -05:00
Boris Zbarsky
4753f55125 Bug 593544. Apply first-letter to legends. r=dbaron a=dbaron 2010-09-07 15:10:42 -04: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
Robert O'Callahan
c7acef03ff 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
Robert O'Callahan
f566520efb Bug 579323. Part 1: Add FrameLayerBuilder::InvalidateThebesLayersInSubtree, and call it from InvalidateOverflowRect. r=tnikkel,sr=dbaron
--HG--
extra : rebase_source : c1dbc5b625e23d55ba030709f5cd429122977685
2010-08-31 12:46:26 +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
Chris Jones
6616076b0a Bug 582057, part i: Use nsIWidget::CreateChild in nsIView::CreateWidget* (where possible). r=roc a=blocking-fennecb1 2010-08-20 14:29:02 -05:00
Chris Jones
26435d9035 Bug 582057, part g: Split nsIView::CreateWidget into CreateWidget, CreateWidgetForParent, and CreateWidgetForPopup in preparation of eliminating IIDs here. sr=roc 2010-08-20 14:29:02 -05:00
Ms2ger
a2c049c1fc Bug 531030 - Remove support for the spacer element; r=bzbarsky a=blocking-betaN 2010-08-20 08:05:05 +02:00
Chris Jones
80fd4bdeb9 Backed out changeset f1af117d4598 2010-08-19 19:02:09 -05:00
Chris Jones
9b55c914bc Bug 582057, part g: Split nsIView::CreateWidget into CreateWidget, CreateWidgetForParent, and CreateWidgetForPopup in preparation of eliminating IIDs here. sr=roc 2010-08-19 13:49:35 -05:00
Mounir Lamouri
ef6632684a Bug 344615 - Implement <input type="url">. r=sicking, sr=smaug a2.0=blocking 2010-08-18 20:33:37 +02:00
Mounir Lamouri
17e57ca845 Bug 555559 - Implement <input type="email">. r=smaug,sicking sr=jst a2.0=blocking 2010-08-18 20:31:54 +02:00
Mounir Lamouri
41b8bedd41 Bug 587875 - Build bustage: nsRefreshDriver.h is included by files not included when SMIL is disabled. r=jst@mozilla.org, a=buildbustage 2010-08-17 02:08:35 +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
Mats Palmgren
a9ff1e450d Bug 576649. r=bzbarsky a=blocking2.0 2010-08-10 19:04:43 -03:00
Dão Gottwald
f246f9a00f Backed out changeset cdd440adb726 2010-08-10 15:10:11 +02:00
Ms2ger
e0dc6046da Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-10 14:25:28 +02:00
Matt Woodrow
a580694478 Bug 505115. Use layers to render active 2D transforms. r=roc,dbaron 2010-08-02 15:07:04 +12:00
Robert O'Callahan
6f767dbf3d Bug 581317. DoApplyRenderingChangeToTree needs to invalidate the ThebesLayer contents of descendants. r=tnikkel 2010-08-02 15:06:58 +12:00
Robert O'Callahan
c3ee8486fe Bug 579264. Ensure that ApplyRenderingChangeToTree repaints popup descendants of the frame. r=bz 2010-07-24 21:38:55 +12:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Robert O'Callahan
1df5a7ec56 Bug 564991. Part 27: Make plugin geometry changes asynchronous and make them happen as close to the final paint as possible. r=matspal,sr=vlad 2010-07-16 09:08:08 +12:00
Robert O'Callahan
1cbc86420d Bug 564991. Part 25: Introduce a 'has active layers' flag on frames, which times out, and use it for 'opacity'. r=mats,sr=dbaron 2010-07-16 09:08:06 +12:00
Robert O'Callahan
1917c1d836 Bug 564991. Part 13: Optimize invalidation to avoid repainting ThebesLayer contents sometimes. r=mats,sr=dbaron 2010-07-16 09:07:53 +12:00
Timothy Nikkel
7bfe0a17cb Bug 560455. Be more careful about the namespace when finding HTML frame construction data. r=bzbarsky 2010-07-15 14:20:32 -05:00
Timothy Nikkel
4a0f17cca3 Bug 558663. When recreating frames, recreate the parent if the parent is a leaf frame. r=bzbarsky 2010-07-15 14:20:31 -05: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
2c37598755 Bug 577309 part 12. Eliminate most content index use in ContentRangeInserted. r=tnikkel 2010-07-15 00:38:22 -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
f8f24c5e2e Bug 577309 part 8. Stop using content indices in ChildIterator. r=roc 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
89bfea579c Bug 577309 part 3. Change ClearLazyBitsInChildren 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
Timothy Nikkel
9fa49496f5 Bug 569018. If our candidate parent frame isn't for our container content then it's not a candidate parent frame. r=bzbarsky 2010-07-02 14:11:04 -05:00
Boris Zbarsky
249485c852 Bug 563327 part 1. Expose an nsIPresShell API for refresh observers. r=roc 2010-06-14 16:06:49 -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
37c6532fe1 Bug 494117 part 1. Rename eRestyle_Self to eRestyle_Subtree. r=dbaron 2010-06-18 12:23:05 -04:00
Boris Zbarsky
7cd4ee91fa 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
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
Ehsan Akhgari
9dcdabcf25 Backed out changeset fee5701c664e and changeset dcfe95c71a04 to fix the mochitest-a11y crashes (bug 563327) 2010-06-14 18:14:30 -04:00
Boris Zbarsky
ab2008132c Bug 563327 part 1. Expose an nsIPresShell API for refresh observers. r=roc 2010-06-14 16:06:49 -04:00
Timothy Nikkel
14c5d0cae6 Bug 8253. Part 1. Disable first-letter and first-line styles in select elements. r=bzbarsky
(transplanted from b2d0bd7761a16e652727596f58b0edc1d57610d4)

--HG--
extra : transplant_source : %B2%D0%BDwa%A1ne%27%27YoX%B0%ED%C1%D5v%10%D4
2010-06-05 15:29:49 -05:00