1439 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
945c775af1 Check the mimetype on the stylesheet channel and only
load the sheet if the type is text/css (strict mode change
only). bug 46225, r=dbaron, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@108487 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 20:30:29 +00:00
rbs%maths.uq.edu.au
5553e08c9e bug 110417 - no need to special-case the viewsource protocol anymore since security now knows about it. r=bzbasrky sr=jst
git-svn-id: svn://10.0.0.236/trunk@108341 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 02:36:05 +00:00
hyatt%netscape.com
71bedef261 MIssed a spot in 109261. same reviewers apply as for previous checkin of bug fix.
git-svn-id: svn://10.0.0.236/trunk@108160 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 07:31:13 +00:00
hyatt%netscape.com
cb07ac61ff Inline PeekStyleData for 109261.
git-svn-id: svn://10.0.0.236/trunk@108038 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 08:29:11 +00:00
hyatt%netscape.com
c0d0283f4f Perf and footprint opt. Make style re-resolution cheaper. r=glazou, sr=hewitt, bug 109261
git-svn-id: svn://10.0.0.236/trunk@108035 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 08:19:13 +00:00
dbaron%fas.harvard.edu
3d164442b1 Attempt to fix HP runtime bustage. b=83836
git-svn-id: svn://10.0.0.236/trunk@107899 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 20:46:42 +00:00
bzbarsky%mit.edu
0220720066 Fixing bogus indentation that I missed (checked in old version of
patch). bug 84599 reprise, r=glazou, sr=attinasi (still).


git-svn-id: svn://10.0.0.236/trunk@107871 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 03:56:49 +00:00
dbaron%fas.harvard.edu
01e7c5fab7 Avoid applying all default rendering of HTML's table element to anonymous table objects. b=72358 r=hixie sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@107865 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 01:35:25 +00:00
dbaron%fas.harvard.edu
e619d6fc7c Pull computation of loop invariants for rule matching out of outer loop (over rule processors) as well, from SelectorMatchesData in nsCSSStyleSheet to RuleProcessorData in nsStyleSet. Use the RuleProcessorData structure in nsHTMLStyleSheet as well. Simplify matching of :-moz-bound-element pseudo-class. b=83836 r=waterson, pierre sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@107856 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 23:51:45 +00:00
bzbarsky%mit.edu
7d6358f8fc Fix getComputedStyle() position/size calculations. Bug 84599 and bug
94855, r=glazou, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@107832 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 17:29:04 +00:00
dbaron%fas.harvard.edu
b941398e09 Add omitted NS_INIT_ISUPPORTS. b=108750 a=blizzard
git-svn-id: svn://10.0.0.236/trunk@107639 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 02:17:43 +00:00
dbaron%fas.harvard.edu
77c9718bde Move nsDOMCSSAttributeDeclaration into its own file to progress towards moving all of the style system code back into the layout library. r=jst sr=hyatt b=108750
git-svn-id: svn://10.0.0.236/trunk@107591 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 07:06:31 +00:00
karnaze%netscape.com
d4308b507a bug 107857 - add -moz-show-background value to empty-cells and make that the quirk default. sr=attinasi, r=pierre.
git-svn-id: svn://10.0.0.236/trunk@107482 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 22:52:59 +00:00
rods%netscape.com
843ec68778 Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@107448 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 12:18:51 +00:00
pierre%netscape.com
0ef28aebb3 Checked in for fantasai@escape.com. Bug 43220 "author !important rules override user !important rules in user.css". Add User sheets. Rename Backstop sheets into UserAgent. Fix cascading order. r=pierre/sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@107446 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 10:04:05 +00:00
dbaron%fas.harvard.edu
8c7cfc52d1 Fix inheritance of percentage values for 'line-height' by removing hacks to base percentage values for 'line-height' on the actual value rather than the computed value of 'font-size'. Fix various |const|-ness issues in nsRuleNode. b=97726 r=pierre sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@107440 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 07:48:02 +00:00
karnaze%netscape.com
9a49482ec3 bug 107857 - show backgrounds on empty cells in quirks mode. sr=attinasi,r=alexsavulov,hixie
git-svn-id: svn://10.0.0.236/trunk@107335 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 15:32:25 +00:00
rods%netscape.com
1100db8190 Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@107260 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 14:59:39 +00:00
jst%netscape.com
425fc3a0b6 Fixing bug 108321. Don't waste time using the component manager when creating an nsHTMLAttributes when setting attributes on an element, call NS_NewHTMLAttributes() directly in stead. Also doing some cleaning up in nsHTMLStyleSheet.cpp. r=dbaron@fas.harvard.edu, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107237 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 08:13:48 +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
kin%netscape.com
9673ca95ec Backout glazman's fix for bug 107567, pending investigation
on why it causes the tinderbox Leak count to go up.

a=beard@netscape.com,jj@netscape.com


git-svn-id: svn://10.0.0.236/trunk@106834 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 19:03:46 +00:00
glazman%netscape.com
8c9c7abf8d Remove useless mSheetMap table from nsCSSLoader; b=107567, r=peterv,rjesup@wgate.com; sr=kin
git-svn-id: svn://10.0.0.236/trunk@106832 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 15:53:25 +00:00
dbaron%fas.harvard.edu
851c51369f Additional cleanup after bug 56117: prevent :first-letter from leading to style resolution on text nodes and stop all style resolution for placeholder frames (formerly :placeholder-frame pseudo-element) and for text following a :first-line pseudo-element (formerly :-moz-letter-frame pseudo-element). b=107534 r=waterson, attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@106793 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 02:53:47 +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
bernd.mielke%snafu.de
010f750f2f bug 97630 cut line-height inheritance for tables in quirks mode
r=hixie,karnaze sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@106562 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 19:44:05 +00:00
jaggernaut%netscape.com
9e8f600926 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 06:44:19 +00:00
alecf%netscape.com
820a14b2cb other changes for bug 100214, r=jag, sr=scc
include nsUnicharUtils.h for useful stuf


git-svn-id: svn://10.0.0.236/trunk@106313 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:38:29 +00:00
dbaron%fas.harvard.edu
9ef49bf676 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974
git-svn-id: svn://10.0.0.236/trunk@106235 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:21:53 +00:00
bzbarsky%mit.edu
c180e28886 Improve how we get our charset for stylesheets. Look at HTTP header,
charset attribute on <link> or <?xml-stylesheet?> and at the document's
charset.  Bugs 57164, 72658, 83207.  r=pierre, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@106217 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:34:20 +00:00
ducarroz%netscape.com
de141f84d8 Fix for bug 106560. Crash in StyleSetImp::ShutDown when mRuleTree is null. Need to check mRuleTree before using it. R=bienvenu, SR=hyatt
git-svn-id: svn://10.0.0.236/trunk@106210 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:19:21 +00:00
dbaron%fas.harvard.edu
2f1eb6d907 My guess at AIX and OS/2 bustage was wrong -- backing it out. Someone with access to a machine with one of those compilers will have to try various things here.
git-svn-id: svn://10.0.0.236/trunk@106156 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:03:46 +00:00
glazman%netscape.com
ddcf3462dc STYLE attribute should not expand CSS shorthand property assignment to equivalent longhand assignments; b=18894, r=peterv, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106150 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 08:08:30 +00:00
dbaron%fas.harvard.edu
ae6bbca773 Wild guess at fixing AIX and OS/2 bustage.
git-svn-id: svn://10.0.0.236/trunk@106146 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 06:53:39 +00:00
dbaron%fas.harvard.edu
a222daa57a Moving nsRuleNode.cpp back to content/base/src from content/shared/src and inlining GetRule to fix linker errors on BeOS and probably also AIX, and since it doesn't need to be in content/shared and cvs won't like re-adding to content/html/style/src. b=104336
git-svn-id: svn://10.0.0.236/trunk@106143 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 06:25:08 +00:00
hyatt%netscape.com
ab0e4e56d4 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106100 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:01:09 +00:00
bryner%netscape.com
73a2cc7db6 Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@105981 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:43:52 +00:00
rods%netscape.com
8612bf6bb6 Make labels inline !important
Bug 100801 r=rods sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@105930 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 10:39:35 +00:00
dougt%netscape.com
b7714209d4 Remove extra exports. patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105813 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:02:39 +00:00
dougt%netscape.com
1f7520e927 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527
git-svn-id: svn://10.0.0.236/trunk@105810 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:59:33 +00:00
bzbarsky%mit.edu
c17db72087 Last checkin was r=pierre, sr=jst
git-svn-id: svn://10.0.0.236/trunk@105770 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 14:02:36 +00:00
bzbarsky%mit.edu
ee4bb498aa Clean up handling of quirk doctypes and case-sensitivity in the CSSOM.
Mostly just uses the nodeinfo more and combines some redundant code into
helpers. Bug 95336, bug 10622, bug 102815


git-svn-id: svn://10.0.0.236/trunk@105769 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 13:50:30 +00:00
pierre%netscape.com
e0c5a0727b 91665 "Dump Style Contexts doesn't work anymore". Fixed nsStyleContext::List(). r=attinasi/sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@105570 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 00:25:26 +00:00
pierre%netscape.com
e21200cd23 97052 "getComputedStyle returns default value for border width when there is no border". GetBorderWidthFor() now returns 0 if NS_STYLE_BORDER_STYLE_NONE. r=bzbarsky / sr=jst
git-svn-id: svn://10.0.0.236/trunk@105567 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 00:05:05 +00:00
dbaron%fas.harvard.edu
1382ac90eb Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@105468 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu
7bb7b59a69 Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:53:44 +00:00
rods%netscape.com
44d4b425d4 make it so the select's borders can't be changed by user's style
Bug 94387 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@105448 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 00:37:05 +00:00
alecf%netscape.com
f7b48fa3b1 convert nsCRT::strn?cmp to Convert() for bug 100214, to depend on string rather than xpcom for case-insensitive unicode support. r=sspitzer for mail stuff, r=jag for everything else, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@105318 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 00:16:32 +00:00
bzbarsky%mit.edu
0d0ca5eeac Make changes to clip property trigger a reflow change, not just a visual
change.  Bug 88653, r=pierre, sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@104972 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 00:21:02 +00:00
bzbarsky%mit.edu
05cc80423d Fix parsing of negative (illegal) values of border-spacing, padding, and
others.  Bug 102344, r=dbaron, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@104738 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 15:13:23 +00:00
attinasi%netscape.com
475491b8d1 Outline for links are now 'invert' instead of 'WindowText' color. b=73884 r=kmcclusk sr=kin
git-svn-id: svn://10.0.0.236/trunk@104483 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:10:00 +00:00