Commit Graph

214 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
f6b1702067 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz 2002-11-17 15:37:56 +00:00
bernd.mielke%snafu.de
4abbad8856 Implement for table captions caption-side: left and right, also <caption align="left"> and right, further vertical-align:top, middle and bottom for table captions bug 3166 r=karnaze sr=kin 2002-11-08 05:29:34 +00:00
karnaze%netscape.com
f54367c783 bug 139524 - handle style of col's with spans. sr=kin, r=bernd 2002-09-15 03:45:10 +00:00
dbaron%fas.harvard.edu
3628be818c Make marquee 'display: block' so that styling it works correctly. (The XBL binding already forces block-like display.) b=163031 r=doron sr=kin 2002-08-19 18:43:17 +00:00
yokoyama%netscape.com
8d6be5d98d Bug 156979
XBL emulation of marquee.
/r=nhotta, timeless, /sr=jst, /a=asa
2002-07-26 17:47:16 +00:00
rods%netscape.com
4bb20f5f7a Set style in media print to turn off blinking
Bug 153092 r=rods sr=kin
2002-07-01 14:45:50 +00:00
jfrancis%netscape.com
d0375cdd06 bug 83378: plaintext mail reply problems editing quotes. r=fm, sr=kin 2002-06-12 14:14:18 +00:00
dbaron%fas.harvard.edu
e5a0855621 Fix crashes related to editing of HR elements by wrapping generated content for leaf frames in an extra frame so :before and :after are always the first/last children of the primary frame. Disable generated content for floating and absolutely positioned leaf frames. b=141054 sr=waterson r=kin 2002-06-12 03:27:48 +00:00
jkeiser%netscape.com
3e2a1902ca Rest of patch (partial commit before). Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com 2002-06-04 02:00:34 +00:00
roc+%cs.cmu.edu
6f4e473b18 Bug 50623. Don't forget background styles inherited from the initial context. This has the effect of making FRAME/IFRAME documents transparent by default. Also, make FRAME/IFRAME elements paint any background styles set on them. r=dbaron,sr=waterson 2002-05-31 03:20:23 +00:00
smontagu%netscape.com
42d9a13a9b Fix for bug 147183: Text shown inside JavaScript under title in IOL.co.il is aligned LTR rather than RTL. r=hixie, sr=jst 2002-05-29 19:42:07 +00:00
karnaze%netscape.com
1faf4c0592 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
jkeiser%netscape.com
76d7949470 Make noframes never show up. bug 134401, r=bzbarsky@mit.edu, sr=hewitt@netscape.com 2002-05-02 06:59:30 +00:00
gerv%gerv.net
0f7ebbdfe9 Bug 3935 - mozilla-native psuedo classes and properties should be marked as such. This fixes a number of them; still a few more to do. Patch by gerv, r=dbaron, sr=jst, a=asa. 2002-04-19 08:07:11 +00:00
cbiesinger%web.de
c68a53eadd bug 104825 r=caillon sr=attinasi
ABBR and ACRONYM should not have arrow/question cursor
2002-04-16 14:34:23 +00:00
karnaze%netscape.com
773d422073 bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov 2002-03-17 21:35:08 +00:00
karnaze%netscape.com
16016ee0cf bug 105742 - paint the outline of an image after the image content. a=roc, sr=attinasi, r=alexsavulov. 2002-03-12 15:35:52 +00:00
cmanske%netscape.com
a193d9c572 Fix selection of image on click, b=123727, r=brade, sr=kin, a=asa/drivers 2002-02-23 06:54:41 +00:00
bernd.mielke%snafu.de
5701a854e8 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
2002-02-21 05:36:16 +00:00
dbaron%fas.harvard.edu
21048cb4cf Fix regression that prevented 'font-size' from applying to list numbers. b=110360 sr=attinasi r=karnaze a=roc 2002-02-21 01:36:16 +00:00
karnaze%netscape.com
679c575202 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
blakeross%telocity.com
cd8e813edf 39070 - can't dnd images or <areas>. r=ben sr=hewitt 2002-02-03 00:06:12 +00:00
rods%netscape.com
00a2a4fa4d Adding new Frame to clip content area of page for Printing and PrintPreview
Bug 112698 r=dcone sr=waterson
2002-01-25 14:30:14 +00:00
waterson%netscape.com
ec88e5c87e Bug 86276. Allow :-moz-anonymous-block and :cell-content to apply in all namespaces. r=dbaron, sr=attinasi, a=blizzard 2002-01-16 23:41:54 +00:00
bzbarsky%mit.edu
1f4fa08671 fix computed style values for background and border properties on
tables.  Bug 98159, r=karnaze, sr=attinasi
2002-01-14 19:43:59 +00:00
karnaze%netscape.com
11af6aef5c bug 60365 - have caption inherit margin-left, margin-right, align=center from table. sr=attinasi, r=alexsavulov 2001-12-11 21:28:47 +00:00
dbaron%fas.harvard.edu
147c28fd22 Avoid applying all default rendering of HTML's table element to anonymous table objects. b=72358 r=hixie sr=attinasi 2001-11-11 01:35:25 +00:00
rods%netscape.com
37a4501149 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
2001-11-03 14:59:39 +00:00
dbaron%fas.harvard.edu
978c81f4e8 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 2001-10-31 02:53:47 +00:00
dbaron%fas.harvard.edu
c13d4f0b0c 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 2001-10-30 06:02:05 +00:00
bryner%netscape.com
03cd3c194e Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt. 2001-10-22 22:43:52 +00:00
attinasi%netscape.com
66bda7bfb1 Outline for links are now 'invert' instead of 'WindowText' color. b=73884 r=kmcclusk sr=kin 2001-10-03 00:10:00 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
hyatt%netscape.com
e1abe2c919 Fix for 71471. r=blake, sr=hewitt 2001-08-02 00:09:27 +00:00
attinasi%netscape.com
6c90a145e2 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
2001-06-22 06:42:57 +00:00
karnaze%netscape.com
a09256e383 bug 84378 - make whitespace:normal the default for tables (back the way it was before recent style changes), a=asa, sr=attinasi, r=alexsavulov 2001-06-13 02:32:26 +00:00
dbaron%fas.harvard.edu
b659af71e9 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 2001-06-09 01:32:19 +00:00
dbaron%fas.harvard.edu
d4918d0cb3 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
2001-06-05 01:00:11 +00:00
hyatt%netscape.com
b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
rods%netscape.com
2945ee5e62 adding pane/frameset/frame/iframe navigation
Bug 24423 r=joki,saari a=hyatt
2001-05-22 23:52:17 +00:00
harishd%netscape.com
d4272380d9 69455 - enable noframes content when frames are disabled
r=heikki,sr=waterson,a=choffmann
2001-04-21 22:22:15 +00:00
dbaron%fas.harvard.edu
75907de5fe 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 2001-04-09 23:05:43 +00:00
alecf%netscape.com
9d7ce42388 fix for bug 71852 sr=hyatt
fix trees by adding -xul to css property, so that scrolled boxes inherit their attributes appropriately
2001-03-14 07:34:04 +00:00
hyatt%netscape.com
4d01b576e2 Outliner files are not part of build.
The other files are a fix for bug #70809.  r=attinasi, sr=brendan
2001-03-06 02:27:50 +00:00
pollmann%netscape.com
cb9b8744e1 Bug 61605: Make <isindex> be a block element, r=jst@netscape.com sr=vidur@netscape.com 2001-02-06 00:49:32 +00:00
saari%netscape.com
9b46ffc535 Fix for 58957, plugins don't get key events on MacOS. r=bnesse, sr=hyatt 2001-01-11 08:17:36 +00:00
attinasi%netscape.com
e81ef90d10 <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 2000-12-14 18:34:05 +00:00
hyatt%netscape.com
8ddf4e7881 breaking out forms style rules into their own style sheet. a=ben@netscape.com 2000-12-01 08:26:36 +00:00
pinkerton%netscape.com
a3d4c053ef 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. 2000-11-29 06:01:33 +00:00
attinasi%netscape.com
9c8a885872 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 2000-11-02 23:46:22 +00:00
attinasi%netscape.com
286fc76baa Made rules for background on select buttons !important. b=57234 r=dbaron,rods a=buster 2000-10-30 22:25:49 +00:00
blakeross%telocity.com
5367802c2b Fix 55832: css "width: 100%" rendering incorrectly for button elements. patch by djoham@criadvantage.com. r=ianh a=ben, rtm++ 2000-10-11 23:50:37 +00:00
attinasi%netscape.com
f959a038e4 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 2000-10-11 08:33:01 +00:00
rods%netscape.com
965ad980fb 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
2000-10-04 13:39:07 +00:00
bryner%uiuc.edu
320b10e024 Fix for bug 53723 (gray form control on Linux). r=pierre, ianh,
pavlov.  sr/a=ben.
2000-10-04 00:38:03 +00:00
pierre%netscape.com
3b93ffe848 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 2000-09-21 10:20:23 +00:00
pierre%netscape.com
e275549edd 50804: nicer look for focus outlines. Fix sent by henris@clinet.fi, r=pierre. 2000-09-12 09:54:31 +00:00
rods%netscape.com
fd9585e532 adding rules for show text in a disabled state in the button element
b=41252 r=attinasi
2000-09-09 22:21:15 +00:00
rods%netscape.com
b63d9a4a60 changed fonts to use CSS3 fonts so they can be overridden
Bug 44656 r=kmcclusk
2000-09-06 14:18:02 +00:00
dbaron%fas.harvard.edu
cfceba7dca 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.
2000-09-06 02:17:26 +00:00
BlakeR1234%aol.com
deb4283b37 Really fix nsbeta3+ 38506 (same reviewer as before) 2000-08-29 23:29:24 +00:00
BlakeR1234%aol.com
6d8155ed3d The rest of the fix for bug 38506, same r=/a= (nsbeta3+) 2000-08-28 22:38:25 +00:00
BlakeR1234%aol.com
7a4202df09 Fix bug 38506, the user shouldn't be able to select the text of buttons. r=mjudge, a=nsbeta3+/PDT must fix 2000-08-26 01:45:46 +00:00
rods%netscape.com
239bac387a changed mozoutline to -moz-outline
b=48973 r=ianh
2000-08-25 14:28:22 +00:00
rods%netscape.com
6029b91d97 changed outline to be mozoutline temporarily
b=48973 r=attinasi
2000-08-24 13:51:48 +00:00
pierre%netscape.com
a4a9237d47 43420 + CSS3 update: renamed "text-align:-moz-default" into "text-align:start" 2000-08-17 13:28:18 +00:00
saari%netscape.com
4c09a29ac5 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
2000-08-08 21:31:05 +00:00
pierre%netscape.com
712ba3287b 43420 (textarea inherits align="center" from parent td) 2000-08-05 04:37:57 +00:00
rods%netscape.com
fe6d832c9f 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
2000-08-04 13:01:15 +00:00
BlakeR1234%aol.com
39a96ac4c5 Remove hover effects for HTML buttons (38427). r=me (simple commenting change), a=ekrock. 2000-08-03 22:58:06 +00:00
BlakeR1234%aol.com
51d7d41926 Bug 44474, improve html checkbox/radio button appearance, and bug 38427 2000-07-30 21:39:07 +00:00
BlakeR1234%aol.com
f8af76029b More work for bug 44474. 2000-07-30 21:29:35 +00:00
BlakeR1234%aol.com
31f902b123 Fix disabled style rules for HTML checkboxes and radio buttons (44474). a=ekrock 2000-07-30 03:09:37 +00:00
BlakeR1234%aol.com
85b46024d2 Rest of the fix for bug 44474. Improves the appearance of HTML radio buttons. a=ekrock 2000-07-30 03:03:31 +00:00
BlakeR1234%aol.com
0df1730a60 Part of fix for bug 44474, to improve upon the appearance of HTML checkboxes. a=ekrock 2000-07-29 22:11:44 +00:00
rods%netscape.com
38d6894ac8 image buttons need their font set for "alt" text
b=24778 r=kmcclusk
2000-06-16 12:56:02 +00:00
rbs%maths.uq.edu.au
26742e611c Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com 2000-06-15 09:54:41 +00:00
rickg%netscape.com
007d5e056d update viewsource style rules; r=attinasi 2000-06-10 02:50:01 +00:00
waterson%netscape.com
a721679b5c 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 2000-06-07 06:58:45 +00:00
attinasi%netscape.com
c115636333 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 2000-06-02 21:45:06 +00:00
rods%netscape.com
542c738619 setting legend's border to none so it loks better
b=36065, r=rickg
2000-06-02 21:01:20 +00:00
rods%netscape.com
88254d671c this change works better for standard mode and gets around a style bug.
b 38927, r=attinasi
2000-06-02 20:03:12 +00:00
rods%netscape.com
4a7e30f9a1 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
2000-06-02 13:58:19 +00:00
ben%netscape.com
3306bc392a forgot this file 2000-05-29 05:52:42 +00:00
rods%netscape.com
d5a1618026 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
2000-05-26 23:42:27 +00:00
evaughan%netscape.com
55816643f1 fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt
2000-05-26 06:42:29 +00:00
mjudge%netscape.com
74e2c8f8e9 changing style on dropdown list boxes to not allow selection. a=rickg r=cmanske 2000-05-18 18:18:31 +00:00
pollmann%netscape.com
09ba3e7d07 Bug 32746 (1 of 3): Make iframe borders compatible with IE's precedent here, inset rather than solid border. r=harishd 2000-05-16 21:45:55 +00:00
buster%netscape.com
ede42149f2 bug 29772
r=rods
added style rules to show text cursor over text and password input fields (except disabled fields)
2000-05-16 00:25:44 +00:00
rods%netscape.com
2c7b44334a minor changes to the disabled look for selects
b=35307
2000-05-15 22:22:24 +00:00
rods%netscape.com
9355eaebae added password to td rule
bug 37856
2000-05-08 21:19:07 +00:00
karnaze%netscape.com
46f707567e let outer table inherit top, right, bottom, left, opacity, z-index, clip from content 2000-05-04 03:00:07 +00:00
rods%netscape.com
136e587c64 cleaned up a lot of rules for buttons (html, submit, reset, input)
also changed rule so "active" style only shows when "hover"
2000-05-03 13:32:15 +00:00
rods%netscape.com
9e6ec09a69 fixed up display rule for comboboxes 2000-05-02 14:52:51 +00:00
karnaze%netscape.com
1053177d73 Fix for Linux bustage, bug 37643. Give outer table reflow state initial computed values of 0 to avoid excessive reflows from boxes. 2000-04-30 22:29:01 +00:00
rods%netscape.com
51583201ce removing some rules that just got put back in for some reason, karnaze can't figure out why either 2000-04-28 21:43:08 +00:00
karnaze%netscape.com
65511dc8d6 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.
2000-04-28 21:05:31 +00:00
rods%netscape.com
651ab295bb change added quotes around "file'
removed several unneeded rule for the select
added !important to -moz-option-selected attrs
b=36964, 25869
2000-04-28 20:24:35 +00:00
pierre%netscape.com
ef1931a1f8 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. 2000-04-28 10:02:12 +00:00
rods%netscape.com
620fc734b5 added white-space:pre to button rule so whitespace doesn't get stripped from the label of a button
b=37193
2000-04-26 05:17:39 +00:00