bryner%brianryner.com
ae9e02402a
deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@161637 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 03:08:51 +00:00
jst%mozilla.jstenback.com
57e55d8a58
Fixing bug 248065. Make sure errors in nested scripts don't disrupt the containing script. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@161580 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 16:50:12 +00:00
aaronleventhal%moonset.net
ef3f8b9010
Bug 254966. Make css scrollable elements tab navigable. r=mats, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161578 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 14:58:34 +00:00
roc+%cs.cmu.edu
c66af173cf
Bug 257430. nsImageFrame and nsTableRowFrame need to always include their frame bounds in their overflow area. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@161574 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 13:33:17 +00:00
bryner%brianryner.com
ffa6c10070
Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc).
...
git-svn-id: svn://10.0.0.236/trunk@161569 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 05:16:00 +00:00
bmlk%gmx.de
deb5280c1e
bring condition and action in better sync when oversized nested pct based table frames are reduced in size bug 254344 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@161544 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-31 18:57:06 +00:00
bmlk%gmx.de
4ea73ea2f9
frames with a percentage based width should report a 0 MEW bug 246999 r/sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161543 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-31 18:50:40 +00:00
neil%parkwaycc.co.uk
5dd3c0b442
Bug 257276 ConstructDocElementFrame and ConstructFrameInternal need to update their display style cache after reresolving style for XBL r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@161448 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-29 09:49:31 +00:00
bryner%brianryner.com
43628f9edf
More nsIPresShell deCOMtamination:
...
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.
Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161442 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-29 03:08:44 +00:00
bryner%brianryner.com
21406015bf
Extend invalidated region by one source row in each direction so that we fully cover the rows in a scaled image which may be drawn using a given source row. This fixes the "white lines" problem with scaled images (bug 222901). r=pavlov, sr=tor.
...
git-svn-id: svn://10.0.0.236/trunk@161441 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-28 23:59:15 +00:00
dbaron%dbaron.org
dcf4bae71a
Back out the rest of bug 72747 due to Tp regression.
...
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
565357f6d2
Backout the CSS parts of bug 72747 to see if that fixes the Tp regression.
...
git-svn-id: svn://10.0.0.236/trunk@161357 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 22:35:38 +00:00
dbaron%dbaron.org
ed6372cf2f
Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
roc+%cs.cmu.edu
1d2e448f04
Relanding fix for bug 253977, now that state bits prevent GetOverflowLines from being expensive. Fix a few columns-hurting block bugs. 1) Always drain overflow lines on any kind of block reflow. 2) Set NS_FRAME_REFLOW_NEXTINFLOW in the reflow status whenever reflow of the block's next-in-flow is required. 3) Search overflow lines when we're looking for frame continuations to delete. 4) Show overflow area in nsContainerFrame frame dump. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@161313 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 12:38:50 +00:00
dbaron%dbaron.org
192766aabb
Clean up excessive copy-and-paste of scrollframe building code in ConstructXULFrame. b=256910 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161309 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 08:34:40 +00:00
roc+%cs.cmu.edu
bc82fb52fd
Bug 256937. Use state bits to avoid expensive property lookups in GetOverflowLines/OutOfFlows/Placeholders. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@161296 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 03:07:05 +00:00
roc+%cs.cmu.edu
d82b9d3db0
Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot
...
git-svn-id: svn://10.0.0.236/trunk@161292 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 00:07:56 +00:00
dbaron%dbaron.org
d0c382cf35
Convert tabs to spaces.
...
git-svn-id: svn://10.0.0.236/trunk@161276 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 22:06:32 +00:00
bryner%brianryner.com
b007112af6
This change didn't seem to help, backing out.
...
git-svn-id: svn://10.0.0.236/trunk@161262 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 18:19:01 +00:00
bryner%brianryner.com
99dd378a38
Testing whether inlining the Get/SetProperty calls in Get/SetView helps the Tp regression from bug 253888.
...
git-svn-id: svn://10.0.0.236/trunk@161246 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 16:29:47 +00:00
roc+%cs.cmu.edu
137e8af6e1
Bug 252920. Compute the block overflow area using nsRects instead of some hokey homegrown calculations. Don't advancy mY for empty lines. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@161228 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 13:10:06 +00:00
roc+%cs.cmu.edu
1a4e182410
Bug 252771. Recompute an inline frame's overflow area nearly from scratch in RelativePositionFrames, so we don't try to maintain it (and fail) during inline frame alignment. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@161227 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 13:03:28 +00:00
bryner%brianryner.com
90336f3706
slight optimization to previous checkin, bug 253888
...
git-svn-id: svn://10.0.0.236/trunk@161189 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-24 21:47:04 +00:00
bryner%brianryner.com
ff2bc0b69e
Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@161182 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-24 18:50:29 +00:00
tor%cs.brown.edu
da01ea4deb
Bug 216563 - implement <svg:switch>.
...
Patch by scootermorris@comcast.net , r=afri, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@161152 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-23 21:10:39 +00:00
kjh-5727%comcast.net
58834a6e89
Bug 256436 - Backing out the patch from bug 255584 due to a regression.
...
Requested by roc.
git-svn-id: svn://10.0.0.236/trunk@161119 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 20:24:16 +00:00
bryner%brianryner.com
2ac3245dec
Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction)
...
git-svn-id: svn://10.0.0.236/trunk@161116 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 07:10:50 +00:00
bryner%brianryner.com
0501b2872a
Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@161115 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 04:58:44 +00:00
roc+%cs.cmu.edu
d7e985e5cb
Bug 253977 backout because of possible Tp regression on btek.
...
git-svn-id: svn://10.0.0.236/trunk@161114 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 03:50:59 +00:00
roc+%cs.cmu.edu
34b5eca02a
Bug 253977. Fix a few columns-hurting block bugs. 1) Always drain overflow lines on any kind of block reflow. 2) Set NS_FRAME_REFLOW_NEXTINFLOW in the reflow status whenever reflow of the block's next-in-flow is required. 3) Search overflow lines when we're looking for frame continuations to delete. 4) Show overflow area in nsContainerFrame frame dump. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@161113 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 03:00:46 +00:00
bryner%brianryner.com
03c6a8279c
Backing out bug 253888 until I can figure out how to fix the crash
...
git-svn-id: svn://10.0.0.236/trunk@161097 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 06:27:54 +00:00
bryner%brianryner.com
e49f4fa38e
Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@161096 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 05:09:50 +00:00
roc+%cs.cmu.edu
75839c9942
Bug 255584. Don't include areas above and to the left of the origin when we're trying to figure out the scrollable width and height --- we can't scroll to them! r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@161095 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 03:04:26 +00:00
bryner%brianryner.com
2dbfb983b1
Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +00:00
bmlk%gmx.de
c0ab9f8399
formcontrol testcases that exhibit various maxElementWidth scenarios, not part of any build
...
git-svn-id: svn://10.0.0.236/trunk@161002 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-19 15:32:40 +00:00
blizzard%redhat.com
84b6f8a55f
Bug #255405 . BinarySearchForPosition can generate invalid unicode for text measurement. Make sure to not send half of a surrogate pair down to the font layer. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161001 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-19 15:31:30 +00:00
jst%mozilla.jstenback.com
daf8d7f24a
Fixing bug 198254. Fix crash when closing javascript created window. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@160932 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-18 22:13:10 +00:00
vladimir%pobox.com
8c5c405bac
Initial landing of cairo-related stuff, nothing built by default, all code is in ifdefs. r=bryner,a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@160752 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-14 01:01:16 +00:00
bzbarsky%mit.edu
e481ad27f2
Relanding bug 108817, since it did not cause the Tp problem. r+sr=still roc
...
git-svn-id: svn://10.0.0.236/trunk@160650 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-11 04:49:05 +00:00
bzbarsky%mit.edu
d780829a69
Addendum to bug 253572 patch per dbaron's comment in the bug.
...
git-svn-id: svn://10.0.0.236/trunk@160644 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-11 00:17:54 +00:00
bzbarsky%mit.edu
b9de4e9489
Backing out patch for bug 108817 to test whether it causes the Tp regression.
...
git-svn-id: svn://10.0.0.236/trunk@160638 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 23:37:43 +00:00
bzbarsky%mit.edu
420b97695b
Make sure that GetFrameForPoint checks all layers of each float before moving
...
on to the next one. Bug 253572, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@160632 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 22:24:00 +00:00
bzbarsky%mit.edu
f7785eac83
Remove the timer stuff in nsListControlFrame and replace it with a simple
...
boolean that's set as needed if the options change and checked in DidReflow()
to decide whether to scroll the list. Also eliminate the mPresContext member.
Bug 108817, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@160629 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 22:21:03 +00:00
bzbarsky%mit.edu
2dd2feb161
Trying to fix Tp regression. More of bug 254378, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@160625 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 21:25:48 +00:00
bzbarsky%mit.edu
77bea95a75
Cache the IsEmpty() state in the framestate so we don't have to do quite as
...
much style-getting and QIing. Bug 254378, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@160616 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 19:09:49 +00:00
peterv%propagandism.org
0e7c4437e6
Backout part of the fix for bug 27382 to try to undo Tp regression.
...
git-svn-id: svn://10.0.0.236/trunk@160611 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 16:16:58 +00:00
peterv%propagandism.org
ca3bbc8275
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@160598 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 10:22:36 +00:00
bzbarsky%mit.edu
43f1e88b71
Make sure to not call ProcessRestyledFrames if we have a non-reframe hint and
...
no frame. Followup to bug 230170.
git-svn-id: svn://10.0.0.236/trunk@160588 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 04:44:10 +00:00
bzbarsky%mit.edu
bc3dc7ebe0
Do style reresolves and restyles due to attribute changes asynchronously so
...
that pages that modify two or more style properties of the same object in a row
work faster. Bug 230170, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@160587 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 03:24:41 +00:00
dbaron%dbaron.org
dda1e6cda9
Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@160586 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 01:32:10 +00:00