634 Commits

Author SHA1 Message Date
sicking%bigfoot.com
3ffbd92c7f Bug 64945: XML Prettyprinting stage 1
r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@128818 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 06:57:25 +00:00
roc+%cs.cmu.edu
c6bb83f66a Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00
dbaron%fas.harvard.edu
885376c9da Move nsStyleUtil from content/shared/ to content/html/style/ to reduce the size the shared library that is part of both content and layout. b=71257 sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127514 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 23:57:09 +00:00
dbaron%fas.harvard.edu
43734511f2 Move nsStyleUtil from content/shared/ to content/html/style/ to reduce the size the shared library that is part of both content and layout. b=71257 sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127502 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 23:00:25 +00:00
bzbarsky%mit.edu
8df67b73a5 Fix placement of positioned elements with auto "top". Bug 44508, patch
by Mats Palmgren (mats.palmgren@bredband.net), r=dbaron, sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@127417 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 23:00:23 +00:00
seawood%netscape.com
829192b1b5 Removing unused _NS_IMPL_LAYOUT define.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #162308 r=cls


git-svn-id: svn://10.0.0.236/trunk@127350 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 05:39:40 +00:00
dbaron%fas.harvard.edu
e58a8cf95b Implement CSS2 :lang() selector. Fix problems with dynamic changes of 'quotes' property. Patch mostly by Ulrich Drepper (drepper@redhat.com), with some changes by Pierre Saslawsky and dbaron. r=rbs, dbaron sr=bzbarsky b=35768
git-svn-id: svn://10.0.0.236/trunk@127250 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 12:34:39 +00:00
seawood%netscape.com
823af36499 Removing unused defines:
_IMPL_NS_BASE (bug #162142)
_IMPL_NS_GFXONXP (bug #162145)
_IMPL_NS_UI (bug #162183)
B_ONE_M (bug #162196)
XP_NEW_SELECTION (bug #162230)
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.


git-svn-id: svn://10.0.0.236/trunk@127074 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 13:35:18 +00:00
dbaron%fas.harvard.edu
1be537f3c0 Move FindNonTransparentBackground from nsStyleUtil to nsCSSRendering so that nsStyleUtil doesn't need to be in content/shared. b=71257 r=heikki sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127035 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-11 17:56:15 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
caillon%returnzero.com
d16eaa61f6 Bug 161184. Shrink nsIPresContexts by moving some default value settings out of it and into StyleStructs where they belong.
r=bzbarsky sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@126644 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 07:39:34 +00:00
alecf%netscape.com
feeeaa6162 fix for bug 12493 - layout should canonicalize urls before asking global history for visited status
r=radha, sr=darin


git-svn-id: svn://10.0.0.236/trunk@126549 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:51:42 +00:00
glazman%netscape.com
fa21906e76 Introduce 2 CSS values for color property and 1 for text-decoration retrieving the pref for anchors' color, visited anchors' color, and underline or not the anchors; b=57757, r=brade, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@126518 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 14:39:55 +00:00
dbaron%fas.harvard.edu
5603f12809 Add comments explaining lookups in nsCachedStyleData. b=156902 sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@126513 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 13:46:35 +00:00
bzbarsky%mit.edu
e1f21b9781 More documentation checkins. r=jkeiser/sicking, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@126048 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 05:34:55 +00:00
smontagu%netscape.com
f0c487bee0 Fix crasher bug 158796, r=jkeiser, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@125804 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 20:40:51 +00:00
bzbarsky%mit.edu
544e250544 fix startup assertions, bug 154503, r=sicking, sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@125524 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 23:58:10 +00:00
bzbarsky%mit.edu
050d8e8c55 Add some more Ethiopic list styles. Bug 154503, patch by yacob@geez.org
(Daniel Yacob), r=dbaron, rs=brendan, a=asa


git-svn-id: svn://10.0.0.236/trunk@125114 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 20:46:19 +00:00
dbaron%fas.harvard.edu
66ac586fc1 To make maintainance easier and allow more data-as-data rather than data-as-code, create a preprocessable list of style structs and use it in many places where we previously listed all (or half) of the style structs. b=155745 r=bzbarsky sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124825 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 04:10:10 +00:00
bzbarsky%mit.edu
5483f8d08e Fix innerHTML on some special elements to suck less; refactor some
code.  Bug 125746, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@124666 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-04 04:30:25 +00:00
seawood%netscape.com
08f53dff2a The c++ standard requires that the throw list be used when declaring functions as well as defining them.
commercial compiler fixes for bug #149032


git-svn-id: svn://10.0.0.236/trunk@124604 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 17:14:41 +00:00
seawood%netscape.com
a7c7e77b8b Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc


git-svn-id: svn://10.0.0.236/trunk@124526 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu
7c4652cc16 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124017 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:16:17 +00:00
bzbarsky%mit.edu
8703400ee9 Fix dynamic changes to generated content. Bug 57226, r=dbaron, sr=kin
git-svn-id: svn://10.0.0.236/trunk@123823 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 22:31:19 +00:00
caillon%returnzero.com
d20e1a3975 Bug 149474, Implement preventdefault="true" on XBL handlers, so that bindings are able to prevent the default action even if JavaScript is disabled. r=bryner sr=jag
git-svn-id: svn://10.0.0.236/trunk@123553 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 00:43:46 +00:00
mkaply%us.ibm.com
15156fea65 OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@123134 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 05:04:12 +00:00
dbaron%fas.harvard.edu
cfc603f54a Fix crashes related to editing of HR elements by wrapping generated content for leaf frames in an extra frame so :before and :after are always the first/last children of the primary frame. Disable generated content for floating and absolutely positioned leaf frames. b=141054 sr=waterson r=kin
git-svn-id: svn://10.0.0.236/trunk@123127 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 03:27:48 +00:00
smontagu%netscape.com
cc4e2832ab Do Arabic shaping earlier before measuring the text so that it gets laid out correctly. Bugs 117041, 138097. r=ftang, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@123073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 21:00:20 +00:00
dbaron%fas.harvard.edu
b339b0f982 Remove universalSelector atom. b=112318 sr=waterson r=brendan
git-svn-id: svn://10.0.0.236/trunk@122247 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 00:49:48 +00:00
aaronl%netscape.com
f6a29faa2d Bug 139877. Right click context menu accesskeys require 'Enter' to perform action (regression). Fix by Kyle Yuan. r=aaronl, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121184 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 20:12:21 +00:00
dbaron%fas.harvard.edu
1ec44c55ea Rename Mozilla-extension values for real CSS properties to begin with -moz-. Remove some unused code. b=3935 r=hixie sr=waterson
git-svn-id: svn://10.0.0.236/trunk@120368 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:17:04 +00:00
glazman%netscape.com
7e799c5402 The 'lighter' CSS value was not output in STYLE attributes because of a bug in |nsCSSProps::SearchKeywordTableInt|
This routine was stopping on negative values but there are some negative values defined in nsStyleConsts.h

b=137061, r=caillon, sr=kin


git-svn-id: svn://10.0.0.236/trunk@120185 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 09:39:55 +00:00
smontagu%netscape.com
1842f89e61 ArabicShaping() shouldn't assume that the input and output is in visual order. Bug 137871. r=ftang, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119653 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:26:49 +00:00
smontagu%netscape.com
c0b0bc0ee7 Move HandleNumbers() from nsBidiPresUtils to nsBidiUtils. Bug 137857. r=ftang, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119644 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 23:29:18 +00:00
gerv%gerv.net
845e4a7761 Bug 3935 - mozilla-native psuedo classes and properties should be marked as such. This fixes a number of them; still a few more to do. Patch by gerv, r=dbaron, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@119384 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 08:07:11 +00:00
hwaara%chello.se
fffc33ba03 #137382, cleanup handling of SVG namespace, and remove old bogus namespace.
r=afri (not part of default build)


git-svn-id: svn://10.0.0.236/trunk@119116 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:13:13 +00:00
bryner%netscape.com
44e172b98b Adding support for optgroups for XBL form controls (bug 130115). r=jkeiser, varga sr=jst.
git-svn-id: svn://10.0.0.236/trunk@119078 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 05:09:35 +00:00
jst%netscape.com
bce0c1cd5f Comment changes only...
git-svn-id: svn://10.0.0.236/trunk@119001 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:36:52 +00:00
jst%netscape.com
a5c442b76e Checking in jeff.qiu@sun.com's fix for bug 77585. Speeding up nsGenericDOMDataNode::AppendData(). r=cbiesinger@web.de, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@118652 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:44:04 +00:00
hyatt%netscape.com
dd0e62d9ae Fix for 99344, inline styles not being recognized under certain DHTML circumstances. r=dbaron, sr=waterson, a=asa
git-svn-id: svn://10.0.0.236/trunk@118229 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 08:05:33 +00:00
pinkerton%netscape.com
faebee62e7 new atoms needed for native scrollbars r=sdagley/sr=beard/a=valeski. bug# 121440
git-svn-id: svn://10.0.0.236/trunk@117806 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 18:35:28 +00:00
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
hewitt%netscape.com
7fd03a3524 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327


git-svn-id: svn://10.0.0.236/trunk@117710 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 02:46:01 +00:00
bryner%netscape.com
0d03028090 Revert to using an attribute for menuactive (bug 133610). r=ben/jkeiser, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117621 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 07:01:26 +00:00
dbaron%fas.harvard.edu
0b4effd4ea Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@117556 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 02:38:13 +00:00
attinasi%netscape.com
dbe40cd4b1 Support for proprietary style property to allow composer to force broken image icons. b=58646 r=karnaze sr=kin a=asa
git-svn-id: svn://10.0.0.236/trunk@117496 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 20:14:05 +00:00
dbaron%fas.harvard.edu
b447eec349 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117348 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:56:05 +00:00
andreas.otte%debitel.net
6151a1f374 fix bug 94096 [Content-Base Header should not be supported] remove
support for header that was only part of a draft for http 1.1,
r=harishd, sr=jst, a=scc


git-svn-id: svn://10.0.0.236/trunk@117220 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 21:24:48 +00:00
jfrancis%netscape.com
7897ddf7d9 fix for 98622: <big>/<small> not copied if partially selected
r=glazman; sr=kin; a=asa


git-svn-id: svn://10.0.0.236/trunk@117108 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:31:26 +00:00
dbaron%fas.harvard.edu
ad5fa0f47d Fix HPUX bustage. (It's right, as always. I can't static_cast to an incomplete class.)
git-svn-id: svn://10.0.0.236/trunk@116827 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 03:09:02 +00:00