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

2364 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 1045658648 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 e0d76e033b 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 a8073f18a3 Remove nsIHTMLContent interface (bug 276959). r+sr=jst. 2005-01-12 19:45:38 +00:00
bzbarsky%mit.edu b5c3568bed 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 aed64e9bfb 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 8a4a940c11 Improve handling of 'display' property for <noscript>. b=236450 r+sr=bzbarsky 2005-01-03 19:37:54 +00:00
dbaron%dbaron.org 57972475fb Fix initializer-reordering warning. 2005-01-03 19:29:09 +00:00
cbiesinger%web.de b71e2a3790 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 fbf5e17933 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 a0ded7b0cd 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 60567bb185 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 6d1dd410b1 Move nsIContent::GetClassAttributeName() onto nsIStyledContent (bug 274402). r+sr=jst. 2004-12-14 03:54:01 +00:00
bryner%brianryner.com 076b2a64a6 deCOMtaminate nsIContent::GetNameSpaceID. Bug 272079, r+sr=jst 2004-12-13 04:14:28 +00:00
tor%cs.brown.edu b64db91538 Bug 216559 - CSS3 currentColor. Patch by scootermorris@comcast.net.
r=bz, sr=dbaron.
2004-12-09 23:51:25 +00:00
bzbarsky%mit.edu 23bcd45fd7 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 b3e2c4245d Bug 238050 - implement SVG markers. r=scooter, moz common files sr=dbaron 2004-12-09 03:16:15 +00:00
dbaron%dbaron.org 953fdd4a1f Bug 272151: reorganize files within layout, r+sr=roc: add new Makefiles. 2004-12-07 18:09:28 +00:00
dbaron%dbaron.org 1eb85d49b9 Fix DOM round-tripping of -moz-initial. b=219903 r+sr=bzbarsky 2004-12-04 22:10:07 +00:00
bzbarsky%mit.edu f6fea6e11a Fix comment. More bug 157395. 2004-12-03 04:48:32 +00:00
bzbarsky%mit.edu 6de447be6a :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 c21915db9d Remove unused iscoord parameter from CSS_PROP_* macros. b=205790 r+sr=bzbarsky 2004-11-30 19:24:34 +00:00
bzbarsky%mit.edu da145480c7 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 e2aa2edb92 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 f94a5bc660 Avoid switches by using new nsStyleSides methods. b=272033 r+sr=bzbarsky 2004-11-30 05:31:37 +00:00
mats.palmgren%bredband.net 5984611143 Skip leading space inside :not(). b=271916 r+sr=dbaron 2004-11-28 15:04:13 +00:00
mats.palmgren%bredband.net 6a6fc8d7ac 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 c59dda520c 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 1cb3693088 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 29c70cffe8 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 6d8591d85f 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 095f0fe791 Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
r+sr=jst
2004-11-23 17:45:37 +00:00
bzbarsky%mit.edu 6b78bd4a5e 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 33a7df720e 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 a4fd23d276 Bug 269891 - crash in stroke-dasharray sharing. r+sr=bzbarsky 2004-11-15 04:43:11 +00:00
tor%cs.brown.edu 4dc9eba112 Bug 103294 - improve parsing of SVG stroke-dasharray property. r+sr=bz 2004-11-09 18:19:28 +00:00
dbaron%dbaron.org 976fc758a4 Remove nsIStyleRule::GetStyleSheet (and move it to nsICSSRule). b=266991 r+sr=bzbarsky 2004-10-31 17:33:50 +00:00
bzbarsky%mit.edu e7cc653157 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 4ea1df8397 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 99ef95d12f Bug 251498. Implement outline-offset. r+sr=roc 2004-10-26 12:57:15 +00:00
ginn.chen%sun.com 07450eb9c0 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 a90d8757f4 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 8cf7d0e9af 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 2895167f89 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 23bc4069c3 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 52771912ef 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 1d8fcac4c6 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 79fb5e53b2 Make sure to set mScannerInited when it is. Bug 263959, caught by jag 2004-10-14 15:06:04 +00:00
aaronleventhal%moonset.net 10b573a49b Bug 263685. getComputedStyle not working on -moz-outline-radius. r=roc, sr=dbaron 2004-10-14 03:32:28 +00:00
bzbarsky%mit.edu e9d20500ed 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 1ddfa687dc 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 0341aafe1e 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 b81f44f034 Nit - fixing comment for checkin to bug 24676 2004-10-10 02:50:43 +00:00
aaronleventhal%moonset.net a65d784429 Bug 24676. Support -moz-outline-radius. r=bzbarsky, sr=roc 2004-10-10 00:51:42 +00:00
bzbarsky%mit.edu d2a2b2a6fd 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 9dbd8b92be 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 c237520c89 Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron 2004-10-08 12:17:10 +00:00
bzbarsky%mit.edu 8266fddc46 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 ce63bee9d7 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 338d2bb649 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 953c3e65ee Make window.setCursor() use CSS 'cursor' property values. b=260272 r+sr=dbaron 2004-10-01 17:15:15 +00:00
bzbarsky%mit.edu 432e6d1817 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 c4ff2082ae 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 b44e807062 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 3e283f239c Improve performance of CSS error reporting. b=261283 r+sr=bzbarsky 2004-09-30 05:18:05 +00:00
neil%parkwaycc.co.uk 474e2c5ad3 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 0d3d6bc0d3 Turn on CSS error reporting. b=65469 r+sr=bzbarsky 2004-09-21 04:41:42 +00:00
dbaron%dbaron.org 908a315919 Fix bustage when CSS error reporting disabled. b=187007 2004-09-20 20:08:20 +00:00
dbaron%dbaron.org c1a9e0bf17 Make CSS errors localizable. b=187007 r+sr=bzbarsky 2004-09-20 19:38:11 +00:00
mats.palmgren%bredband.net 0b0506f06b Remove -moz-count-* and (unused) eCursor_arrow_* cursors. b=259639 r+sr=dbaron 2004-09-19 19:49:29 +00:00
dbaron%dbaron.org 71c89e1b73 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 3e2069ac91 Allow styling of SELECT border. b=244370 r+sr=bzbarsky 2004-09-15 21:17:37 +00:00
dbaron%dbaron.org 5f62984111 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 6ea0c7fb7f Fix VC7 bustage. b=258793 2004-09-13 20:40:46 +00:00
dbaron%dbaron.org 02e5799687 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 8c869781e3 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 34f9012e66 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 14b5343acd 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 002c0c28fc 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 c86afdf533 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 2afd699c4e 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 a095f39235 Fix DEBUG bustage. b=255538 2004-09-10 09:31:10 +00:00
dbaron%dbaron.org 96c0e36f4e 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 df42e726bc Combine WalkRules and UseDocumentRules into one function. Bug 244252,
r=bryner, sr=dbaron
2004-09-10 04:57:30 +00:00
bzbarsky%mit.edu 994c0e7ca2 Fix build bustage. 2004-09-10 03:52:48 +00:00
bzbarsky%mit.edu a8a6ecf161 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 9e2cdf2204 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 f8dbaa44ac 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 5e7349dd5d 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 3827991ce7 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 9a61205ad8 Back out text input changes from bug 72747. 2004-09-04 03:17:18 +00:00
dbaron%dbaron.org d2d8096ade 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 d8f8c8bde9 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 d082d2bf5e 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 c200b49750 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org c1681a238f 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 00a887382c Fix debug bustage. b=72747 2004-08-26 19:12:05 +00:00
dbaron%dbaron.org 5948a3cb75 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 dba4f07f62 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 0c326e84e7 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 9816849d39 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