Commit Graph

633 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
cb32a0f906 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 2002-08-24 14:41:28 +00:00
dbaron%fas.harvard.edu
7b955f3646 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 2002-08-16 23:57:09 +00:00
dbaron%fas.harvard.edu
7a94e66b89 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 2002-08-16 23:00:25 +00:00
bzbarsky%mit.edu
355f48a3e9 Fix placement of positioned elements with auto "top". Bug 44508, patch
by Mats Palmgren (mats.palmgren@bredband.net), r=dbaron, sr=bzbarsky.
2002-08-15 23:00:23 +00:00
seawood%netscape.com
55ec62b72d Removing unused _NS_IMPL_LAYOUT define.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #162308 r=cls
2002-08-15 05:39:40 +00:00
dbaron%fas.harvard.edu
79638e5f49 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 2002-08-14 12:34:39 +00:00
seawood%netscape.com
67c2c5b3c0 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.
2002-08-12 13:35:18 +00:00
dbaron%fas.harvard.edu
839c83ca5d Move FindNonTransparentBackground from nsStyleUtil to nsCSSRendering so that nsStyleUtil doesn't need to be in content/shared. b=71257 r=heikki sr=bzbarsky 2002-08-11 17:56:15 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
caillon%returnzero.com
0fbcecb364 Bug 161184. Shrink nsIPresContexts by moving some default value settings out of it and into StyleStructs where they belong.
r=bzbarsky sr=dbaron
2002-08-07 07:39:34 +00:00
alecf%netscape.com
9d46c7a238 fix for bug 12493 - layout should canonicalize urls before asking global history for visited status
r=radha, sr=darin
2002-08-06 23:51:42 +00:00
glazman%netscape.com
b9599b1617 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 2002-08-06 14:39:55 +00:00
dbaron%fas.harvard.edu
886e6f1527 Add comments explaining lookups in nsCachedStyleData. b=156902 sr=bzbarsky 2002-08-06 13:46:35 +00:00
bzbarsky%mit.edu
cc45de4f05 More documentation checkins. r=jkeiser/sicking, sr=jst, a=asa 2002-07-30 05:34:55 +00:00
smontagu%netscape.com
abce8c0186 Fix crasher bug 158796, r=jkeiser, sr=jst, a=asa 2002-07-25 20:40:51 +00:00
bzbarsky%mit.edu
783a32db62 fix startup assertions, bug 154503, r=sicking, sr=dbaron, a=asa 2002-07-19 23:58:10 +00:00
bzbarsky%mit.edu
8bcb659f61 Add some more Ethiopic list styles. Bug 154503, patch by yacob@geez.org
(Daniel Yacob), r=dbaron, rs=brendan, a=asa
2002-07-12 20:46:19 +00:00
dbaron%fas.harvard.edu
27b9d4524f 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 2002-07-09 04:10:10 +00:00
bzbarsky%mit.edu
0c737fc54b Fix innerHTML on some special elements to suck less; refactor some
code.  Bug 125746, r=sicking, sr=jst
2002-07-04 04:30:25 +00:00
seawood%netscape.com
0597412383 The c++ standard requires that the throw list be used when declaring functions as well as defining them.
commercial compiler fixes for bug #149032
2002-07-03 17:14:41 +00:00
seawood%netscape.com
03ace271f0 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
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu
e63a11c0e8 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 2002-06-25 21:16:17 +00:00
bzbarsky%mit.edu
750ed97f3f Fix dynamic changes to generated content. Bug 57226, r=dbaron, sr=kin 2002-06-21 22:31:19 +00:00
caillon%returnzero.com
5ad14210fa 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 2002-06-19 00:43:46 +00:00
mkaply%us.ibm.com
88fef04a15 OS/2 bustage 2002-06-12 05:04:12 +00:00
dbaron%fas.harvard.edu
e5a0855621 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 2002-06-12 03:27:48 +00:00
smontagu%netscape.com
66051e90f8 Do Arabic shaping earlier before measuring the text so that it gets laid out correctly. Bugs 117041, 138097. r=ftang, sr=waterson 2002-06-11 21:00:20 +00:00
dbaron%fas.harvard.edu
1dcbcf7e98 Remove universalSelector atom. b=112318 sr=waterson r=brendan 2002-05-29 00:49:48 +00:00
aaronl%netscape.com
28b810acff Bug 139877. Right click context menu accesskeys require 'Enter' to perform action (regression). Fix by Kyle Yuan. r=aaronl, sr=jst 2002-05-09 20:12:21 +00:00
dbaron%fas.harvard.edu
2d7fe2e0eb Rename Mozilla-extension values for real CSS properties to begin with -moz-. Remove some unused code. b=3935 r=hixie sr=waterson 2002-05-01 00:17:04 +00:00
glazman%netscape.com
dbd393ad57 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
2002-04-29 09:39:55 +00:00
smontagu%netscape.com
7606504aac ArabicShaping() shouldn't assume that the input and output is in visual order. Bug 137871. r=ftang, sr=attinasi 2002-04-24 00:26:49 +00:00
smontagu%netscape.com
40d6505f73 Move HandleNumbers() from nsBidiPresUtils to nsBidiUtils. Bug 137857. r=ftang, sr=attinasi 2002-04-23 23:29:18 +00:00
gerv%gerv.net
0f7ebbdfe9 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. 2002-04-19 08:07:11 +00:00
hwaara%chello.se
34c91fa45e #137382, cleanup handling of SVG namespace, and remove old bogus namespace.
r=afri (not part of default build)
2002-04-16 18:13:13 +00:00
bryner%netscape.com
2fdd9e39df Adding support for optgroups for XBL form controls (bug 130115). r=jkeiser, varga sr=jst. 2002-04-16 05:09:35 +00:00
jst%netscape.com
dbf3500843 Comment changes only... 2002-04-15 22:36:52 +00:00
jst%netscape.com
eafd961a01 Checking in jeff.qiu@sun.com's fix for bug 77585. Speeding up nsGenericDOMDataNode::AppendData(). r=cbiesinger@web.de, sr=jst@netscape.com 2002-04-10 21:44:04 +00:00
hyatt%netscape.com
08d1853958 Fix for 99344, inline styles not being recognized under certain DHTML circumstances. r=dbaron, sr=waterson, a=asa 2002-04-05 08:05:33 +00:00
pinkerton%netscape.com
007bf15945 new atoms needed for native scrollbars r=sdagley/sr=beard/a=valeski. bug# 121440 2002-03-31 18:35:28 +00:00
dbaron%fas.harvard.edu
b350a0fd0f 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 2002-03-31 16:59:00 +00:00
hewitt%netscape.com
d38a0937d9 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
2002-03-29 02:46:01 +00:00
bryner%netscape.com
653df3043e Revert to using an attribute for menuactive (bug 133610). r=ben/jkeiser, sr=jst, a=asa. 2002-03-27 07:01:26 +00:00
dbaron%fas.harvard.edu
8e8fb14ea0 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 2002-03-27 02:38:13 +00:00
attinasi%netscape.com
23630d30e8 Support for proprietary style property to allow composer to force broken image icons. b=58646 r=karnaze sr=kin a=asa 2002-03-26 20:14:05 +00:00
dbaron%fas.harvard.edu
a68d8f9629 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:56:05 +00:00
andreas.otte%debitel.net
938b4e9181 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
2002-03-22 21:24:48 +00:00
jfrancis%netscape.com
c8271c969e fix for 98622: <big>/<small> not copied if partially selected
r=glazman; sr=kin; a=asa
2002-03-21 23:31:26 +00:00
dbaron%fas.harvard.edu
76bec44a9f Fix HPUX bustage. (It's right, as always. I can't static_cast to an incomplete class.) 2002-03-19 03:09:02 +00:00
dbaron%fas.harvard.edu
21232a3675 Fix performance problem on pages with large numbers of repeated style attributes or differing presentational HTML attributes by changing the way nsRuleNode decides whether to store children in a hashtable or linked list: decide based on the child count rather than whether the node is the root. Convert hashtable child storage from nsHashtable to PLDHashTable. b=129187 sr=brendan r=hyatt a=asa 2002-03-19 01:29:20 +00:00