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
Cameron McCormack
6a67c59c2d
Bug 724706 - Use NS_NewBlockFormattingContext instead of NS_NewBlockFrame with the bfc flags. r=roc
2012-02-07 10:49:08 +11:00
Robert Longson
dc84569d62
Bug 616892 - Make more updates honour suspendRedraw. r=roc
2012-02-04 13:58:46 +00:00
Jonathan Watt
baa7ef5264
Bug 714839 - Make nsCSSFrameConstructor inherit nsFrameManager. r=bz.
...
--HG--
extra : rebase_source : 23c36617c5088884b7e1ecea48e6c09aa8757690
2012-02-02 10:06:46 +00: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
Jonas Sicking
5f95458332
Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz
2011-06-14 00:56:49 -07:00
Matheus Kerschbaum
7406ce377f
Bug 660762 - Remove --disable-mathml support. r=roc
2011-06-02 13:11:33 +02:00
Boris Zbarsky
7867f56859
Bug 598833 part 7. Make IntrinsicState protected. r=smaug
2011-05-31 21:46:57 -04:00
Boris Zbarsky
6ae99aa202
Bug 597291. Create nsIURI objects lazily for nsCSSValue::URL, so that we don't pay the cost of creating the ones we don't actually need. r=dbaron
...
In the new setup, the mURL member of nsCSSValue::URL stores either the actual URI pointed to or the base URI; a boolean flag keeps track of which is stored. Consumers use GetURI() to get the URI instead of raw access to mURI, and GetURI calls NS_NewURI as needed.
2011-05-11 11:28:53 -04:00
Mounir Lamouri
f412df2050
Bug 567872 - Layout part of the progress element. r=roc,dbaron
2011-05-10 14:59:07 +02:00
Shawn Wilsher
f8feb2aafd
Merge for back out tracked by bug 655860. Also backs out bug 654990 because it depends on bugs in the back out range.
2011-05-09 15:52:44 -07:00
Shawn Wilsher
259bae0699
Back out bug 514437, bug 567872, bug 568825, bug 633209, bug 633913, bug 634086, bug 634088, bug 634549, bug 634551, bug 638176, bug 641517, bug 641905, bug 641942, bug 642127, and bug 642667 to undo the performance regression tracked by bug 655860.
2011-05-09 15:48:39 -07:00
Jonas Sicking
48d490b63b
Bug 650493 Part 3: Back out patch from bug 645572 as we should now always end up with correct update counts. r=ehsan
2011-05-09 12:33:03 -07:00
Mounir Lamouri
dc2475b233
Bug 567872 - Layout part of the progress element. r=roc,dbaron
2011-05-07 10:15:14 +02:00
Boris Zbarsky
ae3f14f1ba
Merge cedar with mozilla-central
2011-05-06 20:39:36 -04:00
Ehsan Akhgari
e4c89e2e5d
Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc
2011-04-29 19:02:33 -04:00
Ehsan Akhgari
ce02059ba9
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
Boris Zbarsky
b0ef240309
Bug 654989 part 2. Use the nsStyleContext handed back from CreateAnonymousContent. r=roc
...
This asserts the parts of AddFrameConstructionItems that should never matter for anonymous content and then just copies the one-line style context get if it's needed.
2011-05-06 16:04:44 -04:00
Boris Zbarsky
447ee74d8c
Bug 654989 part 1. Allow handing out both an nsIContent and an nsStyleContext from CreateAnonymousContent. r=roc
2011-05-06 16:04:44 -04:00
Timothy Nikkel
f739336f73
Bug 653129. Remove useless CreateViewForFrame calls that don't do anything anymore. r=roc
2011-04-29 15:51:09 +02:00
Timothy Nikkel
baa16dc247
Bug 653125. Remove misc SVG views. r=roc
2011-04-29 12:36:02 +02:00
David Zbarsky
5ecf0a2bd3
Bug 610305: decom nsEventStateManager r=smaug
2011-04-21 19:35:52 +02:00
Mounir Lamouri
b4cf8cd184
Backed out changeset c1a7c1bc1aeb due to busted build.
2011-04-20 22:26:06 +02:00
David Zbarsky
c4d29900ed
Bug 610305: decom nsEventStateManager r=smaug
2011-04-20 21:42:33 +02:00
Zack Weinberg
51864c09d8
Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
...
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Jonathan Watt
ab5a30f802
Bug 649726 - Move nsHTMLContainerFrame static view methods to nsContainerFrame. r=bz.
2011-04-19 12:55:11 +01:00
Ms2ger
bb2faf4a3d
Bug 619996, part a: Remove unnecessary inclusions of and references to nsISelectElement.h; r=bz
2011-04-12 14:31:59 +02:00
Ehsan Akhgari
02c72c47b5
Bug 645572 - Don't let the frame constructor's update count to become negative. r=sicking
...
--HG--
extra : rebase_source : 78cbdf15ff2d9bdd706db66176f65a3e4dc84c14
2011-04-08 14:29:34 -07:00
Boris Zbarsky
a63405c419
Bug 581177 part 7. Make 'may have contenteditable attr' into a boolean flag. r=sicking
2011-04-07 19:29:50 -07:00
Ehsan Akhgari
a0f4acae30
Merge cedar into mozilla-central
2011-03-30 13:53:35 -04:00
L. David Baron
ea97bc0b82
Go through the normal restyling codepath in RebuildAllStyleData so that we handle in-progress transitions correctly. (Bug 583219) r=bzbarsky
2011-03-29 20:46:13 -07:00
Ms2ger
3aac8958f3
Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz
2011-03-29 22:24:54 -04:00
Boris Zbarsky
0a7e20bbec
Bug 313351. ContentStatesChanged should take only one argument. r=dbaron
2011-03-28 23:32:11 -04:00
Boris Zbarsky
8a877093bc
Bug 598832 part 16. Use a single TreeMatchContext for all the style resolution that the frame constructor does as part of a single frame construction batch. r=dbaron
2011-03-29 13:29:21 -04:00
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
Boris Zbarsky
5abf1fd409
Bug 567944. Work around inefficiency in handling eRestyle_LaterSiblings for now. r=dbaron
2010-06-02 22:25:02 -04:00
Timothy Nikkel
c59fbce1fb
Bug 567292. When making asserts for lazy frame construction, if we hit a leaf frame, forgive any previous transgressions because leaf frames do their own thing. r=bzbarsky
2010-05-22 13:55:41 -05:00
Robert O'Callahan
c57160c9f8
Bug 565569. Set primary frame for anonymous text in buttons. r=mats
2010-05-21 15:20:48 +12:00
Mounir Lamouri
a821ae13af
Bug 456229 - Implement <input type="search">. r=smaug sr=sicking
2010-05-17 12:20:22 +02:00
L. David Baron
ade6177e17
Make the 'noappend' selector optimizations only restyle later siblings, which is what they need to do. (Bug 534804) r=bzbarsky
2010-05-14 22:01:46 -07: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
7ef058e29f
Bug 565809. Move checking for style attribute changes into the cascade level. r=dbaron
2010-05-14 13:04:51 -04:00
Timothy Nikkel
9d6871d138
Bug 564063. If we encounter an area with a bogus primary frame we need to relax the asserts on remaining ancestors. r=bzbarsky
2010-05-11 19:30:42 -05:00
Michael Kohler
9397418412
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
Robert O'Callahan
a4cf95c94b
Back out part of fix for bug 538062 to fix accessibility tests
...
--HG--
extra : rebase_source : ffdabcf1caa16e68fa654e4f2830ffd235be91be
2010-05-13 14:52:39 +12:00
Robert O'Callahan
9cf774cd31
Bug 538062. Call SetPrimaryFrame when we create the text frame for the text content in the display node of a combobox, so that the text frame will be notified when the content changes. r=mats,sr=dbaron
2010-05-13 12:56:09 +12:00
Frederic Wang
9460a70cb6
Bug 556767 - (semantics) Improve/Complete implementation of <semantics/>. r=roc
2010-05-12 12:11:59 +02:00
Mounir Lamouri
cbf74508a5
Bug 557620 - Implement <input type="tel">. r=smaug,dolske,dao sr=sicking
2010-05-12 09:17:07 +02:00
Timothy Nikkel
a9893292b9
back out e40cbab6a972 (Bug 564705) 590da60fd253 (Bug 507628 and bug 507991) b166415b8c3f (Bug 564368) 0dac5d3eeb97 (Bug 564063) 116e56d84770 (Bug 563407) c51c93f5240f (Bug 536495) for some orange
2010-05-11 22:01:08 -05:00
Timothy Nikkel
655cba034e
Bug 564063. If we encounter an area with a bogus primary frame we need to relax the asserts on remaining ancestors. r=bzbarsky
2010-05-11 19:30:42 -05:00