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
sfraser%netscape.com
f72dc9c694
Fix the static nsCOMPtr<nsIAtom> atom("type"), replacing it with nsHTMLAtoms::type, to fix an assertion on shutdown.
...
git-svn-id: svn://10.0.0.236/trunk@70245 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:23:59 +00:00
shaver%mozilla.org
f792546214
Significantly reduce the amount of time we blow on style reresolution by
...
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those. In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away. Fixed 38378, r=brendan, booyah.
Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code. Fixed 21879, r=brendan, boo_yah_.
git-svn-id: svn://10.0.0.236/trunk@69948 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:43:33 +00:00
attinasi%netscape.com
32ce610d53
Added support for simple xlinks: we now treat simple xlinks like links for styling. b=38026 r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@69891 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:30:27 +00:00
jst%netscape.com
757b271c1a
More WIP on getComputedStyle(), not part of the build yet.
...
git-svn-id: svn://10.0.0.236/trunk@69718 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 01:59:05 +00:00
jst%netscape.com
04bccbd8fa
Adding a very primitive readonly implementation of CSSPrimitiveValue. Not part of the build yet.
...
git-svn-id: svn://10.0.0.236/trunk@69717 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 01:58:26 +00:00
jst%netscape.com
4e40fded47
WIP for getComputedStyle().
...
git-svn-id: svn://10.0.0.236/trunk@69714 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 01:33:27 +00:00
jst%netscape.com
f37851bcbd
In stead of throwing an exception when the user asks for the owner rule of style sheet we return null.
...
git-svn-id: svn://10.0.0.236/trunk@69568 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 18:10:24 +00:00
michael.lowe%bigfoot.com
89eff2adf7
Implement CSS3 cursors on Windows
...
git-svn-id: svn://10.0.0.236/trunk@68568 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 05:14:43 +00:00
attinasi%netscape.com
f89065c311
Tables now inherit backgrond color and image into the cells and allow them to paint instead in quirks mode (the way it originally was). b=34838
...
git-svn-id: svn://10.0.0.236/trunk@68259 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:41:02 +00:00
attinasi%netscape.com
921df5eb29
Change to disallow underscore character in identifiers, as required in the CSS2 spec. Fix contributed by VYV03354@nifty.ne.jp, r=attinasi@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@68257 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:36:49 +00:00
jst%netscape.com
b15a5bb348
New files needed for getComputedStyle(). Not part of the build yet.
...
git-svn-id: svn://10.0.0.236/trunk@68182 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 00:07:33 +00:00
attinasi%netscape.com
5f1b41704f
Applied patch from VYV03354@nifty.ne.jp to make class names specified in non-ASCII characters recognizable as parts of selectors. b=38038,35800.
...
git-svn-id: svn://10.0.0.236/trunk@68153 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:12:58 +00:00
jst%netscape.com
09a726c20d
WIP for supporting setting the cssText property on css declarations through the CSS DOM, approved and partly reviewed by Pierre.
...
git-svn-id: svn://10.0.0.236/trunk@68135 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:42:00 +00:00
waterson%netscape.com
235aa7a8f3
Bug 37853. Add MOZ_COUNT_[C|D]TOR calls to the objects allocated from nsCSSDeclaration. r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@68116 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:21:30 +00:00
mkaply%us.ibm.com
de7be3a9e5
# 34082
...
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge
git-svn-id: svn://10.0.0.236/trunk@67947 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:07:11 +00:00
jst%netscape.com
f59ae4bac2
The string returned from CSSStyleDeclaration::removeProperty() should only contain the old value, not the property name.
...
git-svn-id: svn://10.0.0.236/trunk@67801 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:24:45 +00:00
jst%netscape.com
ca090e77c3
Fix for bug #30492 and last part of #9876 . Setting a style property to an empty string through the DOM now removes the property.
...
git-svn-id: svn://10.0.0.236/trunk@67782 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:59:54 +00:00
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