Граф коммитов

1188 Коммитов

Автор SHA1 Сообщение Дата
hyatt%netscape.com b97a5ea3cf Fix for 56353. r=buster, r=waterson, a=brendan. Also reverting a style
change to a prop list for moz-binding to the state it was on the branch (just to
be compatible).
2000-10-18 08:03:24 +00:00
mstoltz%netscape.com f1137e89ec Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc 2000-10-13 22:59:47 +00:00
blakeross%telocity.com 5367802c2b Fix 55832: css "width: 100%" rendering incorrectly for button elements. patch by djoham@criadvantage.com. r=ianh a=ben, rtm++ 2000-10-11 23:50:37 +00:00
attinasi%netscape.com f959a038e4 Implemented the backend for the following prefs: Override Document colors, Override document fonts, Link and Visited link colors, and Underline links. Provided the ability to disable the preferences as well, so Composer can show changed fonts and colors. These changes are stewing on the trunk for a day or so before making their debut on the branch. b=40340, r=karnaze,pierre a=buster 2000-10-11 08:33:01 +00:00
pierre%netscape.com c9409e6184 bug 47846: Crash opening mail message. r=attinasi+brendan, a=phil 2000-10-09 08:51:50 +00:00
attinasi%netscape.com e3dac79853 Fixed CSS cursor inheritance bug. b=51113, r=pierre@netscape.com, a=buster@netscape.com 2000-10-04 22:25:15 +00:00
rods%netscape.com 965ad980fb Focus rect is now drawn and erased directly via C++ code. Focus comes from "SetFocus" being set
on the content node which calls the frame. The frame is notified of Blur via thecontent node
watching for NS_CONTENT_BLUR events.
The rule we are removing from html.css is responsible for drawing in the focus,
but it causes the combobox, the dropdown and all the options to have their style reresolved.
Bug 32920, r=attinasi, b=buster
2000-10-04 13:39:07 +00:00
rods%netscape.com 2732c621e8 subtract off 2 point sizes for fonts for List and Button on Windows and make sure
it is zero or greater
Bug 53744, r=attinasi, sr=buster
2000-10-04 02:17:44 +00:00
bryner%uiuc.edu 320b10e024 Fix for bug 53723 (gray form control on Linux). r=pierre, ianh,
pavlov.  sr/a=ben.
2000-10-04 00:38:03 +00:00
hyatt%netscape.com bc40a1821f Fix for 53417. r=brendan, a=brendan 2000-09-27 20:23:49 +00:00
mozilla.BenB%bucksch.org df4e806ceb 51285: Move |EnsureBlockDisplay| to make it less agressive. Patch by attinasi, r=buster 2000-09-23 17:59:20 +00:00
rods%netscape.com 336e477482 The font size for selects and buttons needs to reduce the font size by 2 points
from the default font size set in prefs
b=53744 a=buster
2000-09-23 00:30:04 +00:00
attinasi%netscape.com 114655d1b7 Added viewsource.css: style rules for viewsource window, extracted from html.css. Not Part Of Build, Not currently used. a=ianh@netscape.com 2000-09-22 00:53:20 +00:00
pierre%netscape.com 3cfd5c30d9 fix related to the reconstruction of html.css (#6625) and to css system fonts (#1021): in quirks mode and on each platform, use the same fonts as Nav4 for edit fields, lists and buttons. r=rods a=buster 2000-09-21 10:21:23 +00:00
pierre%netscape.com 3b93ffe848 bug 6625 et al: reconstruction of html.css, ua.css and quirks.css. Checked in for Ian Hickson (ianh@netscape.com). r=pierre a=buster 2000-09-21 10:20:23 +00:00
jst%netscape.com 1a5288822d Fixing nsbeta3+ bug 52572. Renaming CSSValue::valueType to CSSValue::cssValueType to be up-to-date with the latest changes to the DOM Level 2 spec. r/a=vidur, r=pollmann 2000-09-19 05:37:23 +00:00
rayw%netscape.com 3cd14f5878 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren
2000-09-14 23:20:49 +00:00
dbaron%fas.harvard.edu 19bd466446 Change the names of behavior and opacity DOM properties to MozBinding and MozOpacity, and make them work again with new CSS property names. r=jst, except for case change (Moz not moz) agreed on mozilla-style b=3935 2000-09-14 14:18:24 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
kandrot%netscape.com 861c2cc6cb Fix for bug #51944. This change removes the stored selector text, and adds a method to the selector to generate the text, if needed.
r=vidur
2000-09-13 00:05:04 +00:00
pierre%netscape.com e275549edd 50804: nicer look for focus outlines. Fix sent by henris@clinet.fi, r=pierre. 2000-09-12 09:54:31 +00:00
buster%netscape.com 11241fb485 bug 14280
nsTextTransformer.cpp.
  I moved where we translate the nbsp to a (ascii 32 space character) until after the i18n routines are called, so they can properly account
  for the space as non-breaking and therefore part of the first word in the block.

bug  39901 and 38396
  nsHTMLImageLoader.*, nsImageFrame.cpp
  I backed out the bad fix for 38396, and put in a new fix where I store a little state in the image loader flags for cases where the image
  gets an unconstrained reflow and has %-based width.  This does not handle %-based min-width or max-width, that would be a separate
  bug that I'll file shortly.  But this fixes the vast majority of real cases out there.

bug  18754
  nsHRFrame.cpp, quirks.css, nsCSSFrameConstructor.cpp, last part of nsLineLayout.cpp
  in quirks mode, I changed HR from a block element to a replaced inline element that acts like a block, using generated content to get
  newlines before and after the HR.  This isn't ideal, but it gets us backwards compatibility, and ian and dbaron have blessed the approach.

bug  50257
  nsLineLayout.cpp
  Did a couple of things in here:
       * The actual fix is controlled by FIX_BUG_50257 #define symbol.  This basically says that an break (BR) will always fit on a line.
         A more general solution would probably be to round up to the nearest pixel, and if the thing is less than a pixel make it fit on a
         line.  This is a wimpier, safer solution.
       * I noticed that the way we got the compatibility mode was way out of date, very wasteful.  So I fixed that.
       * I noticed that there were a bunch of redundant SetFlag calls.  Since the flag variable is initialized to 0, setting a flag to 0 on a newly
         created object is a waste.

  nsBlockFrame.cpp  --  just added a comment to some odd looking code, to make sure no one comes along later and breaks it
2000-09-11 21:15:02 +00:00
rods%netscape.com fd9585e532 adding rules for show text in a disabled state in the button element
b=41252 r=attinasi
2000-09-09 22:21:15 +00:00
valeski%netscape.com a0ab5edcee 50188. ifdef debug'ing stderr output so we don't spew it in release builds. 2000-09-08 22:43:58 +00:00
dbaron%fas.harvard.edu c2cbfd2d6d Clean up reporting of CSS parser errors: Use |nsAReadableString|s and an additional macro to allow all the error reporting to be done by macros. Also clean up a few comments. Not part of the default build (you must define CSS_REPORT_PARSE_ERRORS).
Make namespace prefixes case insensitive within CSS by normalizing to lower-case.  b=35813

r=attinasi
2000-09-08 02:05:09 +00:00
rods%netscape.com b63d9a4a60 changed fonts to use CSS3 fonts so they can be overridden
Bug 44656 r=kmcclusk
2000-09-06 14:18:02 +00:00
rods%netscape.com d21753a7fc For NavQuirks we need to set the appropriate font for buttons/selects or for text and textarea
If these fonts are set in the html.css or quirk.css they cannot be overriden
We now use the CSS3 font names and for NavQuirks we adjust the fonts to match Nav 4.x
The change is to give field fonts monospace instead of sans-serif
Bug 44656 r=dcone
2000-09-06 14:02:44 +00:00
dbaron%fas.harvard.edu e0e16fb826 Fix misleading indentation. r=attinasi 2000-09-06 02:34:35 +00:00
dbaron%fas.harvard.edu c9392da530 Add code to allow the CSS parser to report errors. This code is not enabled by default in any builds, but it could be useful for chrome authors to catch CSS errors. We may want to turn it on in debug builds at some point, but it needs some work first. r=attinasi 2000-09-06 02:27:46 +00:00
dbaron%fas.harvard.edu cfceba7dca Change uses of CSS properties not part of the CSS2 spec to use -moz- prefix. b=3935
Fix some CSS errors found with CSS parser error reporting, with Ben's approval.
2000-09-06 02:17:26 +00:00
dbaron%fas.harvard.edu 8c105459ae Change the names of CSS properties that are not part of the CSS2 specification by adding a -moz- prefix. Change the names of those that are used internally to use -x-, just for documentation. b=3935 r=attinasi 2000-09-06 02:15:18 +00:00
dbaron%fas.harvard.edu c3bbbaf9c8 Fix build warning by renaming variable. r=disttsc@bart.nl 2000-09-05 02:08:41 +00:00
BlakeR1234%aol.com deb4283b37 Really fix nsbeta3+ 38506 (same reviewer as before) 2000-08-29 23:29:24 +00:00
BlakeR1234%aol.com 6d8155ed3d The rest of the fix for bug 38506, same r=/a= (nsbeta3+) 2000-08-28 22:38:25 +00:00
BlakeR1234%aol.com 7a4202df09 Fix bug 38506, the user shouldn't be able to select the text of buttons. r=mjudge, a=nsbeta3+/PDT must fix 2000-08-26 01:45:46 +00:00
rods%netscape.com 239bac387a changed mozoutline to -moz-outline
b=48973 r=ianh
2000-08-25 14:28:22 +00:00
rods%netscape.com 6029b91d97 changed outline to be mozoutline temporarily
b=48973 r=attinasi
2000-08-24 13:51:48 +00:00
rods%netscape.com 7f0dcda2ea Temporarily changed outline to be mozoutline, this will enable us to get links
to show a focus rect. When we get outlines really working, then mozoutline will go away.
b=48973 r=attinasi
2000-08-24 13:45:48 +00:00
jst%netscape.com 9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
rods%netscape.com 2838a98adc In NavQuirks mode it makes the default font for CSS3 fonts: button, field, caption sans-serif
b=33312 r=kmcclusk
2000-08-23 10:28:28 +00:00
jband%netscape.com 5b1229a9a8 Use hastable based nsStaticNameTable rather than slower and fatter AVLTree for static names. fix bug 48855. r=harishd,attinasi 2000-08-22 06:57:32 +00:00
warren%netscape.com a94aa1aa52 Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil. 2000-08-20 21:29:10 +00:00
scc%mozilla.org eb0aaea827 fixing code that relied on implicit string construction 2000-08-19 22:23:46 +00:00
pierre%netscape.com a4a9237d47 43420 + CSS3 update: renamed "text-align:-moz-default" into "text-align:start" 2000-08-17 13:28:18 +00:00
dbaron%fas.harvard.edu 74fd1f046f Reduce the risk of parser leaks by releasing the parsers owned by CSSLoaders when no longer needed. r=attinasi 2000-08-16 23:04:42 +00:00
rods%netscape.com 97e073283f added textarea with -moz-fixed so it has the proper default font in quirks mode
b=44656 r=kmcclusk
2000-08-14 14:10:21 +00:00
mkaply%us.ibm.com 5004137c2d OS/2 and AIX Tinderbox break
I have no idea why we don't like having two semicolons in a row, but who the heck would put them there?
2000-08-12 20:26:33 +00:00
hyatt%netscape.com 8da2baf3ca Fix for 21890 and numerous other bugs. r=pierre, waterson, jst, attinasi, brendan 2000-08-12 06:28:02 +00:00
pierre%netscape.com 5b88097f54 48096: Need a -moz-all value for user-select. r=sfraser. 2000-08-12 01:00:14 +00:00
dbaron%fas.harvard.edu 370ac10052 Fix huge leak warren introduced last night. Changing the hash keys to have owning pointers caused circular ownership. r=waterson b=48373 (nsbeta3+) 2000-08-10 20:08:30 +00:00
warren%netscape.com 84b5fd67e3 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
saari%netscape.com 4c09a29ac5 massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-08 21:31:05 +00:00
pierre%netscape.com 8c26256cb6 47138: Some invalid units are not resulting in dropped declarations. 15174: counter() and counters() should not be recognized by CSS parser. 2000-08-08 00:34:42 +00:00
dbaron%fas.harvard.edu a0923a0d16 Fix potential leak. r=attinasi a=waterson 2000-08-07 03:06:22 +00:00
pierre%netscape.com e85c205893 attempt to fix the SunOS build 2000-08-05 06:39:42 +00:00
pierre%netscape.com e0bfdfa04d 45754 ('hidden' borders should be treated as 'none') 2000-08-05 04:40:57 +00:00
pierre%netscape.com 1d4805ae87 9816 (Outlines should be disabled completely for FCS) 46562 ('display: run-in' disables whole declaration block) 45804 (In quirks mode, 0 in 'border' should set the width, not the color) 46547 (Background image not centered correctly) Thanks to emk <VYV03354@nifty.ne.jp> 2000-08-05 04:40:03 +00:00
pierre%netscape.com f807d71a05 46599 (nsCSSLoader should check for local file before passing FORCE_RELOAD) 2000-08-05 04:39:43 +00:00
pierre%netscape.com 712ba3287b 43420 (textarea inherits align="center" from parent td) 2000-08-05 04:37:57 +00:00
attinasi%netscape.com 7701e70031 Part of fix to allow background on BODY element to be inherited. b=47127 r=pierre 2000-08-04 20:44:08 +00:00
rods%netscape.com fe6d832c9f removed content-box from radio and checkboxes and set their sizes appropriately
set the background-color for the select arrow button "buttonface" partial fix to Bug 43371
b=32102 r=kmcclusk
2000-08-04 13:01:15 +00:00
rods%netscape.com 4ce4892490 Setting up some special NavQuirks rules for input type=text
part of the checkin for 44656 making the NavQuirks font moz-fixed
b=25580 r=kmcclusk
2000-08-04 12:49:16 +00:00
BlakeR1234%aol.com 39a96ac4c5 Remove hover effects for HTML buttons (38427). r=me (simple commenting change), a=ekrock. 2000-08-03 22:58:06 +00:00
pavlov%netscape.com 592381ef95 fixing other people's build bustage bug 43826 r=bryner 2000-07-31 04:40:06 +00:00
BlakeR1234%aol.com 51d7d41926 Bug 44474, improve html checkbox/radio button appearance, and bug 38427 2000-07-30 21:39:07 +00:00
BlakeR1234%aol.com f8af76029b More work for bug 44474. 2000-07-30 21:29:35 +00:00
BlakeR1234%aol.com 31f902b123 Fix disabled style rules for HTML checkboxes and radio buttons (44474). a=ekrock 2000-07-30 03:09:37 +00:00
BlakeR1234%aol.com 85b46024d2 Rest of the fix for bug 44474. Improves the appearance of HTML radio buttons. a=ekrock 2000-07-30 03:03:31 +00:00
BlakeR1234%aol.com 0df1730a60 Part of fix for bug 44474, to improve upon the appearance of HTML checkboxes. a=ekrock 2000-07-29 22:11:44 +00:00
hyatt%netscape.com dccf9dcff0 Fix for 46129. r=waterson,attinasi,pierre 2000-07-28 09:36:51 +00:00
dbaron%fas.harvard.edu 0d22e864e2 Fix the way HTML's align attribute works for horizontal alignment of blocks. Use the -moz-center and -moz-right even in strict mode, and apply them to blocks in addition to tables. r=attinasi b=37083, 40038 2000-07-27 23:37:44 +00:00
dbaron%fas.harvard.edu a09c77e4d1 Improve performance of testing for visited links CSS selector matching by reducing string conversion and by caching the state of the link on the link element. r=waterson b=25963 2000-07-27 23:17:53 +00:00
attinasi%netscape.com 1f499c4354 Accidental debug code removed: b=46090 r=ianh a=waterson 2000-07-24 23:09:30 +00:00
attinasi%netscape.com b7d2737337 Checkin for timeless@bemail.org: Fixed rounding error making LARGER work for font sizes less than 9px. b=12461, r=attinasi@netscape.com,disttsc@bart.nl a=brendan@mozilla.org 2000-07-18 21:48:51 +00:00
jst%netscape.com db7e921f3e Fixing nsbeta2+ bug 44001, nulling out output parameters to avoid crasing. r=vidur@netscape.com 2000-07-12 02:15:27 +00:00
attinasi%netscape.com be78b225d6 Temporarily turned off style context sharing while I figure out why it is causing incorrect styling of some XUL elements. b=43490 2000-06-29 23:13:46 +00:00
dbaron%fas.harvard.edu 63234a162b Add new style classes to the leak/bloat logs. This should increase the bloat statistics. r=attinasi 2000-06-23 21:57:39 +00:00
pierre%netscape.com 9e180b38cc #12403 "border-style: hidden should force border-width: 0". Fixed RecalcData() to handle 'hidden' similarly to 'none'. r=attinasi. 2000-06-22 05:38:26 +00:00
attinasi%netscape.com 856ea4a348 Eliminated warnings from recent checkin (trivial changes). 2000-06-22 05:14:32 +00:00
attinasi%netscape.com 411b3bcaaf Reversed the order of testing for link-elements so that the most common (anchors) are tested first. Update to earlier checkin. 2000-06-22 00:41:25 +00:00
attinasi%netscape.com 67e47d2765 Fixed bug 6306: AREA and LINK elements are now treated like links when it comes to matching selectors. Cleaned up SelectorMatches as well by moving link-logic into new method. r=kmcclusk@netscape.com b=6306 2000-06-21 23:48:21 +00:00
attinasi%netscape.com db3aa75e08 Implemented Style Context Data sharing, reducing the amount of memory used in style by about 40%. Performance will degrade by about 10%, that is being worked on now. b=39618 r=waterson 2000-06-21 20:44:59 +00:00
waterson%netscape.com 0abe95456d Use NS_LITERAL_STRING instead of an nsAutoString to avoid copy/inflate on platforms that support two-byte wchar_t. r=attinasi 2000-06-20 05:45:07 +00:00
rods%netscape.com 38d6894ac8 image buttons need their font set for "alt" text
b=24778 r=kmcclusk
2000-06-16 12:56:02 +00:00
rbs%maths.uq.edu.au 26742e611c Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com 2000-06-15 09:54:41 +00:00
jst%netscape.com eb6d78edaf Fixing nsbeta2+ bug 39892. Adding support for getting the computed value of the 'behavior' property with getComputedStyle(). r=hyatt 2000-06-14 00:06:36 +00:00
waterson%netscape.com 8e2018e4f4 Bug 38832. An ugly fix: force the <li> to be padded in quirks mode. r=buster 2000-06-11 22:48:05 +00:00
rickg%netscape.com 007d5e056d update viewsource style rules; r=attinasi 2000-06-10 02:50:01 +00:00
attinasi%netscape.com 48511a3494 Fixed problem where anchors with no HREF were being styled like links in composer. b=31594 r=kmcclusk 2000-06-07 23:07:57 +00:00
waterson%netscape.com a721679b5c Bugs 35935, 34862, 41521. Make sure to make 'special' frames blocks inside of relatively-positioned inlines; be sure to destroy special siblings, and crawl to outermost 'normal' frame when reframing containing block; handle 'special' frames in StyleChangeReflow(). r=buster 2000-06-07 06:58:45 +00:00
pierre%netscape.com 12f2fe1056 Checked back in the backed out code (41321) after doing a minor fix in nsCSSValue.cpp (41618) 2000-06-06 09:36:12 +00:00
pierre%netscape.com e549491b3e Backed out the previous changes (41321, waterson/attinasi) because of the regression in 41618. 2000-06-06 06:50:21 +00:00
mkaply%us.ibm.com ad3cf0ff6a # 37239
r = jst, a = waterson
OS/2 bringup - PR_CALLBACK for VisualAge
2000-06-05 19:15:32 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
waterson%netscape.com a965de089e Bug 41321. Use PRUnichar* instead of nsString* to store string values for nsCSSValue and nsHTMLValue. r=attinasi. 2000-06-02 22:54:35 +00:00
attinasi%netscape.com c115636333 Implemented QuirkMode style sheet and moved some initial quirk style rules from html.css to the new quirk.css. b=38026 r=rods a=karnaze 2000-06-02 21:45:06 +00:00
attinasi%netscape.com a8b538c51c QuirkMode style sheet: b=38026 r=rods a=karnaze 2000-06-02 21:38:33 +00:00
rods%netscape.com 542c738619 setting legend's border to none so it loks better
b=36065, r=rickg
2000-06-02 21:01:20 +00:00
rods%netscape.com 88254d671c this change works better for standard mode and gets around a style bug.
b 38927, r=attinasi
2000-06-02 20:03:12 +00:00
rods%netscape.com 4a7e30f9a1 added hover cursor change for type=image Bug 40440
made inner rect for focus have inherit for color instead of hard-coded gray Bug 38927
also added quotes to several selectors (i.e. from type=xxx to type="xxx")
r=dcone,attinasi
2000-06-02 13:58:19 +00:00