Граф коммитов

2414 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 5237da9666 Fix test for none/hidden border styles to work correctly. Bug 275139, r+sr=dbaron 2005-01-20 16:49:57 +00:00
bzbarsky%mit.edu 2b22277f0e Make sure to clear out content when we have it specified as none or initial,
even if we're ending up computing the difference from a cached struct.  Bug
273719, r+sr=dbaron
2005-01-13 03:49:20 +00:00
bryner%brianryner.com 5e2d6d2947 Remove nsIHTMLContent interface (bug 276959). r+sr=jst. 2005-01-12 19:45:38 +00:00
bzbarsky%mit.edu 7e99afbcf0 Fix HTML nodes to not claim to be in the XHTML namespace (unless they are, of
course).  Bug 103225, r+sr=jst
2005-01-12 02:41:36 +00:00
bzbarsky%mit.edu a77b73bb3a Don't pass null frames to nsHTMLReflowState::GetContainingBlockFor. Bug
273458, r+sr=dbaron
2005-01-04 20:17:25 +00:00
mats.palmgren%bredband.net 3a23ac3a17 Improve handling of 'display' property for <noscript>. b=236450 r+sr=bzbarsky 2005-01-03 19:37:54 +00:00
dbaron%dbaron.org 49a6406104 Fix initializer-reordering warning. 2005-01-03 19:29:09 +00:00
cbiesinger%web.de e42c2d976d 38447 layout,content,dom and xpwidget part: Implement Handling of URI Values on
CSS "cursor" Properties
for dom,layout,content: r+sr=bz
for widget: r+sr=roc
2004-12-30 21:56:11 +00:00
cbiesinger%web.de 3e18607e52 263671 make nsStyleUserInterface::CalcDifference return correct style hints if
more than one property differs. also handle dynamic cursor changes correctly.
r+sr=bz
2004-12-28 13:48:25 +00:00
mats.palmgren%bredband.net eb3f6e5a0d Enable 'text-align' values that were derived from HTML align for tables again in Standards mode. b=273857 r=bernd sr=dbaron 2004-12-23 22:02:54 +00:00
bsmedberg%covad.net 81a0de68d5 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin 2004-12-15 04:07:01 +00:00
bryner%brianryner.com 31bef82154 Move nsIContent::GetClassAttributeName() onto nsIStyledContent (bug 274402). r+sr=jst. 2004-12-14 03:54:01 +00:00
bryner%brianryner.com 184cc47ec5 deCOMtaminate nsIContent::GetNameSpaceID. Bug 272079, r+sr=jst 2004-12-13 04:14:28 +00:00
tor%cs.brown.edu b8ade7319c Bug 216559 - CSS3 currentColor. Patch by scootermorris@comcast.net.
r=bz, sr=dbaron.
2004-12-09 23:51:25 +00:00
bzbarsky%mit.edu 185d89d991 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
2004-12-09 16:08:43 +00:00
tor%cs.brown.edu f776408b63 Bug 238050 - implement SVG markers. r=scooter, moz common files sr=dbaron 2004-12-09 03:16:15 +00:00
dbaron%dbaron.org 178b5e327a Bug 272151: reorganize files within layout, r+sr=roc: add new Makefiles. 2004-12-07 18:09:28 +00:00
dbaron%dbaron.org 4ee16ec79d Fix DOM round-tripping of -moz-initial. b=219903 r+sr=bzbarsky 2004-12-04 22:10:07 +00:00
bzbarsky%mit.edu e36e6f6682 Fix comment. More bug 157395. 2004-12-03 04:48:32 +00:00
bzbarsky%mit.edu e766f067db :empty should not match nodes that have whitespace children. Introduce a
:-moz-only-whitespace pseudo-class to do what :empty used to do (so we can use
it in quirk.css and the like).  Bug 157395, patch by Justin Wood
<116057@bacon.qcc.mass.edu>, r+sr=bzbarsky
2004-12-03 04:25:21 +00:00
dbaron%dbaron.org 3882ed0f37 Remove unused iscoord parameter from CSS_PROP_* macros. b=205790 r+sr=bzbarsky 2004-11-30 19:24:34 +00:00
bzbarsky%mit.edu 3abdaecd3c Fix asserts by making sure that border-spacing is always computed to coord
values.  Bug 270325, r+sr=dbaron
2004-11-30 18:30:58 +00:00
dbaron%dbaron.org 10efb45442 Use preprocessor instead of separate files for platform-specific parts of forms.css. b=272151 r+sr=bryner 2004-11-30 06:04:04 +00:00
dbaron%dbaron.org 32654cf7f5 Avoid switches by using new nsStyleSides methods. b=272033 r+sr=bzbarsky 2004-11-30 05:31:37 +00:00
mats.palmgren%bredband.net 017629698f Skip leading space inside :not(). b=271916 r+sr=dbaron 2004-11-28 15:04:13 +00:00
mats.palmgren%bredband.net 0dd497ef90 Making invalid selectors ignore the following rule in more cases. b=265542 r=bzbarsky sr=dbaron 2004-11-26 21:05:45 +00:00
roc+%cs.cmu.edu 76c942edd9 Bug 271869. mBorderWidths need not be per-nsStyleBorder/nsStyleOutline, put it in the prescontext instead. r+sr=dbaron 2004-11-26 18:40:58 +00:00
bzbarsky%mit.edu b35b2a6d92 Add a utility method for finding the containing block to nsHTMLReflowState, and
make use of it in fixing the text-decoration drawing on blocks to deal with
negative text-indent.  Bug 263374, r+sr=dbaron
2004-11-25 02:43:28 +00:00
bryner%brianryner.com 1435145ce6 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
darin%meer.net 373f51f2c6 fixes bug 263360 "Make CallCreateInstance use NS_GetComponentManager instead of nonfrozen/deprecated nsComponentManager symbols" r=bsmedberg sr=dbaron 2004-11-23 20:53:38 +00:00
bzbarsky%mit.edu 35e3f1fd67 Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
r+sr=jst
2004-11-23 17:45:37 +00:00
bzbarsky%mit.edu ee3a61b53f deCOMify nsIStyledContent::GetID (make it return we a weak pointer to the ID
atom).  Bug 244249, patch by jpl24 <jlurz24@gmail.com>, r=sicking, sr=bzbarsky
2004-11-23 17:21:37 +00:00
smontagu%smontagu.org 835b927b77 Make form controls, scroll boxes and columns inherit "unicode-bidi" correctly. Also force file inputs to have left-to-right directionality. Bug 267459, r=dbaron, sr=bzbarsky. 2004-11-23 09:42:23 +00:00
tor%cs.brown.edu aca19bf47b Bug 269891 - crash in stroke-dasharray sharing. r+sr=bzbarsky 2004-11-15 04:43:11 +00:00
tor%cs.brown.edu e7c44d32db Bug 103294 - improve parsing of SVG stroke-dasharray property. r+sr=bz 2004-11-09 18:19:28 +00:00
dbaron%dbaron.org cef682699c Remove nsIStyleRule::GetStyleSheet (and move it to nsICSSRule). b=266991 r+sr=bzbarsky 2004-10-31 17:33:50 +00:00
bzbarsky%mit.edu 7cac02fb30 Make it possible to use the string input stream without heap-allocating a
string.  Bug 263973, r=darin, sr=dbaron
2004-10-27 02:19:43 +00:00
bzbarsky%mit.edu 8ed40532bb 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
2004-10-27 01:34:22 +00:00
aaronleventhal%moonset.net b8351a14b5 Bug 251498. Implement outline-offset. r+sr=roc 2004-10-26 12:57:15 +00:00
ginn.chen%sun.com 3eeb159f47 bug 251492 [gnome]selected item text wrong color in high-contrast themes
ginn.chen%sun.com r=bryner sr=dbaron
also fix bug 244955 [GNOME] incorrect system colors for the menu item text
2004-10-26 01:45:28 +00:00
mrbkap%gmail.com 361a276116 bug 263083: view-source now shows tokenizer-level errors, I forgot to check this in earlier. r=rbs sr=dmose 2004-10-25 23:54:04 +00:00
bzbarsky%mit.edu 1629460dc7 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
2004-10-24 17:33:22 +00:00
bzbarsky%mit.edu 65db654e10 DeCOMTaminate some methods on nsIStyledContent. Bug 244258, patch by jpl24
<jlurz24@gmail.com>, r+sr=bzbarsky
2004-10-24 17:10:32 +00:00
dbaron%dbaron.org d66ce71e18 Remove partial implementation of -moz-key-equivalent that was useful for nothing other than crashing. b=265721 r+sr=bzbarsky a=asa 2004-10-24 04:43:49 +00:00
dbaron%dbaron.org 24751ebb09 Remove partial implementation of -moz-key-equivalent that was useful for nothing other than crashing. b=265721 r+sr=bzbarsky a=asa 2004-10-24 04:32:21 +00:00
tor%cs.brown.edu c6a8869a71 Bug 244917 - implement SVG gradients. Patch by scootermorris@comcast.net.
r=sicking,afri,tor,jwatt.  Shared mozilla code sr=tor,dbaron.
2004-10-14 23:02:53 +00:00
bzbarsky%mit.edu befd4d0913 Make sure to set mScannerInited when it is. Bug 263959, caught by jag 2004-10-14 15:06:04 +00:00
aaronleventhal%moonset.net a66b0e2a0f Bug 263685. getComputedStyle not working on -moz-outline-radius. r=roc, sr=dbaron 2004-10-14 03:32:28 +00:00
bzbarsky%mit.edu e705bff275 Don't create new nsCSSScanners all the time. Just make nsCSSScanner a
non-pointer member of nsCSSParser so when we recycle parsers scanners get
recycled automatically.  Bug 263959, r+sr=dbaron
2004-10-14 03:30:55 +00:00
dbaron%dbaron.org 3dc556ddcf Move CSS error reporting functions from parser to scanner so that scanner can report errors, and fix up the one existing error report in the scanner that I'd forgotten about. b=262249 r+sr=bzbarsky 2004-10-12 18:44:14 +00:00
bzbarsky%mit.edu f0847e2b62 Look at style height in addition to the height attribute for vertical
marquees.  Bug 262708, r=doron, sr=jst
2004-10-12 03:21:13 +00:00
aaronleventhal%moonset.net ec515f3529 Nit - fixing comment for checkin to bug 24676 2004-10-10 02:50:43 +00:00
aaronleventhal%moonset.net 9d1901c669 Bug 24676. Support -moz-outline-radius. r=bzbarsky, sr=roc 2004-10-10 00:51:42 +00:00
bzbarsky%mit.edu 964ecc6669 Remove our broken attempt to support <plaintext> (which is very very
deprecated).  Bug 88987, r=jst, sr=dbaron
2004-10-09 16:55:54 +00:00
bmlk%gmx.de 24db6cc49e reorganize CalCDominantBorder, reduce the number of arguments, change the border structure. make the rules handling more evident, bug 229883, With more than a little help from my friends (fantasai, boris) r/sr=bzbarsky
bustage fix
2004-10-09 12:25:31 +00:00
roc+%cs.cmu.edu b24a28d3fb Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron 2004-10-08 12:17:10 +00:00
bzbarsky%mit.edu 9a37c7da84 Fix "normal" and "-moz-initial" values for "content" to do the right thing.
Bug 262624, r+sr=dbaron
2004-10-06 00:45:42 +00:00
bzbarsky%mit.edu 52c05405ec Fix crash if insertRule() is called on an empty string. Bug 261798, r+sr=dbaron 2004-10-06 00:34:06 +00:00
dbaron%dbaron.org f26ae219a5 Add helper functions that make it easier to cache factories. b=261310 r=darin 2004-10-02 00:44:13 +00:00
mats.palmgren%bredband.net dd0670bad9 Make window.setCursor() use CSS 'cursor' property values. b=260272 r+sr=dbaron 2004-10-01 17:15:15 +00:00
bzbarsky%mit.edu 82dee81537 Add debug MaxDifference() function to style structs and add some asserts in
style context code to catch structs that are returning unexpected or bogus
hints.  Bug 258910, r+sr=dbaron
2004-10-01 03:33:05 +00:00
bzbarsky%mit.edu c9f57ef686 Create a GetGeometricParent() function and make people use it instead of
(incorrectly, usually) rolling their own.  Bug 191151, initial cut of patch by
jkeiser back when, r+sr=roc
2004-09-30 22:39:28 +00:00
bzbarsky%mit.edu 90316a1bc6 Remove parsing of play-during property, since we don't support it anyway and
it's gone from CSS2.1 and CSS3.  Bug 258079, r+sr=dbaron
2004-09-30 22:32:28 +00:00
dbaron%dbaron.org e39c91ad66 Improve performance of CSS error reporting. b=261283 r+sr=bzbarsky 2004-09-30 05:18:05 +00:00
neil%parkwaycc.co.uk 7f5e14d15f Bug 260282 <marquee> with invalid direction attribute should scroll left p=gautherie@noos.fr r=doron sr=me 2004-09-26 22:37:50 +00:00
dbaron%dbaron.org 76df8f780b Turn on CSS error reporting. b=65469 r+sr=bzbarsky 2004-09-21 04:41:42 +00:00
dbaron%dbaron.org d2d895fde6 Fix bustage when CSS error reporting disabled. b=187007 2004-09-20 20:08:20 +00:00
dbaron%dbaron.org 55df280f2e Make CSS errors localizable. b=187007 r+sr=bzbarsky 2004-09-20 19:38:11 +00:00
mats.palmgren%bredband.net 09260d852e Remove -moz-count-* and (unused) eCursor_arrow_* cursors. b=259639 r+sr=dbaron 2004-09-19 19:49:29 +00:00
dbaron%dbaron.org f94ed4c91a Null-check document to fix crash, and a little other cleanup. b=258843 r+sr=bzbarsky 2004-09-17 20:50:22 +00:00
mats.palmgren%bredband.net 2ad2efc0a1 Allow styling of SELECT border. b=244370 r+sr=bzbarsky 2004-09-15 21:17:37 +00:00
dbaron%dbaron.org a7d98f183c Add function to nsContentUtils to report a localized error message to the error console, and use it from the three places that were doing pretty much the same thing. b=187007 r+sr=bzbarsky 2004-09-14 17:26:35 +00:00
dbaron%dbaron.org dc543d8c47 Fix VC7 bustage. b=258793 2004-09-13 20:40:46 +00:00
dbaron%dbaron.org cd7b1f831b The slow codepaths for fixed background-attachment should only apply when there's a background image. b=258793 r+sr=roc 2004-09-13 05:39:27 +00:00
mats.palmgren%bredband.net 357f6511f2 Make 'letter-spacing' take effect in file input control. b=252863 r=bzbarsky sr=dbaron 2004-09-12 22:46:56 +00:00
dbaron%dbaron.org ed550ca2e5 Backing out bug 167001, which I should not have reviewed without more careful consideration. 2004-09-12 19:32:50 +00:00
mats.palmgren%bredband.net 1d868ad59c Add CSS3 cursors, bug 163174, r=lordpixel@mac.com r=pinkerton@aol.net sr=dbaron@dbaron.org 2004-09-11 23:24:30 +00:00
bmlk%gmx.de 4a7ba016e4 changing the border-collapse mode needs to cause a reframe as we have two different types of cellframes depending on the mode, bug 254053 idea=bz, r/sr=dbaron 2004-09-11 06:13:47 +00:00
smontagu%smontagu.org 7e5b251b94 Bug 167001, Anything below the baseline goes out of input field. Patch by Masayuki Nakano, masayuki@d-toybox.com; r+sr=dbaron. 2004-09-11 05:44:33 +00:00
dbaron%dbaron.org c61563f77e Separate sheet URI and base URI for style attributes and for CSS parsing from DOM APIs. b=258707 r+sr=bzbarsky 2004-09-10 23:31:48 +00:00
dbaron%dbaron.org d7d887385b Fix DEBUG bustage. b=255538 2004-09-10 09:31:10 +00:00
dbaron%dbaron.org 4c36660044 Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky 2004-09-10 06:45:59 +00:00
bzbarsky%mit.edu 871de80a84 Combine WalkRules and UseDocumentRules into one function. Bug 244252,
r=bryner, sr=dbaron
2004-09-10 04:57:30 +00:00
bzbarsky%mit.edu bb3b0b20c0 Fix build bustage. 2004-09-10 03:52:48 +00:00
bzbarsky%mit.edu 5d02f350d2 Add nsCSSValuePair type and use it for storage of some properties. Bug 208729,
r+sr=dbaron
2004-09-10 03:26:58 +00:00
dbaron%dbaron.org 311b293f7d Pass line number information for style elements through to the CSS parser so we can give correct line numbers in error reports. b=240420 r+sr=bzbarsky 2004-09-09 17:32:35 +00:00
dbaron%dbaron.org 02ccd3d2cc Fix serialization of declaration blocks containing 'overflow' and the bugs that causes. b=258300 r+sr=bzbarsky 2004-09-08 05:42:03 +00:00
bryner%brianryner.com 04b0d5a8cb Fixes for a number of native theme button problems on gtk2 (bug 255911). In order to more easily accomodate CSS fallbacks for when native theme rendering is not available, this adds GetWidgetPadding() to nsITheme, which allows the native theme impl to supply padding values which will override the css padding. This way, padding for the css fallback can be given without having it be added to the padding that's part of the native theme-rendered border. r=caillon, sr=roc. 2004-09-06 03:59:31 +00:00
dbaron%dbaron.org 2e93a67964 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
dbaron%dbaron.org 4db1f75805 Back out text input changes from bug 72747. 2004-09-04 03:17:18 +00:00
dbaron%dbaron.org 462cb0cabd Land bug 72747 in pieces: use CSS instead of C++ to ensure single line text inputs don't have scrollbars. b=72747 r+sr=roc 2004-09-03 23:22:15 +00:00
dbaron%dbaron.org 2be757b76e Land bug 72747 in pieces: add functions for common overflow tests to nsStyleDisplay. b=72747 r+sr=roc 2004-09-02 23:18:37 +00:00
bryner%brianryner.com a8153addf4 More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00
dbaron%dbaron.org 67e0ee1634 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org 399f49c365 Backout the CSS parts of bug 72747 to see if that fixes the Tp regression. 2004-08-26 22:35:38 +00:00
dbaron%dbaron.org 5c14b11fe9 Fix debug bustage. b=72747 2004-08-26 19:12:05 +00:00
dbaron%dbaron.org 0430fe1b67 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
roc+%cs.cmu.edu 7494eafa7b 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 2004-08-26 00:07:56 +00:00
tor%cs.brown.edu 5edd409be3 Bug 216563 - implement <svg:switch>.
Patch by scootermorris@comcast.net, r=afri, sr=dbaron
2004-08-23 21:10:39 +00:00
dbaron%dbaron.org 60e219a166 Make nsCSSValue constructors explicit and fix obscure regression from rule tree landing. b=256270 r+sr=bzbarsky 2004-08-20 20:55:17 +00:00
bryner%brianryner.com efcc221ee4 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
kyle.yuan%sun.com 1e6644bbd6 Backout the patch for 251492. Need a better solution for that. 2004-08-19 06:33:20 +00:00
kyle.yuan%sun.com e198615489 Bug 251492 [gnome]selected item text wrong color in high-contrast themes
r=bryner, sr=roc, patch by ginn.chen@sun.com
2004-08-19 02:23:15 +00:00
timeless%mozdev.org 1441c4fcda Bug 253539 Report origin url for css mime warnings/errors
r=bz sr=bz a=asa
2004-08-18 02:32:25 +00:00
tor%cs.brown.edu 46badf7a60 Bug 254771 - Remove AssertNoCSSRules(lastPresHintRN, lastAgentRN) from
nsStyleSet::FileRules.  Patch by jonathan.watt@strath.ac.uk, r=bz, sr=dbaron
2004-08-10 15:59:30 +00:00
bzbarsky%mit.edu 2829cfa580 Do style reresolves and restyles due to attribute changes asynchronously so
that pages that modify two or more style properties of the same object in a row
work faster.  Bug 230170, r+sr=dbaron
2004-08-10 03:24:41 +00:00
dbaron%dbaron.org 10b65694e8 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc 2004-08-10 01:32:10 +00:00
tor%cs.brown.edu 18f0eb76c7 Bug 234789 - SVG text ignores font-size if no unit specified.
Patch by scootermorris@comcast.net, r=tor, sr=dbaron.
2004-08-10 00:02:47 +00:00
mats.palmgren%bredband.net c3758b628f Added font-size:inherit to optgroup, so that the select font-size affects options. b=185098 r+sr=bzbarsky 2004-08-08 18:44:09 +00:00
darin%meer.net 5671b8bb27 fixing win32 debug bustage 2004-08-06 19:48:04 +00:00
darin%meer.net 1dc2e98324 fixing win32 debug bustage; we really need a debug tinderbox!! 2004-08-06 19:42:47 +00:00
dbaron%dbaron.org d81bb00bab Fix Windows bustage by making these virtual again, at least for now (the only cost of which should be bloating some vtables). b=238099 2004-08-05 19:10:16 +00:00
dbaron%dbaron.org 6e68926f45 Attempt to fix Windows bustage. b=238099 2004-08-05 18:44:42 +00:00
dbaron%dbaron.org 119da61932 Implement @-moz-document at-rule for site-specific rules, particularly in user stylesheets. b=238099 r+sr=bzbarsky 2004-08-05 18:26:14 +00:00
neil%parkwaycc.co.uk d85ecd00f9 Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron 2004-08-05 11:38:42 +00:00
dbaron%dbaron.org 6f95c06071 Give nsCSSStyleSheet a header file and rename the class in preparation for deCOMtamination. b=239008 r+sr=bzbarsky 2004-08-04 03:27:28 +00:00
dbaron%dbaron.org 37e456513f Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-08-04 03:23:37 +00:00
aaronleventhal%moonset.net dacd3438ae Bug 251614. Get rid of black squares on input type=submit buttons and return focus appearance to normal. r+sr=roc 2004-08-02 14:15:51 +00:00
bryner%brianryner.com 18fa617572 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner%brianryner.com cc807b07b1 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
dbaron%dbaron.org 489b31f9cf Back out 236889 due to 253755. 2004-07-31 07:42:12 +00:00
bzbarsky%mit.edu ff3b8770ed Remove some knowledge about drag-drop innards from nsFrame.cpp by refactoring
shared code into utility methods in nsContentUtils.  Use the new methods to fix up
nsContentAreaDragAndDrop to make it possible to drag image <objects> and image
inputs.  Bug 251775 and bug 244859, r=biesi, sr=jst
2004-07-30 06:04:57 +00:00
dbaron%dbaron.org dac91adbc7 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-07-29 20:07:25 +00:00
bryner%brianryner.com 88f80381e3 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
dbaron%dbaron.org d203453e28 Fix Windows bustage. b=252578 2004-07-28 07:52:03 +00:00
dbaron%dbaron.org fa4808301b Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky 2004-07-28 07:08:41 +00:00
bzbarsky%mit.edu 4f6dfefbdd Switch context back to being nsISupports, but make it clear that it's expected
to be an nsIDOMNode or nsIDOMWindow.  Bug 252027, r=mvl, sr=shaver
2004-07-27 17:15:53 +00:00
aaronleventhal%moonset.net 0319b80e0e Bug 250006. Clean up GetNextTabbableContent(). Remove tabbable property from DOM interfaces. Clean up spurious focus outline effects. r=bryner, sr=jst 2004-07-24 21:12:43 +00:00
dbaron%dbaron.org 7e396af74b Don't allocate and leak selectors that we don't need. b=252510 r+sr=bzbarsky 2004-07-21 21:20:14 +00:00
dbaron%dbaron.org a2e9a7881c Reduce headers brought in by nsRuleNode.h. Split nsRuleData into its own file. b=64023 r+sr=bzbarsky 2004-07-20 06:11:27 +00:00
roc+%cs.cmu.edu f9ab6c624c Bug 251162. Add -moz-column-gap to the style system. r+sr=dbaron 2004-07-18 12:12:46 +00:00
dbaron%dbaron.org 188f36ed75 Clean up string usage in nsFont::EnumerateFamilies and nsCSSStyleSheet.cpp's ValueIncludes, although not all the other places to which this pattern was copied. b=235755 r+sr=roc 2004-07-17 19:03:13 +00:00
dbaron%dbaron.org 6feb3a1280 When implementing the 'display' and 'float' fixups in CSS2.1 section 9.7 we can't cache data in the rule tree. b=245715, 237891 r+sr=bzbarsky 2004-07-17 18:57:04 +00:00
dbaron%dbaron.org 51709ea6ab Move root element fixups to nsStyleContext so they happen before CalcDifference calls in style reresolution and we reframe less. b=245327 r+sr=bzbarsky 2004-07-17 18:21:41 +00:00
dbaron%dbaron.org ba7341b6fc Back out again (except indentation fix). b=236889 2004-07-16 23:28:36 +00:00
dbaron%dbaron.org 2d31cb29aa Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky Reland quarter of patch to test effect on pageload. 2004-07-16 22:55:42 +00:00
dbaron%dbaron.org 90c025ee9c Backing out half of 236889. 2004-07-16 21:23:27 +00:00
dbaron%dbaron.org 76455a7d6c Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky Reland half of page to test effect on pageload. 2004-07-16 20:26:39 +00:00
aaronleventhal%moonset.net 1ebd6baf37 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-16 16:56:21 +00:00
bzbarsky%mit.edu ba886e0500 Remove some quirks that neither NS4 nor IE have (they remove bottom margin from
<p> in a table cell, but leave other blocks with bottom margins alone).  Bug
101084, patch by Martijn Wargers <m.wargers@hccnet.nl>, r=dbaron, sr=bzbarsky
2004-07-15 21:48:13 +00:00
bzbarsky%mit.edu 3cf776f03e Fix preshints in anonymous content some more (by moving all document sheet
styleset munging out of the document viewer and into the document and splitting
out the preshint levels completely from the other CSS levels).  Bug 234861,
r+sr=dbaron
2004-07-15 20:30:30 +00:00
aaronleventhal%moonset.net ccbc55e0d0 Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes 2004-07-15 18:57:47 +00:00
bzbarsky%mit.edu 89f5da9306 Testing backout of bug 236889 to see effect on performance. a=#mozilla 2004-07-15 02:54:01 +00:00
dbaron%dbaron.org d3b729cf74 Pull nsStyleContent::AllocateContents out of line, to fix Windows bustage (since this file is included outside of layout and the compiler doesn't seem able to inline it. b=249809 2004-07-14 23:51:25 +00:00
dbaron%dbaron.org 45baf132fe Make :active hierarchical. b=65917 r+sr=bzbarsky 2004-07-14 22:27:24 +00:00
dbaron%dbaron.org e3ba5b3f4f Ensure chrome: URLs stay that way so theme switching code doesn't get confused, even though most chrome: stylesheet loads don't come through this codepath. b=226791 r+sr=bzbarsky 2004-07-14 22:21:07 +00:00
dbaron%dbaron.org 796d62cc38 Load generated content images from the style system rather than the frame constructor. b=249809 r+sr=bzbarsky 2004-07-14 22:19:22 +00:00
bryner%brianryner.com 377380315d Add a NS_FASTCALL macro that specifies regparm(3) and stdcall on gcc/x86 to improve performance (passing up to 3 arguments in registers instead of on the stack, and having the caller pop any stack arguments). Apply NS_FASTCALL to our most frequently called non-public methods and functions. Also add NS_CDECL to explicitly specify the default calling convention and make it part of NS_IMETHOD, since xptcall can't deal with NS_FASTCALL. Bug 249652, r=darin, sr=dbaron. 2004-07-14 22:14:34 +00:00
dbaron%dbaron.org dc4982f861 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-07-14 22:10:55 +00:00
aaronleventhal%moonset.net 78fcf72fc2 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-14 21:58:34 +00:00