dbaron%fas.harvard.edu
58582b97ac
Add code to allow the CSS parser to report errors. This code is not enabled by default in any builds, but it could be useful for chrome authors to catch CSS errors. We may want to turn it on in debug builds at some point, but it needs some work first. r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@78236 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:27:46 +00:00
dbaron%fas.harvard.edu
dd86f988cd
Change the names of CSS properties that are not part of the CSS2 specification by adding a -moz- prefix. Change the names of those that are used internally to use -x-, just for documentation. b=3935 r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@78227 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:15:18 +00:00
dbaron%fas.harvard.edu
ea1cb20f01
Fix build warning by renaming variable. r=disttsc@bart.nl
...
git-svn-id: svn://10.0.0.236/trunk@78120 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 02:08:41 +00:00
rods%netscape.com
bd47515025
changed mozoutline to -moz-outline
...
b=48973 r=ianh
git-svn-id: svn://10.0.0.236/trunk@77205 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 14:28:22 +00:00
rods%netscape.com
cd160a660f
Temporarily changed outline to be mozoutline, this will enable us to get links
...
to show a focus rect. When we get outlines really working, then mozoutline will go away.
b=48973 r=attinasi
git-svn-id: svn://10.0.0.236/trunk@77076 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 13:45:48 +00:00
cltbld%netscape.com
0806b17f98
Fixing solaris bustage -jst,mcafee
...
git-svn-id: svn://10.0.0.236/trunk@76977 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 21:38:20 +00:00
jst%netscape.com
c32827a181
Fix for Solaris bustage.
...
git-svn-id: svn://10.0.0.236/trunk@76974 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 20:41:13 +00:00
jst%netscape.com
7e0575bfee
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
...
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
rods%netscape.com
ba8b6b0deb
In NavQuirks mode it makes the default font for CSS3 fonts: button, field, caption sans-serif
...
b=33312 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@76957 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 10:28:28 +00:00
jband%netscape.com
f84dc01556
Use hastable based nsStaticNameTable rather than slower and fatter AVLTree for static names. fix bug 48855. r=harishd,attinasi
...
git-svn-id: svn://10.0.0.236/trunk@76874 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 06:57:32 +00:00
warren%netscape.com
895569159c
Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil.
...
git-svn-id: svn://10.0.0.236/trunk@76761 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 21:29:10 +00:00
scc%mozilla.org
a0a2b1b7fe
fixing code that relied on implicit string construction
...
git-svn-id: svn://10.0.0.236/trunk@76727 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:23:46 +00:00
pierre%netscape.com
413d134dfe
43420 + CSS3 update: renamed "text-align:-moz-default" into "text-align:start"
...
git-svn-id: svn://10.0.0.236/trunk@76558 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 13:28:18 +00:00
dbaron%fas.harvard.edu
1adb256d88
Reduce the risk of parser leaks by releasing the parsers owned by CSSLoaders when no longer needed. r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@76478 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:04:42 +00:00
pierre%netscape.com
83df3e3c44
48096: Need a -moz-all value for user-select. r=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@76187 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 01:00:14 +00:00
dbaron%fas.harvard.edu
5c4eea6dd3
Fix huge leak warren introduced last night. Changing the hash keys to have owning pointers caused circular ownership. r=waterson b=48373 (nsbeta3+)
...
git-svn-id: svn://10.0.0.236/trunk@76013 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 20:08:30 +00:00
warren%netscape.com
e5706a7236
Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
pierre%netscape.com
7393600e1b
47138: Some invalid units are not resulting in dropped declarations.
...
15174: counter() and counters() should not be recognized by CSS parser.
git-svn-id: svn://10.0.0.236/trunk@75744 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 00:34:42 +00:00
dbaron%fas.harvard.edu
a0c7410ceb
Fix potential leak. r=attinasi a=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75698 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 03:06:22 +00:00
pierre%netscape.com
892645b8c6
attempt to fix the SunOS build
...
git-svn-id: svn://10.0.0.236/trunk@75643 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 06:39:42 +00:00
pierre%netscape.com
6e8b05fbf3
9816 (Outlines should be disabled completely for FCS)
...
46562 ('display: run-in' disables whole declaration block)
45804 (In quirks mode, 0 in 'border' should set the width, not the color)
46547 (Background image not centered correctly)
Thanks to emk <VYV03354@nifty.ne.jp>
git-svn-id: svn://10.0.0.236/trunk@75638 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 04:40:03 +00:00
pierre%netscape.com
1dc88b3a49
46599 (nsCSSLoader should check for local file before passing FORCE_RELOAD)
...
git-svn-id: svn://10.0.0.236/trunk@75637 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 04:39:43 +00:00
pierre%netscape.com
47661c52c3
43420 (textarea inherits align="center" from parent td)
...
git-svn-id: svn://10.0.0.236/trunk@75635 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 04:37:57 +00:00
attinasi%netscape.com
ad73ad64b4
Part of fix to allow background on BODY element to be inherited. b=47127 r=pierre
...
git-svn-id: svn://10.0.0.236/trunk@75598 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 20:44:08 +00:00
hyatt%netscape.com
a9d2806621
Fix for 46129. r=waterson,attinasi,pierre
...
git-svn-id: svn://10.0.0.236/trunk@75047 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 09:36:51 +00:00
dbaron%fas.harvard.edu
38b11b0554
Improve performance of testing for visited links CSS selector matching by reducing string conversion and by caching the state of the link on the link element. r=waterson b=25963
...
git-svn-id: svn://10.0.0.236/trunk@74961 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:17:53 +00:00
attinasi%netscape.com
9883f75dbb
Checkin for timeless@bemail.org: Fixed rounding error making LARGER work for font sizes less than 9px. b=12461, r=attinasi@netscape.com,disttsc@bart.nl a=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@74390 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 21:48:51 +00:00
jst%netscape.com
a607a900c8
Fixing nsbeta2+ bug 44001, nulling out output parameters to avoid crasing. r=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@74071 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 02:15:27 +00:00
attinasi%netscape.com
8bfb7bdd72
Reversed the order of testing for link-elements so that the most common (anchors) are tested first. Update to earlier checkin.
...
git-svn-id: svn://10.0.0.236/trunk@72852 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:41:25 +00:00
attinasi%netscape.com
7eb58b89d3
Fixed bug 6306: AREA and LINK elements are now treated like links when it comes to matching selectors. Cleaned up SelectorMatches as well by moving link-logic into new method. r=kmcclusk@netscape.com b=6306
...
git-svn-id: svn://10.0.0.236/trunk@72842 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:48:21 +00:00
waterson%netscape.com
ffe15b5764
Use NS_LITERAL_STRING instead of an nsAutoString to avoid copy/inflate on platforms that support two-byte wchar_t. r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@72637 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 05:45:07 +00:00
jst%netscape.com
6af64ec54b
Fixing nsbeta2+ bug 39892. Adding support for getting the computed value of the 'behavior' property with getComputedStyle(). r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@72155 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 00:06:36 +00:00
attinasi%netscape.com
d263a60d9c
Fixed problem where anchors with no HREF were being styled like links in composer. b=31594 r=kmcclusk
...
git-svn-id: svn://10.0.0.236/trunk@71737 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 23:07:57 +00:00
pierre%netscape.com
b308cf318d
Checked back in the backed out code (41321) after doing a minor fix in nsCSSValue.cpp (41618)
...
git-svn-id: svn://10.0.0.236/trunk@71601 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 09:36:12 +00:00
pierre%netscape.com
225e6c27b2
Backed out the previous changes (41321, waterson/attinasi) because of the regression in 41618.
...
git-svn-id: svn://10.0.0.236/trunk@71590 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 06:50:21 +00:00
mkaply%us.ibm.com
9d4a029884
# 37239
...
r = jst, a = waterson
OS/2 bringup - PR_CALLBACK for VisualAge
git-svn-id: svn://10.0.0.236/trunk@71532 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 19:15:32 +00:00
warren%netscape.com
cc5d426fbe
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
...
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
waterson%netscape.com
f39433e11c
Bug 41321. Use PRUnichar* instead of nsString* to store string values for nsCSSValue and nsHTMLValue. r=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@71406 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:54:35 +00:00
attinasi%netscape.com
3da8003982
Implemented QuirkMode style sheet and moved some initial quirk style rules from html.css to the new quirk.css. b=38026 r=rods a=karnaze
...
git-svn-id: svn://10.0.0.236/trunk@71391 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 21:45:06 +00:00
waterson%netscape.com
aeed9836c3
Bug 29611. Use 'GetHref()' to retrieve anchor tag's href. r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@71338 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 04:27:47 +00:00
mstoltz%netscape.com
8d64704489
Fix for 16858 w/o breaking directory browser. r=waterson a=beard
...
git-svn-id: svn://10.0.0.236/trunk@71307 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:57:48 +00:00
attinasi%netscape.com
a9a853f825
Floated elements now get their display type set to a block, in compliance with the CSS1 specification. Also, positioned elements get their float property cleared. b=32200 r=karnaze a=karnaze
...
git-svn-id: svn://10.0.0.236/trunk@71302 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:31:00 +00:00
shaver%mozilla.org
6e2756c80d
properly handle updating of class or id, #39642 , r=attinasi, a=waterson
...
git-svn-id: svn://10.0.0.236/trunk@71169 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 20:00:31 +00:00
mkaply%us.ibm.com
112434216b
# 37239
...
r = rickg, a = brendan
OS/2 bringup continues on M16 - Changes for VisualAge build (PR_CALLBACK)
git-svn-id: svn://10.0.0.236/trunk@71166 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 14:09:34 +00:00
waterson%netscape.com
4a050fe624
#if-0 out mstoltz's changes to fix tinderbox.
...
git-svn-id: svn://10.0.0.236/trunk@70994 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 05:22:39 +00:00
mstoltz%netscape.com
21edbcf9bf
Fixed bug in DOM security checks, fixes bug 37907, 23516. Added security check for htmlelement.innerhtml, fixes 39083. Added location check to BASE HREF=, fixes 35859. r=vidur. Added check to style= tag, fixes 16858, r=pierre.
...
git-svn-id: svn://10.0.0.236/trunk@70965 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:28:40 +00:00
carl.wong%intel.com
5632825acd
Fixed bug#39134 (reference count leak in SheetLoadData). r=attinasi@netscape.com a=leaf@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@70399 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 18:29:30 +00:00
jst%netscape.com
383782079d
Make this a bit safer to use.
...
git-svn-id: svn://10.0.0.236/trunk@70345 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:26:23 +00:00
jst%netscape.com
91243dfcb6
Hook up new property and fix a crasher.
...
git-svn-id: svn://10.0.0.236/trunk@70334 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:13:43 +00:00
jst%netscape.com
30e91e2d64
Adding computed style implementation to the build, and make it compile on windows.
...
git-svn-id: svn://10.0.0.236/trunk@70287 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:57:50 +00:00