59 Commits

Author SHA1 Message Date
bryner%netscape.com
01634657fa - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 03:34:29 +00:00
rods%netscape.com
65023cbef8 1) This adds in a new layout atom for the SequenceFrame
2) Now checks all the SeqFrame's children (PageFrames) instead of just the first one
Bug 71609 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@115714 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 12:55:20 +00:00
karnaze%netscape.com
430941b018 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@114937 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:48:28 +00:00
rods%netscape.com
79189d5997 Adding new Frame to clip content area of page for Printing and PrintPreview
Bug 112698 r=dcone sr=waterson


git-svn-id: svn://10.0.0.236/trunk@112828 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 03:32:19 +00:00
dbaron%fas.harvard.edu
8897c8f5b7 Backing out Bernd's checkin for bug 110596 to fix crashes / weird display. b=118991 r=bernd
git-svn-id: svn://10.0.0.236/trunk@111718 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 19:17:46 +00:00
bernd.mielke%snafu.de
aea8efff9b fix torino
git-svn-id: svn://10.0.0.236/trunk@111503 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 21:29:52 +00:00
bernd.mielke%snafu.de
6e45ee8056 add form frames to debug reflow bug 115096 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@111498 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 19:44:21 +00:00
karnaze%netscape.com
d8577654db bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@110006 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 14:51:12 +00:00
karnaze%netscape.com
33ac3614b6 bug 111028 - better height calc for table elements when printing. r=rods, sr=none.
git-svn-id: svn://10.0.0.236/trunk@109221 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 15:41:07 +00:00
karnaze%netscape.com
300e242585 bug 111872 - Keep track of pct height content that overflows a cell on the 3rd pass reflow and Hide it. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@109073 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 00:50:08 +00:00
karnaze%netscape.com
b1771999ca bug 105166 - split images (except for image contro frames), round pixels down for printing. sr=attinasi,kin r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106966 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:31:13 +00:00
gerv%gerv.net
ed9b258739 License changes, take 2. Bug 98089. mozilla/content/.
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +00:00
hyatt%netscape.com
c49a03b7be Fix for 71106. r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@100428 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 21:49:35 +00:00
jgaunt%netscape.com
ec95db79a7 bug 88509 - moving of a GetFrameType and layoutAtom from ifdef bidi land.
r=dbaron sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@99018 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-10 23:57:28 +00:00
jgaunt%netscape.com
99f7be2721 bug #86517 Landing of Accessible_052901_Branch4 sr=waterson
r= lots, see bug


git-svn-id: svn://10.0.0.236/trunk@98337 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 00:25:09 +00:00
anthonyd%netscape.com
62758f3dab rechecking in bug fix for 59005
r=rods
sr=kin


git-svn-id: svn://10.0.0.236/trunk@94563 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 02:32:31 +00:00
mkaply%us.ibm.com
c2d7008718 #36665
r=saari, sr=hyatt
Enablement of a DOM event for displaying a context menu


git-svn-id: svn://10.0.0.236/trunk@90186 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:22:56 +00:00
mkaply%us.ibm.com
0cf6cb2c84 #70961
author=simon@softel.co.il; r=waterson; sr=erik
New layout atoms for bidi - not part of build yet due to #ifdef IBMBIDI


git-svn-id: svn://10.0.0.236/trunk@89075 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 04:15:34 +00:00
hyatt%netscape.com
132d0db472 Patch for 55595. r=joki, a=brendan
git-svn-id: svn://10.0.0.236/trunk@82895 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 07:55:20 +00:00
erik%netscape.com
47844e796a bug 4238; r/a=ftang,buster,waterson; added language specific transform type
getter to nsIPresContext so that we can do things like U+005C -> U+00A5
(backslash -> yen sign)


git-svn-id: svn://10.0.0.236/trunk@79660 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 22:59:20 +00:00
vidur%netscape.com
728650873a Added _moz_dirty. r=jst
git-svn-id: svn://10.0.0.236/trunk@78661 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 07:04:07 +00:00
waterson%netscape.com
343c89fa5b Bug 43644. Add 'wildcard' atom to nsLayoutAtoms and use it instead of a statically leaked atom. r=jst,inaky.gonzales@intel.com
git-svn-id: svn://10.0.0.236/trunk@73382 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 04:17:26 +00:00
evaughan%netscape.com
3d5cc870c3 Clean up for autoscrolling menu landing. ScrollBox events need their own type and should not be
on top of menu events.

-r hyatt


git-svn-id: svn://10.0.0.236/trunk@73358 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 00:00:18 +00:00
evaughan%netscape.com
a87e4943ba Autoscrolling menus feature landing #32730
-r hyatt, saari


git-svn-id: svn://10.0.0.236/trunk@73042 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 05:15:04 +00:00
mjudge%netscape.com
f56d7d84a8 new atop to tell what type the text frame is. for blocker to 34896
git-svn-id: svn://10.0.0.236/trunk@71879 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 05:15:58 +00:00
joki%netscape.com
32e51cfc6e More support for onresize and onscroll, bug 960
git-svn-id: svn://10.0.0.236/trunk@70364 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:53:58 +00:00
joki%netscape.com
7fe66ffb76 fix for resize event support, bug 960, and additional support for DOM 2 events.
git-svn-id: svn://10.0.0.236/trunk@70314 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:27:22 +00:00
troy%netscape.com
079299546c Added "canvasFrame" frame type atom
git-svn-id: svn://10.0.0.236/trunk@66350 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:05:15 +00:00
buster%netscape.com
bf63049426 bug 29595 (and others)
fixes layout of pages where a single line is impacted by 2 or more floaters
r=troy


git-svn-id: svn://10.0.0.236/trunk@63783 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:19:10 +00:00
dbaron%fas.harvard.edu
f1cd9a202b Fix bug 15428 as suggested by VYV03354@nifty.ne.jp . Stop using 0 as the initial values for min and max of inline box contents so that lines that do not (vertically) contain their own baseline are sized correctly. Also, correctly size BR frames using their line-height (for strict-mode only).
Fix bugs 24186, 26996, and 26998 by reworking the quirks-mode line-height handling so that inline elements that do not have text as children (or meet a few other conditions that show the author wants real CSS support) will not increase the size of the line, but will be as close to their correct size as possible without enlarging the line.  This fix includes emulation of the strange Nav4/IE quirk that a block's line-height is enforced on the first line of LI elements and the last line of LI, DD, and DT elements.  Many of the changes are removing an earlier fix for 24186.

r=buster


git-svn-id: svn://10.0.0.236/trunk@60795 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 04:26:44 +00:00
evaughan%netscape.com
a268db39c4 1) implememted box reflow coelescing.
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543

-r hyatt, troy, rod


git-svn-id: svn://10.0.0.236/trunk@60253 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 22:02:40 +00:00
karnaze%netscape.com
e8ff8bb21f bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.


git-svn-id: svn://10.0.0.236/trunk@58996 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 02:19:45 +00:00
troy%netscape.com
60471abd92 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.


git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
alecf%netscape.com
aaa9106176 fix for #21417
r=troy, a=chofmann
the editor's internal mDisplayFrame was not being removed from the frame manager's map of content->frames, so after enough scrolling in the addressing pane, reflow would try to reference a deleted frame. Fix is to remove the frame from the frame manager every time it's destroyed.


git-svn-id: svn://10.0.0.236/trunk@56134 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 03:28:50 +00:00
rods%netscape.com
c5c2e469e6 Should have left off the ":"
r=self


git-svn-id: svn://10.0.0.236/trunk@55463 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 23:05:52 +00:00
rods%netscape.com
34b37eb441 adding :-moz-option-selected
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@55458 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 22:57:24 +00:00
troy%netscape.com
52084caad8 Change to how overflow is handled for absolutely positioned elements.
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics


git-svn-id: svn://10.0.0.236/trunk@55424 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 15:49:53 +00:00
danm%netscape.com
9bfb5a41b9 adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54950 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:35:33 +00:00
vidur%netscape.com
29607952c0 Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki
git-svn-id: svn://10.0.0.236/trunk@54457 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:05:21 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
kipp%netscape.com
f734a9cc39 r=troy; Added a new frame property atom
git-svn-id: svn://10.0.0.236/trunk@52610 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:42:13 +00:00
kipp%netscape.com
e5672a7cbf Added another frame property
git-svn-id: svn://10.0.0.236/trunk@52383 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 15:22:25 +00:00
troy%netscape.com
fd1d6fc2a3 Changed view to be stored as a frame property instead of a member data
of nsFrame


git-svn-id: svn://10.0.0.236/trunk@51940 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 03:56:14 +00:00
troy%netscape.com
54572af2e6 r=karnaze@netscape.com
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.


git-svn-id: svn://10.0.0.236/trunk@51485 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 02:06:22 +00:00
kipp%netscape.com
90d4423420 r=troy; Added a property for max-element-size storage for fixing bug 13196
git-svn-id: svn://10.0.0.236/trunk@51387 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 20:23:05 +00:00
troy%netscape.com
dced08401d r=kipp@netscape.com
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames


git-svn-id: svn://10.0.0.236/trunk@51358 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 05:11:43 +00:00
kipp%netscape.com
3f737c9dc4 r=troy; Added some more atoms so that Dframe sizing data is more particular for line boxes
git-svn-id: svn://10.0.0.236/trunk@50701 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:08:31 +00:00
kipp%netscape.com
2c17cc458b Added two new atoms to help meter large vs. small line boxes
git-svn-id: svn://10.0.0.236/trunk@50503 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:22:34 +00:00
troy%netscape.com
093e5bfd97 Change to SizeOf() code (diagnostic code only). Changed table frame
code to split the column cache size out into a separate listing


git-svn-id: svn://10.0.0.236/trunk@50206 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 05:12:55 +00:00
kipp%netscape.com
b17c92e839 Added some atoms to support SizeOf metrics
git-svn-id: svn://10.0.0.236/trunk@50064 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 00:31:41 +00:00