130 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
94075d45c2 Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@117795 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 16:59:00 +00:00
jkeiser%netscape.com
f217d9c22f Move save/restore form control state to content (bug 108309). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@117791 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 10:14:01 +00:00
jkeiser%netscape.com
317b99e5a5 Backing out 108308 due to pageload spike
git-svn-id: svn://10.0.0.236/trunk@117722 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 07:35:09 +00:00
jkeiser%netscape.com
55481f5be5 Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org)
git-svn-id: svn://10.0.0.236/trunk@117716 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 05:35:47 +00:00
dbaron%fas.harvard.edu
d9c3f3d651 Remove "layout.forms.use_standard_or_quirks" pref and the old quirks-mode form control code that it enabled. (See bug 91602.) b=131452 r=rods sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@117613 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 06:13:32 +00:00
waterson%netscape.com
b6978c3e09 Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@110644 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:39:59 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
karnaze%netscape.com
65fe290a5b bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
git-svn-id: svn://10.0.0.236/trunk@108053 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
dbaron%fas.harvard.edu
732f1cd8e9 Ensure that text inputs, checkboxes and radios paint over inline element backgrounds that are behind them. Fix a few build warnings. b=107244 r=rods sr=waterson
git-svn-id: svn://10.0.0.236/trunk@107230 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 06:23:19 +00:00
jst%netscape.com
81bf1f1956 Checking in John Keiser's <jkeiser@iname.com> fix for *tons* of form submission and <select> related bugs, see tracking bug 34297 for details. r=rods@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107083 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 07:40:01 +00:00
dbaron%fas.harvard.edu
9b135c4afe Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106640 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 06:02:05 +00:00
karnaze%netscape.com
4ff0e5cecb bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106524 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 01:43:59 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
alecf%netscape.com
3adcd56b31 bug 101562 - dont' use necko to unnecessarily create URIs just to load a string bundle. r=harishd, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103775 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:36:45 +00:00
rods%netscape.com
e9dffa5ce4 Uses Quirks sizing all the time and now obeys border and padding instead of clamping down to Nav 4.x sizing
Bug 96630 r=dcone sr=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@101832 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 12:19:11 +00:00
hyatt%netscape.com
4f51638ef4 Fix for 95475. r=jag, sr=ben, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +00:00
rods%netscape.com
48fbd4f113 Disabling Quirks sizing for form controls, it can be put back in via a pref
and uncommenting a line in quirk.css
Bug 91602 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@101502 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 14:01:55 +00:00
bryner%netscape.com
7da361b479 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@101283 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 08:14:14 +00:00
jgaunt%netscape.com
92c01c45b6 fix for bug 94768
r=smfr,leaf
sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@101271 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 03:13:07 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +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
pollmann%netscape.com
161f586d22 Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org)
git-svn-id: svn://10.0.0.236/trunk@96057 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 11:26:21 +00:00
evaughan%netscape.com
a4d0ce6ac8 Fix for bug #80902
-r jeff@tcbnetworks.com -sr waterson

Fix for bug #80505

-r aaronl, jgaunt -sr brendan


git-svn-id: svn://10.0.0.236/trunk@95337 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 23:52:32 +00:00
evaughan%netscape.com
eab27303ef Landing accessibility
-r aarol, jgaunt

-sr brendan


git-svn-id: svn://10.0.0.236/trunk@94685 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:11:38 +00:00
evaughan%netscape.com
b28fc76be2 Accessibility work. bug #12952
-r aaronl -sr brendan


git-svn-id: svn://10.0.0.236/trunk@92582 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 23:06:38 +00:00
evaughan%netscape.com
94e72ae454 XP part of accessibility landing
-r vidur, rods -sr hyatt


git-svn-id: svn://10.0.0.236/trunk@90971 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 01:01:33 +00:00
pollmann%netscape.com
cee3a18d0a Bug 55988: Hidden and button inputs save state when the content attribute named 'value' changes, r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89633 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:36:01 +00:00
heikki%netscape.com
26d94ba9b0 Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87383 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 21:50:04 +00:00
pollmann%netscape.com
0ac44b8f3d Bug 55988 + 64415: Hidden inputs and buttons save state in session history, r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86275 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 01:31:18 +00:00
rods%netscape.com
b23e7af50b This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 14:09:34 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
dbaron%fas.harvard.edu
b4de65c19e Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
rods%netscape.com
f5e6a46f6c 53259 - min-width and max-width not supported on form control
r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@83899 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:09:55 +00:00
waterson%netscape.com
1e7a248bab Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@80717 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 03:08:41 +00:00
rods%netscape.com
e4d9892690 GfxBtn now implements method CreateFrameFor so it can create the text node
with the proper style context parentage.
b=49740 =kmcclusk,attinasi


git-svn-id: svn://10.0.0.236/trunk@76959 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 10:38:42 +00:00
dbaron%fas.harvard.edu
3b9c9e465a Fix leak on hovering over a scrollbar and re-fix similar leak for text inputs (bug 42895) by adding a "general" method for unrooting anonymous content created through nsIAnonymousContentCreator, plus a hack to deal with the scrollbars on the root element. Some of the other SetDocumentForAnonymousContent methods *may* need to be implemented. Chris Waterson helped significantly with this patch. r=waterson,hyatt b=45676 (nsbeta3+)
git-svn-id: svn://10.0.0.236/trunk@75882 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 12:51:05 +00:00
sfraser%netscape.com
607439019b More bustage fixing with style struct return types.
git-svn-id: svn://10.0.0.236/trunk@75838 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 00:52:02 +00:00
sfraser%netscape.com
7726da891c Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge.
git-svn-id: svn://10.0.0.236/trunk@75830 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:38:00 +00:00
pollmann%netscape.com
7db58c7c36 Bug 42662: Values of disabled form elements should not be submitted; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75557 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:32:02 +00:00
pollmann%netscape.com
85ceb4d8bc Bug 41037: Fix my regression that was causing forms to submit twice! r=nisheeth (thanks pinkerton, nisheeth, and leger for the quick turnaround!)
git-svn-id: svn://10.0.0.236/trunk@71133 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 02:24:48 +00:00
rods%netscape.com
e0fe88ca49 Moved the localization methods to the helper class
the file control is now localizable (*.*, "All Files")
b=32666, r=pollmann


git-svn-id: svn://10.0.0.236/trunk@70981 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 02:27:47 +00:00
mjudge%netscape.com
b923a0809c left in bad reference
git-svn-id: svn://10.0.0.236/trunk@70039 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 13:02:36 +00:00
joki%netscape.com
8aabc79a05 fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.


git-svn-id: svn://10.0.0.236/trunk@66958 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 04:41:27 +00:00
rods%netscape.com
a54cc52332 Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66762 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:51:35 +00:00
danm%netscape.com
fda3acfcbd dist...chrome restructuring
git-svn-id: svn://10.0.0.236/trunk@66464 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:42:30 +00:00
scc%netscape.com
7741d6c076 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66139 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:19:26 +00:00
scc%netscape.com
d88198c611 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64167 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 10:06:21 +00:00
rods%netscape.com
3c4ce75563 now passing back maxElementSize correctly
b=30015


git-svn-id: svn://10.0.0.236/trunk@62933 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 14:25:05 +00:00
rods%netscape.com
7e5fa53319 Fixed Combobox and ListBox frame to be more effecient in processing reflows
added Block and text frame for displaying the selected option for the combobox
Fixes Bugs 30463, 28835, 29544
r=buster,kmcclusk a=jar


git-svn-id: svn://10.0.0.236/trunk@62306 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 15:54:31 +00:00