1307 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
649e5141cf Fix bustage from scc's checkin for bug 85271.
git-svn-id: svn://10.0.0.236/trunk@97296 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 07:38:01 +00:00
blakeross%telocity.com
3a0024504a Textarea scrollbars have wrong cursor (65540). r=kerz sr=hewitt a=asa
git-svn-id: svn://10.0.0.236/trunk@97083 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 21:33:19 +00:00
karnaze%netscape.com
692b26c9d8 bug 84378 - make whitespace:normal the default for tables (back the way it was before recent style changes), a=asa, sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@97032 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 02:32:26 +00:00
rods%netscape.com
820b95f106 Backing change for Bug 82626, looks like round-off error in line height calculation
git-svn-id: svn://10.0.0.236/trunk@96877 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-11 19:29:14 +00:00
dbaron%fas.harvard.edu
78ac4ca4b3 Make implied universal selectors be equivalent to ns|* where ns is the default namespace, and make appropriate changes to our CSS files. This brings us into conformance with the CSS3 selectors draft and improves performance by reducing the number of universally hashed selectors. Most of this patch is by attinasi. (35847, 83482) Also make first-node/last-node rules in quirks.css non-universal to improve performance. (83839) r=rbs sr=waterson a=asa b=35847
git-svn-id: svn://10.0.0.236/trunk@96767 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 01:32:19 +00:00
rods%netscape.com
95b1c939cc setting line-height to 1em ! important, selects should not inherit the line height
nor should users be able to set it.
Bug 82626 r=kmcclusk sr=hyatt a=asa


git-svn-id: svn://10.0.0.236/trunk@96711 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 13:04:17 +00:00
attinasi%netscape.com
77a03ef874 Disable Quirk ruels for XUL documents by setting the compatibility mode to Standard. b=83495 r=dbaron sr=hyatt a=blizzard
git-svn-id: svn://10.0.0.236/trunk@96568 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 23:34:17 +00:00
rods%netscape.com
dd18adf0c6 removed "! important" for input text so allows users to tailer border sizes
This reopens bug 25580, which I have marked won't fix
Fixes Bug 55336 r=kmcclusk sr=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@96428 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 12:52:37 +00:00
dbaron%fas.harvard.edu
d1140fa5b3 Miscellaneous performance fixes related to selector matching:
* cut in half the number of (expensive, universally hashed) selectors needed for many UA-stylesheet :link and :visited rules by implementing :-moz-any-link (bug 83484)
 * remove most of EnumerateTagRules since most of it does no useful work (bug 83506)
 * avoid refcounting of atoms for stack-based hash keys (bug 83511)
 * add logging (turned off, except for me) to evaluate effectiveness of RuleHash
 * add a namespace hash, which will be a big win once bug 35847 is fixed (bug 83497)
 * avoid repeated reallocation of mEnumList by setting the initial length to a minimum of 8
 * remove an unneeded variable in the beginning of SelectorMatches
 * fix one case in CSS error reporting (bug 65469), not part of default build
b=83482  r=attinasi@netscape.com  sr=waterson@netscape.com  a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@96389 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 01:00:11 +00:00
hyatt%netscape.com
b4905f36bc Fix for 83613. r=dbaron, sr=brendan, a=leaf
git-svn-id: svn://10.0.0.236/trunk@96189 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-01 21:04:23 +00:00
dbaron%fas.harvard.edu
47e48fa66e Adding newline to end of file to fix HP bustage.
git-svn-id: svn://10.0.0.236/trunk@96146 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 23:59:22 +00:00
hyatt%netscape.com
b7b1cb3691 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
dbaron%fas.harvard.edu
63ff65123f Fix build bustage within |#ifdef CSS_REPORT_PARSE_ERRORS| resulting from scc's string changes for bug 75220. Not part of default build. r=glazman a=tor
git-svn-id: svn://10.0.0.236/trunk@95826 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 14:18:38 +00:00
rods%netscape.com
882b0d68a5 adding pane/frameset/frame/iframe navigation
Bug 24423 r=joki,saari a=hyatt


git-svn-id: svn://10.0.0.236/trunk@95734 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 23:52:17 +00:00
dbaron%fas.harvard.edu
d4c259efad Work around crash by using nsSupportsArray::Clone instead of the buggy (82133) nsSupportsArray::AppendElements. Patch from glazman@netscape.com, r=dbaron, sr=attinasi, b=80057
git-svn-id: svn://10.0.0.236/trunk@95685 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 20:53:00 +00:00
peterv%netscape.com
b5b28ccdae Fixing regression bug 81918 (Setting preferred style sheet via HTTP headers is broken). r=glazman, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@95596 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 13:01:41 +00:00
jst%netscape.com
2088775c72 Removing #include...
git-svn-id: svn://10.0.0.236/trunk@95581 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 03:14:39 +00:00
mkaply%us.ibm.com
9ee3e47d06 #76020
r=waterson, sr=attinasi
Remove mDefaultDirection stuff - IBMBIDI does this correctly


git-svn-id: svn://10.0.0.236/trunk@95575 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-20 22:44:05 +00:00
jst%netscape.com
535c86019d scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances.
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
peterv%netscape.com
f74c7ea12a Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst.
git-svn-id: svn://10.0.0.236/trunk@95505 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 02:59:15 +00:00
dbaron%fas.harvard.edu
7e35584730 Simplify implementation of quirk for DD not in DL using :not() to improve performance (since we handle |content: ""| differently from the default). b=77954 r=hixie sr=waterson
git-svn-id: svn://10.0.0.236/trunk@95456 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 23:09:54 +00:00
ftang%netscape.com
4cc3945877 fix bug 80552 r=ftang r/sr=jst
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable


git-svn-id: svn://10.0.0.236/trunk@95132 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 13:40:08 +00:00
harishd%netscape.com
8e7bf84767 75641 - Fixing MLK caused by unclosed FONT tags ( penguin.html )
r=heikki sr=waterson
77352 - Making sure that the heading tags' size takes precedence over
residual style tags' size info.
r=pollmann sr=attinasi
57248 - Moved attribute entity parsing to the parser land.
r=heikki sr=jst.


git-svn-id: svn://10.0.0.236/trunk@95062 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 22:32:26 +00:00
jst%netscape.com
f3be9f08c8 Checking in Boris Zbarsky's (bzbarsky@mit.edu) fix for bug 79818, making more CSSRules implement DOM interfaces. r=bryner, sr=jst
git-svn-id: svn://10.0.0.236/trunk@94975 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 08:26:13 +00:00
glazman%netscape.com
fe602274b6 nsDOMCSSDeclaration::GetCssText not implemented; b=79722, r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@94974 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 08:25:03 +00:00
nhotta%netscape.com
a630ef95fb Changed to make string as array so sizeof returns number of characters instead of a size of a pointer,
this fixes a wrong offset problem for parsing charset, bug 80114, r=attinasi, sr=blizzard.


git-svn-id: svn://10.0.0.236/trunk@94921 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 03:03:19 +00:00
glazman%netscape.com
e8a9d2d00d ViewCSS.getComputedStyle() returns empty list; b=62697, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@94881 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 11:23:53 +00:00
anthonyd%netscape.com
8bf80dd0cf rechecking in fix for 59005
r=rods
sr=kin


git-svn-id: svn://10.0.0.236/trunk@94564 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 02:33:50 +00:00
harishd%netscape.com
79bb25c122 77746 - Remove style from the style stack on encountering the appropritate end tag.
78202 - Added text-decoration property for GetComputedStyle.
26347 - Anchor ( special element ) should be able to close phrasel elements
78140 - Putting back list-style-image support for getComputedStyle that got removed accidently.

r=heikki
sr=jst


git-svn-id: svn://10.0.0.236/trunk@94319 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 03:29:09 +00:00
jst%netscape.com
9d299d36ce Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94238 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 16:46:42 +00:00
mkaply%us.ibm.com
60245648b5 #78728
r=pierre, sr=waterson
Change bool/true/false cases to PRBool/PR_TRUE/PR_FALSE


git-svn-id: svn://10.0.0.236/trunk@94236 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 14:19:01 +00:00
ftang%netscape.com
7f43aa39c6 fix #ifdef IBMBID bustage
change other.mUnicodeBidi to other->mUnicodeBidi
r=noone sr=onone


git-svn-id: svn://10.0.0.236/trunk@94222 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 08:13:12 +00:00
glazman%netscape.com
8ed00123b0 getComputedStyle was not implemented for text-align property; b=78709, r=harishd, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@93929 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 11:30:34 +00:00
pierre%netscape.com
e00b2f1c8b Fixed bloat metrics: added MOZ_COUNT_CTOR/MOZ_COUNT_DTOR to the style blobs.
git-svn-id: svn://10.0.0.236/trunk@93879 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 02:22:41 +00:00
jdunn%netscape.com
0a56c48c58 Fixing tinderbox bustage
fixing per pierre's suggested patch on the n.p.m.b
r=pierre@netscape.com,jdunn@netscape.com


git-svn-id: svn://10.0.0.236/trunk@93825 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 20:37:06 +00:00
mkaply%us.ibm.com
b450a2a271 OS/2 TB break - forgot a false
git-svn-id: svn://10.0.0.236/trunk@93814 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 18:05:27 +00:00
mkaply%us.ibm.com
34ee7334f5 OS/2 TB break - need to change true to PR_TRUE and false to PR_FALSE
git-svn-id: svn://10.0.0.236/trunk@93805 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 16:09:42 +00:00
pierre%netscape.com
b09cf8f855 Changed 2 stray |bool|s to |PRBool| to make OS/2 happy. Thanks to dbaron.
git-svn-id: svn://10.0.0.236/trunk@93802 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 15:40:05 +00:00
pierre%netscape.com
287fc1dc9e 43457: change the mutable style context APIs, disable style context sharing, implement style data sharing. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@93798 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 13:20:48 +00:00
pierre%netscape.com
0583c197e4 78541 Typos in nsCSSStyleRule.cpp. Fix by sfraser, r=valeski.
git-svn-id: svn://10.0.0.236/trunk@93779 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 07:39:57 +00:00
pierre%netscape.com
c4fd4ad4a4 74773 UMR in AccumulateCRC(). r=attinasi
git-svn-id: svn://10.0.0.236/trunk@93638 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 10:55:08 +00:00
pierre%netscape.com
dd850a3666 14448 'border' property not resetting 'border-color' to initial value. tested=dbaron/hixie
git-svn-id: svn://10.0.0.236/trunk@93636 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 10:31:31 +00:00
pierre%netscape.com
ea7430e62c 66190 External style sheet with unrecognized charset is ignored / 63502 Content-Style-Type don't ignore parameters. r=attinasi/glazman
git-svn-id: svn://10.0.0.236/trunk@93633 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 10:24:33 +00:00
rbs%maths.uq.edu.au
686940d9b8 Restore default fixed-font that was inadvertently changed b=76531
git-svn-id: svn://10.0.0.236/trunk@93626 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 07:40:37 +00:00
rbs%maths.uq.edu.au
4585cb0bec Fix bug 76567 (load viewsource.css on demand rather than at startup). Patch mostly by bzbarsky@mit.edu r=harishd,brendan sr=jst
git-svn-id: svn://10.0.0.236/trunk@93619 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 04:53:38 +00:00
blakeross%telocity.com
51dc7db720 View source uses background from prefs and hardcoded text color (62678, patch by bzbarsky@mit.edu). r=dbaron sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@93517 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 03:19:46 +00:00
dbaron%fas.harvard.edu
81d8f8c076 Fix OS/2 bustage. |nsISupportsArrayEnumFunc| should not have |PR_CALLBACK|.
git-svn-id: svn://10.0.0.236/trunk@93378 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 04:30:42 +00:00
dbaron%fas.harvard.edu
6af2d87084 Fix unneeded construction of |nsAutoString|s in |SelectorMatches| by pulling one out of a loop and rewriting matching of ^= and $= CSS3 selectors to remove the other. b=77063 r=glazman@netscape.com sr=attinasi@netscape.com
Fix O(N^2) cascading by replacing insertion into one large |nsISupportsArray| with appending into a hashtable (hashed by weight) of |nsISupportsArray| and then combining those arrays into the larger array.  b=77066  r=attinasi@netscape.com  sr=waterson@netscape.com
Reduce construction of |SelectorMatchesData| by retaining (so they can be used for matching other selectors) any new ones constructed in |SelectorMatchesTree| until the one originally passed to |SelectorMatchesTree| is destroyed.  b=77090  r=attinasi@netscape.com  sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@93351 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 02:16:16 +00:00
heikki%netscape.com
466eb9093d Bugs 65848 and 75031, support for application/xml and application/xhtml+xml mime types. This also fixes almost all of content to use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2. r=harishd, valeski (mime types), sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@93171 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 19:33:12 +00:00
disttsc%bart.nl
7c4e9936ee Bug 76531: "view source uses hard-coded pixel font size", author=Boris Zbarsky <bzbarsky@mit.edu>, r=rbs@maths.uq.edu.au, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@93131 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 10:09:06 +00:00