659 Commits

Author SHA1 Message Date
pierre%netscape.com
8be7e09c16 35261. Implement :last-node (P and Hx tags inside a cell do not collapse the cell). Change TD to collapse the bottom margin on the last-node.
git-svn-id: svn://10.0.0.236/trunk@67510 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 10:02:12 +00:00
pierre%netscape.com
cdcf7d8bca 9876. Implemented CSSStyleDeclaration removeProperty. r=jst.
git-svn-id: svn://10.0.0.236/trunk@67505 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 08:35:40 +00:00
scc%netscape.com
62b1c05b32 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67407 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 20:38:50 +00:00
attinasi%netscape.com
d5aa4c73cb Fixed recent regression: DidLoadStyle was not being called if the status was failure, causing the parser to remain blocked forever. b=27208
git-svn-id: svn://10.0.0.236/trunk@67349 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:51:06 +00:00
dbaron%fas.harvard.edu
6b88c55779 Fix bugs 12398, 12450, and 35215, and comment out some unused code. r=pierre@netscape.com
git-svn-id: svn://10.0.0.236/trunk@67336 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:12:25 +00:00
dbaron%fas.harvard.edu
c266c49303 Fix bug 37082 - attribute selector matching for ~= and |= backwards. r=pierre@netscape.com
git-svn-id: svn://10.0.0.236/trunk@67335 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:07:12 +00:00
attinasi%netscape.com
f0e756bc78 Eliminated a wasteful duplication of a string. Should reduce bloat substantially. r=pierre
git-svn-id: svn://10.0.0.236/trunk@67320 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:36:45 +00:00
jst%netscape.com
3a55dd1f0f Initialize mRefCnt in the constructor, duh!
git-svn-id: svn://10.0.0.236/trunk@67318 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:24:30 +00:00
jst%netscape.com
e7caf2b7ff Landing DOM Level 2 CSS and Views interfaces and implementation.
git-svn-id: svn://10.0.0.236/trunk@67227 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 13:58:56 +00:00
troy%netscape.com
2831676fb5 Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem


git-svn-id: svn://10.0.0.236/trunk@67078 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:43:11 +00:00
putterman%netscape.com
8237a54fdd Backing out troy's changes to fix various UI blocker bugs.
git-svn-id: svn://10.0.0.236/trunk@67000 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:21:56 +00:00
attinasi%netscape.com
ce64bdd8ed Removed warnings: very basic changes
git-svn-id: svn://10.0.0.236/trunk@66933 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 19:06:37 +00:00
scc%netscape.com
21b4d298b9 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66932 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 19:04:37 +00:00
attinasi%netscape.com
3c5099c351 Added support for @charset in external stylesheets, as well as support for charset being set byt HTML document for parsing HTML style attributes in other charsets. r=ftang b=2870,28500
git-svn-id: svn://10.0.0.236/trunk@66894 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 02:01:40 +00:00
troy%netscape.com
e90db6dfb9 Changes to bring clipping inline with upcoming CSS2 errata
git-svn-id: svn://10.0.0.236/trunk@66887 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 00:56:16 +00:00
dbaron%fas.harvard.edu
a37963e5fe Prevent selector matching from incorrectly failing due to greedy matching. b=24031 r=pierre@netscape.com
git-svn-id: svn://10.0.0.236/trunk@66820 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 00:47:18 +00:00
pierre%netscape.com
8b87581e2e Implemented i18n list-style-types. Thanks to bakibon@yahoo.com.
git-svn-id: svn://10.0.0.236/trunk@66675 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:05:29 +00:00
jst%netscape.com
65876f7f11 Updating the DOM interface CSSStyleDeclaration to DOM Level 2.
git-svn-id: svn://10.0.0.236/trunk@66556 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 13:50:56 +00:00
jst%netscape.com
a8f76590ab Adding GetIID() to nsICSSDeclaration.
git-svn-id: svn://10.0.0.236/trunk@66554 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 13:00:08 +00:00
waterson%netscape.com
9730aa1e21 Back out changes my changes to nsILinkHandler because of performance problems.
git-svn-id: svn://10.0.0.236/trunk@66246 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 04:34:20 +00:00
braddr%puremagic.com
2ecf22f141 eliminiate NS_COMFALSE and remove a layer of logical negation.
r=brendan


git-svn-id: svn://10.0.0.236/trunk@66111 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 00:23:57 +00:00
scc%netscape.com
b5432ec86e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66103 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 21:18:29 +00:00
scc%netscape.com
8a7f53cc88 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66101 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 20:15:37 +00:00
pierre%netscape.com
8352fc6523 33710 "background-color: inherit doesn't work correctly". Split the NS_STYLE_BG_PROPOGATED flag into 2 flags: NS_STYLE_BG_PROPAGATED_TO_PARENT and NS_STYLE_BG_PROPAGATED_FROM_CHILD. MapDeclarationColorInto() fetches the color from the grand-parent if PROPAGATED_TO_PARENT is set.
git-svn-id: svn://10.0.0.236/trunk@66083 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 10:38:13 +00:00
mstoltz%netscape.com
e8a0e8479c Made prefapi.h private and removed all #includes of it outside of libpref. r=norris
git-svn-id: svn://10.0.0.236/trunk@66060 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 03:43:09 +00:00
waterson%netscape.com
76b91f9af2 Bug 12493. Change nsILinkHandler interface to take an nsIURI object instead of a string. This allows necko to canonify URIs before passing them back to global history. r=travis,pierre
git-svn-id: svn://10.0.0.236/trunk@65837 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 19:55:47 +00:00
hyatt%netscape.com
4c50c0a82b Making <children> support dynamic.
git-svn-id: svn://10.0.0.236/trunk@65157 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 06:29:20 +00:00
scc%netscape.com
e16ab47ebe making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65029 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 11:20:35 +00:00
attinasi%netscape.com
9657bf7bed Implemented Style Size Dump. r=rickg b=26565
git-svn-id: svn://10.0.0.236/trunk@64709 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:08:36 +00:00
jim_nance%yahoo.com
b1ccfbf2cb Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
pierre%netscape.com
2d05e32546 #33557 (background-color: inherit on html:input type="text" only appears to check for background color on parent node). MapDeclarationColorInto() should inherit the parent's color on "background: transparent".
git-svn-id: svn://10.0.0.236/trunk@64465 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 06:55:15 +00:00
warren%netscape.com
9fa657f1cd Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
pierre%netscape.com
fa79d48cb8 Bugs 18218. 'display:inline-table' should not be recognized by the CSS parser.
git-svn-id: svn://10.0.0.236/trunk@64131 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 21:26:14 +00:00
pierre%netscape.com
277d41c869 #3371. Implemented css2/css3 system fonts. GFX on Windows and GTK needs to be completed.
git-svn-id: svn://10.0.0.236/trunk@64127 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 18:54:36 +00:00
pierre%netscape.com
bbde074e9c Related to #18136. Enable the IE-compatible font size table in strict mode. It required to pass the nsFontSizeType to FindNextSmaller/LargerFontSize.
git-svn-id: svn://10.0.0.236/trunk@64123 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 13:48:50 +00:00
pierre%netscape.com
97f14393e2 Bugs 2055, 2056, 14983 and 15432. Display:marker/run-in/compact are not supported. The CSS parser drops any declaration that contains one of these display types.
git-svn-id: svn://10.0.0.236/trunk@63861 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 14:45:04 +00:00
attinasi%netscape.com
ade61276ef Fixed error in SelectorMatches where anchor tags with no href were being treated as links in some cases. b=23209 r=karnaze
git-svn-id: svn://10.0.0.236/trunk@63476 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 22:49:42 +00:00
dbaron%fas.harvard.edu
dd3116b06a Fix leak of style contexts. r=karnaze@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63413 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 21:26:13 +00:00
pierre%netscape.com
cfc46042f9 #11859 "Loading remote stylesheet in editor fails". LoadAgentSheet() loads the page asynchronously if an observer if provided.
git-svn-id: svn://10.0.0.236/trunk@63156 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 11:44:00 +00:00
pierre%netscape.com
ed6f7b2bac #30127 "-moz-fixed not friendly with the cascade". Inherit NS_STYLE_FONT_USE_FIXED together with the font face.
git-svn-id: svn://10.0.0.236/trunk@62901 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 07:30:29 +00:00
rickg%netscape.com
65135726ce landing phase 2 to remove deprecated string calls
git-svn-id: svn://10.0.0.236/trunk@62718 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 11:10:07 +00:00
rickg%netscape.com
9ababa1a41 more WIP to remove nsStr references
git-svn-id: svn://10.0.0.236/trunk@62712 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 10:07:57 +00:00
rickg%netscape.com
1bd57cb94b removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
pierre%netscape.com
89692aa2cc 29370 "Stylesheets and JS files are not always loaded". Checked in for valeski, r=pierre, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62451 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 04:37:01 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
erik%netscape.com
44ddbe4823 bug 18136; new table of font sizes for HTML sizes 1-7, based on testing
Nav4's fixed width fonts; r=pierre; a=rickg


git-svn-id: svn://10.0.0.236/trunk@61684 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 23:02:46 +00:00
erik%netscape.com
39509d8910 bug 18136; added new font size table, but currently #if'ed out; r=pierre;
a=rickg


git-svn-id: svn://10.0.0.236/trunk@61645 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 04:00:53 +00:00
pierre%netscape.com
1d2c2e416f Bug 18136/21950 "Fixing the font size mess". Implemented Todd Farhner's system in nsStyleUtil. Disabled the font size rounding code on Windows (see bug 24005). r=erik, a=rickg
git-svn-id: svn://10.0.0.236/trunk@61601 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 12:51:28 +00:00
troy%netscape.com
eb4d44f03f b=28635, a=rickg@netscape.com, r=vidur@netscape.com
Reduced the number of nsString objects allocated


git-svn-id: svn://10.0.0.236/trunk@61491 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 15:45:43 +00:00
dbaron%fas.harvard.edu
a57e32fdc7 Bug 28555: fix large leak of StyleContextImpl's. r=karnaze@netscape.com a=jar@netscape.com
git-svn-id: svn://10.0.0.236/trunk@61372 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-20 15:18:04 +00:00