129 Commits

Author SHA1 Message Date
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
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
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
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
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
harishd%netscape.com
d2199013d8 69455 - enable noframes content when frames are disabled
r=heikki,sr=waterson,a=choffmann


git-svn-id: svn://10.0.0.236/trunk@92885 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-21 22:22:15 +00:00
dbaron%fas.harvard.edu
45a00c28bd Fix typo (missing commas) that caused some nested lists to have vertical margins when they shouldn't have had vertical margins. b=75132 r=disttsc@bart.nl, ian@hixie.ch sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@91788 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-09 23:05:43 +00:00
alecf%netscape.com
7dad5273fb fix for bug 71852 sr=hyatt
fix trees by adding -xul to css property, so that scrolled boxes inherit their attributes appropriately


git-svn-id: svn://10.0.0.236/trunk@89630 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:34:04 +00:00
hyatt%netscape.com
11b2e924f2 Outliner files are not part of build.
The other files are a fix for bug #70809.  r=attinasi, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@88614 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:27:50 +00:00
pollmann%netscape.com
63fba26584 Bug 61605: Make <isindex> be a block element, r=jst@netscape.com sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86267 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 00:49:32 +00:00
saari%netscape.com
7bd42a3c0b Fix for 58957, plugins don't get key events on MacOS. r=bnesse, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@84794 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 08:17:36 +00:00
attinasi%netscape.com
c0e4167483 <abbr> and <acronym> elements with title attributes are now styled with dotted underlines and get a help cursor by default. b=56702 r=rods sr=buster
git-svn-id: svn://10.0.0.236/trunk@83635 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 18:34:05 +00:00
hyatt%netscape.com
62ff2d462c breaking out forms style rules into their own style sheet. a=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83179 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 08:26:36 +00:00
pinkerton%netscape.com
0e07df9a54 Refactor some of the window key handler and add drag and drop handlers to the window root. Also move the html bindings (and platform bindings) to res, removing the chome dependency. a=hyatt.
git-svn-id: svn://10.0.0.236/trunk@83032 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 06:01:33 +00:00
attinasi%netscape.com
166568a2a7 Fixed regression: I had accidentally put the link-underlining rules back into html.css, regression bug 20760. r=peterl@netscape.com, sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@82248 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 23:46:22 +00:00
attinasi%netscape.com
9cd4597f96 Made rules for background on select buttons !important. b=57234 r=dbaron,rods a=buster
git-svn-id: svn://10.0.0.236/trunk@82049 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 22:25:49 +00:00
blakeross%telocity.com
eb73fadada Fix 55832: css "width: 100%" rendering incorrectly for button elements. patch by djoham@criadvantage.com. r=ianh a=ben, rtm++
git-svn-id: svn://10.0.0.236/trunk@80979 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 23:50:37 +00:00
attinasi%netscape.com
c8ab5d1344 Implemented the backend for the following prefs: Override Document colors, Override document fonts, Link and Visited link colors, and Underline links. Provided the ability to disable the preferences as well, so Composer can show changed fonts and colors. These changes are stewing on the trunk for a day or so before making their debut on the branch. b=40340, r=karnaze,pierre a=buster
git-svn-id: svn://10.0.0.236/trunk@80920 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 08:33:01 +00:00
rods%netscape.com
17abdbdfb2 Focus rect is now drawn and erased directly via C++ code. Focus comes from "SetFocus" being set
on the content node which calls the frame. The frame is notified of Blur via thecontent node
watching for NS_CONTENT_BLUR events.
The rule we are removing from html.css is responsible for drawing in the focus,
but it causes the combobox, the dropdown and all the options to have their style reresolved.
Bug 32920, r=attinasi, b=buster


git-svn-id: svn://10.0.0.236/trunk@80349 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 13:39:07 +00:00
bryner%uiuc.edu
61225739f7 Fix for bug 53723 (gray form control on Linux). r=pierre, ianh,
pavlov.  sr/a=ben.


git-svn-id: svn://10.0.0.236/trunk@80280 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 00:38:03 +00:00
pierre%netscape.com
290d99a73b bug 6625 et al: reconstruction of html.css, ua.css and quirks.css. Checked in for Ian Hickson (ianh@netscape.com). r=pierre a=buster
git-svn-id: svn://10.0.0.236/trunk@79753 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 10:20:23 +00:00
pierre%netscape.com
4eccb39e1d 50804: nicer look for focus outlines. Fix sent by henris@clinet.fi, r=pierre.
git-svn-id: svn://10.0.0.236/trunk@78861 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 09:54:31 +00:00
rods%netscape.com
61a9addb52 adding rules for show text in a disabled state in the button element
b=41252 r=attinasi


git-svn-id: svn://10.0.0.236/trunk@78643 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:21:15 +00:00
rods%netscape.com
e2be4f7a56 changed fonts to use CSS3 fonts so they can be overridden
Bug 44656 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@78263 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 14:18:02 +00:00
dbaron%fas.harvard.edu
e52da02292 Change uses of CSS properties not part of the CSS2 spec to use -moz- prefix. b=3935
Fix some CSS errors found with CSS parser error reporting, with Ben's approval.


git-svn-id: svn://10.0.0.236/trunk@78230 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:17:26 +00:00
BlakeR1234%aol.com
251ba0a3be Really fix nsbeta3+ 38506 (same reviewer as before)
git-svn-id: svn://10.0.0.236/trunk@77501 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:29:24 +00:00
BlakeR1234%aol.com
9613535ac8 The rest of the fix for bug 38506, same r=/a= (nsbeta3+)
git-svn-id: svn://10.0.0.236/trunk@77385 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 22:38:25 +00:00
BlakeR1234%aol.com
1af82369a5 Fix bug 38506, the user shouldn't be able to select the text of buttons. r=mjudge, a=nsbeta3+/PDT must fix
git-svn-id: svn://10.0.0.236/trunk@77231 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 01:45:46 +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
4bfdfc0737 changed outline to be mozoutline temporarily
b=48973 r=attinasi


git-svn-id: svn://10.0.0.236/trunk@77077 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 13:51:48 +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
saari%netscape.com
e1a79e8500 massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner


git-svn-id: svn://10.0.0.236/trunk@75805 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:31:05 +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
rods%netscape.com
be2c89358c removed content-box from radio and checkboxes and set their sizes appropriately
set the background-color for the select arrow button "buttonface" partial fix to Bug 43371
b=32102 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@75583 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 13:01:15 +00:00
BlakeR1234%aol.com
f442cb2995 Remove hover effects for HTML buttons (38427). r=me (simple commenting change), a=ekrock.
git-svn-id: svn://10.0.0.236/trunk@75544 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:58:06 +00:00
BlakeR1234%aol.com
2d48c6bdd2 Bug 44474, improve html checkbox/radio button appearance, and bug 38427
git-svn-id: svn://10.0.0.236/trunk@75214 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 21:39:07 +00:00
BlakeR1234%aol.com
dd974603d4 More work for bug 44474.
git-svn-id: svn://10.0.0.236/trunk@75213 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 21:29:35 +00:00
BlakeR1234%aol.com
9f4c5558d5 Fix disabled style rules for HTML checkboxes and radio buttons (44474). a=ekrock
git-svn-id: svn://10.0.0.236/trunk@75182 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 03:09:37 +00:00
BlakeR1234%aol.com
0b95d0a63e Rest of the fix for bug 44474. Improves the appearance of HTML radio buttons. a=ekrock
git-svn-id: svn://10.0.0.236/trunk@75181 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 03:03:31 +00:00
BlakeR1234%aol.com
3f5ec18e56 Part of fix for bug 44474, to improve upon the appearance of HTML checkboxes. a=ekrock
git-svn-id: svn://10.0.0.236/trunk@75169 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 22:11:44 +00:00
rods%netscape.com
2597ebacec image buttons need their font set for "alt" text
b=24778 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@72369 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 12:56:02 +00:00
rbs%maths.uq.edu.au
de23cc3486 Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72300 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 09:54:41 +00:00
rickg%netscape.com
d6318bdd3b update viewsource style rules; r=attinasi
git-svn-id: svn://10.0.0.236/trunk@71962 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 02:50:01 +00:00
waterson%netscape.com
123229267d Bugs 35935, 34862, 41521. Make sure to make 'special' frames blocks inside of relatively-positioned inlines; be sure to destroy special siblings, and crawl to outermost 'normal' frame when reframing containing block; handle 'special' frames in StyleChangeReflow(). r=buster
git-svn-id: svn://10.0.0.236/trunk@71705 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 06:58:45 +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
rods%netscape.com
149c755d54 setting legend's border to none so it loks better
b=36065, r=rickg


git-svn-id: svn://10.0.0.236/trunk@71386 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 21:01:20 +00:00
rods%netscape.com
8eb721e625 this change works better for standard mode and gets around a style bug.
b 38927, r=attinasi


git-svn-id: svn://10.0.0.236/trunk@71378 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 20:03:12 +00:00
rods%netscape.com
12bf4c29f0 added hover cursor change for type=image Bug 40440
made inner rect for focus have inherit for color instead of hard-coded gray Bug 38927
also added quotes to several selectors (i.e. from type=xxx to type="xxx")
r=dcone,attinasi


git-svn-id: svn://10.0.0.236/trunk@71367 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 13:58:19 +00:00
ben%netscape.com
df2cbe06de forgot this file
git-svn-id: svn://10.0.0.236/trunk@71044 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 05:52:42 +00:00
rods%netscape.com
746896d6d8 adding padding to disabled radio buttons
set font for html buttons
removed some unneeded rules
commnted out and "disabled" the label property for options
b 40065,39998 r=ekrock,self


git-svn-id: svn://10.0.0.236/trunk@70970 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:42:27 +00:00