213 Commits

Author SHA1 Message Date
dbaron%dbaron.org
2f24fe473a Implement -moz-border-start and -moz-border-end. Patch by Simon Montagu <smontagu@smontagu.org> and me. b=74880 r/sr=smontagu/dbaron
git-svn-id: svn://10.0.0.236/trunk@229329 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 18:51:40 +00:00
martijn.martijn%gmail.com
7aacaa506f Bug 376891 – <center><marquee direction=up/down></center> has different result in IE, r=dbaron, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224443 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 14:54:34 +00:00
masayuki%d-toybox.com
7aac338174 Bug 335394 We should remove support for the 'invert' value ifdef MOZ_CAIRO_GFX r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@221918 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-15 16:16:20 +00:00
dbaron%dbaron.org
0903c8befe Move gray-ness of table borders to quirks mode and restore our prior standards-mode behavior. b=84307 r=fantasai sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219397 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 06:11:56 +00:00
dbaron%dbaron.org
cbdde83088 Make default table and hr border colors be gray rather than special values that depend on the background color, and remove the special values that depend on the background. b=84307 Patch by fantasai <fantasai.bugs@inkedblade.net>. r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@219306 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 02:45:55 +00:00
dbaron%dbaron.org
0b4631ed27 Make marquee use inline-block. b=163504 r=martijn sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219047 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:40:57 +00:00
dbaron%dbaron.org
1ca9f3f372 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu
ad80f2b24f Fix bug 349695 by taking a different approach to setting display:none on HTML
forms inside tables; this approach overrides author styles.  r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@208472 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 22:33:17 +00:00
smontagu%smontagu.org
f1c56eaa96 Bidi support for alternate text: reorder the text correctly, align text and icon to the right when direction is right-to-left, and create a bidi embedding when the alternate text is displayed inline. Bug 345954, r=uriber, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@206117 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 07:08:45 +00:00
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