1019 Commits

Author SHA1 Message Date
pollmann%netscape.com
dd5751cc82 Bug 32746 (1 of 3): Make iframe borders compatible with IE's precedent here, inset rather than solid border. r=harishd
git-svn-id: svn://10.0.0.236/trunk@70096 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:45:55 +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
buster%netscape.com
64de8f0ada bug 29772
r=rods
added style rules to show text cursor over text and password input fields (except disabled fields)


git-svn-id: svn://10.0.0.236/trunk@69927 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:25:44 +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
rods%netscape.com
7038a1008c minor changes to the disabled look for selects
b=35307


git-svn-id: svn://10.0.0.236/trunk@69888 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:22:24 +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
scc%netscape.com
ebeba6679b string fixes
git-svn-id: svn://10.0.0.236/trunk@69692 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 23:06:18 +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
rods%netscape.com
32bbf34604 added password to td rule
bug 37856


git-svn-id: svn://10.0.0.236/trunk@68712 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 21:19:07 +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
erik%netscape.com
7430aa9ab0 bug 26237; added support for HTML LANG attribute -- it now uses the fonts
specified by the user for elements with the LANG attribute when the font
is a CSS generic (e.g. serif); r=pierre


git-svn-id: svn://10.0.0.236/trunk@68421 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:04:36 +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
karnaze%netscape.com
cd525940c1 let outer table inherit top, right, bottom, left, opacity, z-index, clip from content
git-svn-id: svn://10.0.0.236/trunk@68198 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 03:00:07 +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
rods%netscape.com
b1ad3ba665 cleaned up a lot of rules for buttons (html, submit, reset, input)
also changed rule so "active" style only shows when "hover"


git-svn-id: svn://10.0.0.236/trunk@68076 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 13:32:15 +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
rods%netscape.com
970c96d7ee fixed up display rule for comboboxes
git-svn-id: svn://10.0.0.236/trunk@67902 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 14:52:51 +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
karnaze%netscape.com
bd1b930f20 Fix for Linux bustage, bug 37643. Give outer table reflow state initial computed values of 0 to avoid excessive reflows from boxes.
git-svn-id: svn://10.0.0.236/trunk@67684 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 22:29:01 +00:00
rods%netscape.com
4836043074 removing some rules that just got put back in for some reason, karnaze can't figure out why either
git-svn-id: svn://10.0.0.236/trunk@67570 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 21:43:08 +00:00
karnaze%netscape.com
47f205f65f new reflow/layout code for outer table to handle captions and margins. better % height handling.
row groups and rows don't include external cellspacing in there dimensions. r=troy.


git-svn-id: svn://10.0.0.236/trunk@67566 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 21:05:31 +00:00
rods%netscape.com
62e15bf5cf change added quotes around "file'
removed several unneeded rule for the select
added !important to -moz-option-selected attrs
b=36964, 25869


git-svn-id: svn://10.0.0.236/trunk@67547 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:24:35 +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
rods%netscape.com
7ec2dc0089 added white-space:pre to button rule so whitespace doesn't get stripped from the label of a button
b=37193


git-svn-id: svn://10.0.0.236/trunk@67198 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 05:17:39 +00:00
mjudge%netscape.com
3cd9a051da making string conversions explicit. scc
git-svn-id: svn://10.0.0.236/trunk@67161 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:13:55 +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
putterman%netscape.com
97e6e61f3c Backing out troy's changes to fix various UI blocker bugs.
git-svn-id: svn://10.0.0.236/trunk@66999 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:15:55 +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