149 Commits

Author SHA1 Message Date
karnaze%netscape.com
009e7ede52 bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@116758 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 21:35:08 +00:00
karnaze%netscape.com
1c08f43c69 bug 105742 - paint the outline of an image after the image content. a=roc, sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@116407 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:35:52 +00:00
cmanske%netscape.com
2f6c26846e Fix selection of image on click, b=123727, r=brade, sr=kin, a=asa/drivers
git-svn-id: svn://10.0.0.236/trunk@115273 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 06:54:41 +00:00
bernd.mielke%snafu.de
764a1f1e58 patch by fantasai - removing standard table background painting as our old quirks mode background
painting is now more CSS2 compliant (the w3c published a errata) bug 4510
r=karnaze sr=attinasi a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115144 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 05:36:16 +00:00
dbaron%fas.harvard.edu
b1582a7dc4 Fix regression that prevented 'font-size' from applying to list numbers. b=110360 sr=attinasi r=karnaze a=roc
git-svn-id: svn://10.0.0.236/trunk@115128 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 01:36:16 +00:00
karnaze%netscape.com
430941b018 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@114937 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:48:28 +00:00
blakeross%telocity.com
6a2f5ed18a 39070 - can't dnd images or <areas>. r=ben sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@113544 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 00:06:12 +00:00
rods%netscape.com
fb493821d3 Adding new Frame to clip content area of page for Printing and PrintPreview
Bug 112698 r=dcone sr=waterson


git-svn-id: svn://10.0.0.236/trunk@112856 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 14:30:14 +00:00
waterson%netscape.com
1c0bf9e4d5 Bug 86276. Allow :-moz-anonymous-block and :cell-content to apply in all namespaces. r=dbaron, sr=attinasi, a=blizzard
git-svn-id: svn://10.0.0.236/trunk@112356 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 23:41:54 +00:00
bzbarsky%mit.edu
2a71c4da3b fix computed style values for background and border properties on
tables.  Bug 98159, r=karnaze, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@112077 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 19:43:59 +00:00
karnaze%netscape.com
7346b469f0 bug 60365 - have caption inherit margin-left, margin-right, align=center from table. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@110285 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 21:28:47 +00:00
dbaron%fas.harvard.edu
01e7c5fab7 Avoid applying all default rendering of HTML's table element to anonymous table objects. b=72358 r=hixie sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@107865 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 01:35:25 +00:00
rods%netscape.com
1100db8190 Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@107260 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 14:59:39 +00:00
dbaron%fas.harvard.edu
851c51369f Additional cleanup after bug 56117: prevent :first-letter from leading to style resolution on text nodes and stop all style resolution for placeholder frames (formerly :placeholder-frame pseudo-element) and for text following a :first-line pseudo-element (formerly :-moz-letter-frame pseudo-element). b=107534 r=waterson, attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@106793 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 02:53:47 +00:00
dbaron%fas.harvard.edu
9b135c4afe Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106640 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 06:02:05 +00:00
bryner%netscape.com
73a2cc7db6 Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@105981 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:43:52 +00:00
attinasi%netscape.com
475491b8d1 Outline for links are now 'invert' instead of 'WindowText' color. b=73884 r=kmcclusk sr=kin
git-svn-id: svn://10.0.0.236/trunk@104483 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:10:00 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
hyatt%netscape.com
d5f1d5af70 Fix for 71471. r=blake, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@100159 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 00:09:27 +00:00
attinasi%netscape.com
20db7e7609 Make floated tables non-floated so they print correctly (temporary hack). b=74738, r=kmcclusk sr=waterson a=waterson
Follow-Up bug to remove temporary hack is bug 85768


git-svn-id: svn://10.0.0.236/trunk@97763 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-22 06:42:57 +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
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