204 Commits

Author SHA1 Message Date
dbaron%dbaron.org
bb49723daa Fix crash relating to uninitialized floats in cursor structure, and make imagemap images use the cursor style of the areas when in them (instead of the cursor style from the image) and the cursor style of the image when not in the areas (instead of a hardcoded default). b=302536 r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194992 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 21:02:10 +00:00
bzbarsky%mit.edu
db469b96cf Finish fixing bug 114641. r=biesi, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@182352 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:52:58 +00:00
bzbarsky%mit.edu
1333cae14e Try fixing bug 288064 again. r=biesi, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@182350 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:50:39 +00:00
bzbarsky%mit.edu
2575925b19 Fix bug 309118 (removing vertical-align hack for broken objects from html.css).
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@181807 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-08 02:25:00 +00:00
bzbarsky%mit.edu
29198e38f2 Backing out bug 288064 because of the Tp hit.
git-svn-id: svn://10.0.0.236/trunk@181383 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 01:35:56 +00:00
bzbarsky%mit.edu
d81aa0e274 Implement a LOADING state, have a :-moz-loading selector to match on it, use it
for images.  Bug 288064, r=biesi, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@181371 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 00:34:03 +00:00
bzbarsky%mit.edu
c68b9c138c Back out part of patch for bug 155507 to fix bug 310100. r=bernd, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@181042 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-27 13:29:27 +00:00
mrbkap%gmail.com
38d0038c4a bug 309902: This was supposed to land with the fix for bug bug 287990, but I forgot to check it in then, checking it in now (changes had r=jst sr=dbaron).
git-svn-id: svn://10.0.0.236/trunk@180973 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 18:10:56 +00:00
bzbarsky%mit.edu
40f8d59f43 Fix silly CSS error. Bug 309146, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@180577 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 17:29:36 +00:00
bzbarsky%mit.edu
26af641d58 Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds.  Bug 11011, r=biesi and roc, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@180509 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 18:05:40 +00:00
vladimir%pobox.com
7212c6fb2f b=294852, canvas is too easily selected, r=vladimir,a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176780 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 17:20:37 +00:00
bzbarsky%mit.edu
6834b9a66a Move some marquee styles into a scoped binding sheet, and deal better with the
fact that the binding is not actually removed when printing.  Bug 170341, patch
by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=bzbarsky, a=bsmeberg


git-svn-id: svn://10.0.0.236/trunk@176221 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-18 21:15:42 +00:00
vladimir%pobox.com
99efffd5fc b=291216, canvas should not be an empty element, default width/height, fallback content should not be rendered, r+sr=bzbarsky, a=brendan/shaver
git-svn-id: svn://10.0.0.236/trunk@173165 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-07 03:45:06 +00:00
dbaron%dbaron.org
271aa49b62 rules=all and rules=none shouldn't trigger collapsed borders. b=155507 r=bernd sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@172821 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 20:47:06 +00:00
dbaron%dbaron.org
72020748e5 Implement CSS2 counters. b=3247 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171473 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 23:07:00 +00:00
mats.palmgren%bredband.net
d5dcb62486 Fix a few -moz-outline* problems and drop the prefix.
Change WARNING to ERROR in nsComputedDOMStyle.cpp and add a few more.
b=281972 r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@171246 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-27 11:36:08 +00:00
bzbarsky%mit.edu
9ad95bdc3a Add an IsFloatContainingBlock() method on nsIFrame, use this in the frame
constructor.  Make sure the div inside an <object> when we do our "we need a
plugin" thing has the space manager bit set.  Bug 283385, bug 285165, bug
286111.  r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@170874 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-18 04:13:05 +00:00
roc+%cs.cmu.edu
b22eed2277 Bug 267037. Buttons should delegate child frames to the wrapped block, and tell the style system that legends are always blocks. Fixes a couple of crashes. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@170308 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 19:08:26 +00:00
bzbarsky%mit.edu
8ea6ea6226 Put the quirky 1em bottom margin on forms only in quirks mode. Bug 41806,
patch by Anne van Kesteren <bug@annevankesteren.nl>, r=bzbarsky, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@169355 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 06:13:28 +00:00
roc+%cs.cmu.edu
2fa87dce07 Bug 274521. Disable 'border' on frames and framesets since we don't actually support it. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168958 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 02:08:13 +00:00
aaronleventhal%moonset.net
c7b28dcb82 Bug 256003. Remove -moz-user-focus from html.css, forms.css, ua.css. It's been deprecated from use in HTML. Patch by Martijn Wargers. r=bryner, sr=roc
git-svn-id: svn://10.0.0.236/trunk@168182 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-23 03:48:00 +00:00
mats.palmgren%bredband.net
2cfbb74cf5 Improve handling of 'display' property for <noscript>. b=236450 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167206 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 19:37:54 +00:00
bzbarsky%mit.edu
6c43f0e833 Move handling of "dir" and "bdo" into ua.css so it doesn't get turned off when
author styles are disabled.  Bug 261361, patch by fantasai
<fantasai.bugs@inkedblade.net>, r=dbaron, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@166490 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 16:08:43 +00:00
bzbarsky%mit.edu
874f1be4cf Factor out the code to insert a frame into the right childlist (used for
handling out-of-flows) into a function on the frame constructor state.  Enforce
some invariants via !important rules in html.css instead of hacking them into
the code.  Bug 263406, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164482 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 01:34:22 +00:00
bzbarsky%mit.edu
5da8517b59 Make vertical marquees actually be 200px height by default. Bug 265631,
original patch by Martijn Wargers <m.wargers@hccnet.nl> with some changes by
me, r=doron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@164283 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 17:33:22 +00:00
bzbarsky%mit.edu
ad59771509 Remove our broken attempt to support <plaintext> (which is very very
deprecated).  Bug 88987, r=jst, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@163474 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 16:55:54 +00:00
roc+%cs.cmu.edu
d82b9d3db0 Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot
git-svn-id: svn://10.0.0.236/trunk@161292 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 00:07:56 +00:00
aaronleventhal%moonset.net
7461104ae0 Bug 250006. Clean up GetNextTabbableContent(). Remove tabbable property from DOM interfaces. Clean up spurious focus outline effects. r=bryner, sr=jst
git-svn-id: svn://10.0.0.236/trunk@159798 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-24 21:12:43 +00:00
jst%mozilla.jstenback.com
64edfdc1f4 Landing patch for aaronleventhal@moonset.net. Bug 250208. Fix regression that made dropdowns not work as expected on Linux. r=jst@mozilla.jstenback.com, sr=dbaron@dbaron.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@158963 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-09 22:33:35 +00:00
aaronleventhal%moonset.net
526c59be60 Bug 171366. Support tabindex for all elements. r=bryner, sr=jst
git-svn-id: svn://10.0.0.236/trunk@158815 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-07 00:58:57 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
dbaron%dbaron.org
8f775f7f90 Use correct 'vertical-align' for XHTML tables without tbody. b=237860 r=bernd sr=roc a=chofmann
git-svn-id: svn://10.0.0.236/trunk@154102 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-19 01:34:47 +00:00
bmlk%gmx.de
bc6dd3a017 implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron
git-svn-id: svn://10.0.0.236/trunk@153736 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 06:48:35 +00:00
dbaron%dbaron.org
6b800e75e5 Implement -moz-margin-start, -moz-margin-end, -moz-padding-start, and -moz-padding-end and cascade them correctly. Use them in html.css to improve default styles for lists in RTL documents. b=74880 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152274 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 06:10:56 +00:00
dbaron%dbaron.org
c997dd0ad0 Change our implementation of 'overflow: hidden' to be more compatible with other browsers, as CSS 2.1 now allows. b=69355 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@146973 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 22:09:18 +00:00
caillon%returnzero.com
c8612ff038 Bug 38370.
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu


git-svn-id: svn://10.0.0.236/trunk@145375 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 08:13:07 +00:00
bernd.mielke%snafu.de
b28c0284b2 enable color for <hr> borders bug 38370 r=hixie sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136231 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 12:10:11 +00:00
bzbarsky%mit.edu
223f64687a bug 187428 -- cursor should just inherit down to images within links instead of
being set explicitly.  r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@135862 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 19:05:14 +00:00
bzbarsky%mit.edu
0258e6972f Fix crash if a site overrides one of our "magic" rules. Make some of the rules
!important, make nsViewportFrame a containing block no matter what the CSS
says. Bug 181692, r=karnaze, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@134425 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 23:40:58 +00:00
bernd.mielke%snafu.de
d89ffec36a Initialize text-indent at the table boundary, this cuts inheritance of text-indent inside tables. plus removal of a conflicting border specification bug 140682 r=hixie sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134366 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 17:56:44 +00:00
dbaron%fas.harvard.edu
307f43b5a1 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
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +00:00
bernd.mielke%snafu.de
63c27e6db9 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
git-svn-id: svn://10.0.0.236/trunk@133384 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 05:29:34 +00:00
karnaze%netscape.com
e5afbfa65b bug 139524 - handle style of col's with spans. sr=kin, r=bernd
git-svn-id: svn://10.0.0.236/trunk@129634 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-15 03:45:10 +00:00
dbaron%fas.harvard.edu
da446121bd Make marquee 'display: block' so that styling it works correctly. (The XBL binding already forces block-like display.) b=163031 r=doron sr=kin
git-svn-id: svn://10.0.0.236/trunk@127629 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 18:43:17 +00:00
yokoyama%netscape.com
ff9f774c5b Bug 156979
XBL emulation of marquee.
/r=nhotta, timeless, /sr=jst, /a=asa


git-svn-id: svn://10.0.0.236/trunk@125863 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 17:47:16 +00:00
rods%netscape.com
12d81dd955 Set style in media print to turn off blinking
Bug 153092 r=rods sr=kin


git-svn-id: svn://10.0.0.236/trunk@124401 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 14:45:50 +00:00
jfrancis%netscape.com
d889597d8d bug 83378: plaintext mail reply problems editing quotes. r=fm, sr=kin
git-svn-id: svn://10.0.0.236/trunk@123154 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 14:14:18 +00:00
dbaron%fas.harvard.edu
cfc603f54a 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
git-svn-id: svn://10.0.0.236/trunk@123127 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 03:27:48 +00:00
jkeiser%netscape.com
54975d102e Rest of patch (partial commit before). Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122621 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 02:00:34 +00:00
roc+%cs.cmu.edu
614583e822 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
git-svn-id: svn://10.0.0.236/trunk@122398 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 03:20:23 +00:00