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
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
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
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
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
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
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
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
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
mats.palmgren%bredband.net
9b18d5648a
Added more log messages for incorrect "coords" attribute values. b=233353 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@160492 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-08 14:05:35 +00:00
mats.palmgren%bredband.net
c3b56c8527
Fix keyboard scrolling for elements using overflow:scroll by scrolling the nearest scrollable view from the caret. b=251986 r=roc sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@160447 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-06 15:55:17 +00:00
neil%parkwaycc.co.uk
0bbab9b402
Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@160395 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 11:38:42 +00:00
bzbarsky%mit.edu
f35c55bd73
Check for updated bullet image in DidSetStyleContext, not reflow. Bug 180142,
...
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@160373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 21:18:20 +00:00
dbaron%dbaron.org
f5d5060a41
Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@160331 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 03:23:37 +00:00
bryner%brianryner.com
736c955c54
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
865734bf2f
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
d1c1168c09
Back out 236889 due to 253755.
...
git-svn-id: svn://10.0.0.236/trunk@160168 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 07:42:12 +00:00
bzbarsky%mit.edu
5af834c5fe
This wasn't supposed to go in...
...
git-svn-id: svn://10.0.0.236/trunk@160121 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-30 06:21:04 +00:00
bzbarsky%mit.edu
8ea9ce4fb8
Remove some knowledge about drag-drop innards from nsFrame.cpp by refactoring
...
shared code into utility methods in nsContentUtils. Use the new methods to fix up
nsContentAreaDragAndDrop to make it possible to drag image <objects> and image
inputs. Bug 251775 and bug 244859, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@160120 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-30 06:04:57 +00:00
dbaron%dbaron.org
8c1a22db88
Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@160070 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 20:07:25 +00:00
bryner%brianryner.com
b17b3249f7
Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
aaronleventhal%moonset.net
19176053ba
Bug 252984. Remove focus and tab navigation code that's no longer necessary which is actually breaking some form controls. r=bryner, sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@160060 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 18:06:55 +00:00
dbaron%dbaron.org
59572fab24
Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@159965 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 07:08:41 +00:00
dbaron%dbaron.org
4fe0d9c583
Reframe all image box frames on theme change, as a workaround for chrome: URL comparison mess. b=252703 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@159936 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-27 23:31:08 +00:00
roc+%cs.cmu.edu
33f365524b
Bug 253195. Fix a really nasty data corruption bug in nsBlockFrame::DoRemoveFrame, that only shows up when you need to delete inline continuations that are in a continuation of the current block --- probably doesn't happen today, but will happen with columns and page-layout editing. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@159919 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-27 18:22:14 +00:00
roc+%cs.cmu.edu
3687f1ad35
Bug 217120. Make the scroll position restoration logic in nsPresShell actually use the right scroll and scrollbox frames. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@159918 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-27 18:16:10 +00:00
bzbarsky%mit.edu
50d5ce0bc2
Switch context back to being nsISupports, but make it clear that it's expected
...
to be an nsIDOMNode or nsIDOMWindow. Bug 252027, r=mvl, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@159916 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-27 17:15:53 +00:00
cbiesinger%web.de
b27e0031f5
Bug 252948 remove *WithConversion in layout
...
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@159832 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-25 12:18:04 +00:00
aaronleventhal%moonset.net
7461104ae0
Bug 250006. Clean up GetNextTabbableContent(). Remove tabbable property from DOM interfaces. Clean up spurious focus outline effects. r=bryner, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@159798 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-24 21:12:43 +00:00
roc+%cs.cmu.edu
56a1f1002d
Bug 217120. Always make an attempt to scroll to history position after restoring scroll position in EndLoad, just in case no reflows happen again. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@159746 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-23 21:39:47 +00:00