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
bryner%brianryner.com
180b0b7373
Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
2004-08-20 20:34:37 +00:00
kyle.yuan%sun.com
bb45fcc626
Backout the patch for 251492. Need a better solution for that.
2004-08-19 06:33:20 +00:00
kyle.yuan%sun.com
65b3fef078
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
d0e42efd8e
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
8b7a521e30
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
94990b951c
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
94bc9d26c8
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
30b7993601
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
9f3cd71287
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
7fad093c68
fixing win32 debug bustage
2004-08-06 19:48:04 +00:00
darin%meer.net
be2edb1976
fixing win32 debug bustage; we really need a debug tinderbox!!
2004-08-06 19:42:47 +00:00
dbaron%dbaron.org
e9896c1d58
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
53d986e97b
Attempt to fix Windows bustage. b=238099
2004-08-05 18:44:42 +00:00
dbaron%dbaron.org
d35f39cc02
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
a33872e9fe
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
d90e0e1222
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
e7216e4d86
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
1cf362f6fe
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
6a8c79a9b2
Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
1236bd859f
Back out 236889 due to 253755.
2004-07-31 07:42:12 +00:00
bzbarsky%mit.edu
e628e82cc1
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
ca843bb250
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
0fd21c3872
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
a9ea1ee54f
Fix Windows bustage. b=252578
2004-07-28 07:52:03 +00:00
dbaron%dbaron.org
2faa2566a0
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
02d0d94b73
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
cc206bb650
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
7e59447e8d
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
cdfbc24f0a
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
e0a7bb0095
Bug 251162. Add -moz-column-gap to the style system. r+sr=dbaron
2004-07-18 12:12:46 +00:00
dbaron%dbaron.org
45c8de80a6
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
0ee5ed9f79
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
314bd956d2
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
f2d5d6aac6
Back out again (except indentation fix). b=236889
2004-07-16 23:28:36 +00:00
dbaron%dbaron.org
f1aa7d5490
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
4da6a59fbe
Backing out half of 236889.
2004-07-16 21:23:27 +00:00
dbaron%dbaron.org
e4fd9c5b92
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
910e44a7d5
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
675a009d32
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
89005ed71c
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
692a414811
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
91e6373bba
Testing backout of bug 236889 to see effect on performance. a=#mozilla
2004-07-15 02:54:01 +00:00
dbaron%dbaron.org
c01ff06f59
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
678827b364
Make :active hierarchical. b=65917 r+sr=bzbarsky
2004-07-14 22:27:24 +00:00
dbaron%dbaron.org
3e623876f0
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
4847dc9d90
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
23089547be
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
8722abfd09
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
be1b821056
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
dbaron%dbaron.org
a5d71df614
Send the stylesheet as the HTTP Referer header for images loaded from CSS stylesheets. b=249168 r=bzbarsky sr=darin
2004-07-14 21:56:23 +00:00
dbaron%dbaron.org
4075eaa0ad
Send correct HTTP Referer header for CSS @import. b=249171 r+sr=bzbarsky
2004-07-14 21:52:19 +00:00
jst%mozilla.jstenback.com
35a7178529
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
2004-07-09 22:33:35 +00:00
aaronleventhal%moonset.net
1f6e33dc7a
Bug 171366. Support tabindex for all elements. r=bryner, sr=jst
2004-07-07 00:58:57 +00:00
dbaron%dbaron.org
92c9034866
Use string comparators more to simplify code. b=249172 r+sr=bryner
2004-07-06 23:29:31 +00:00
peterv%propagandism.org
a7908e751a
Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
2004-06-25 12:26:02 +00:00
bryner%brianryner.com
e5632337c1
Lots of fixes for native themed checkbox and radio buttons on gtk2. Bug 247631, r=caillon, sr=blizzard.
2004-06-22 22:10:12 +00:00
smontagu%smontagu.org
e1cc6b919a
Bug 140611: When a block element is first in RTL <LI>, bullet moves left. patch by Lina Kemmel lkemmel@il.ibm.com, r=smontagu, sr=dbaron.
2004-06-20 09:51:10 +00:00
roc+%cs.cmu.edu
087ede0319
Bug 245297. Add basic style system support for columns. r+sr=dbaron
2004-06-17 11:57:37 +00:00
roc+%cs.cmu.edu
0f4150a4e5
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
bsmedberg%covad.net
a7deb4f150
Bug 239925 - fix static initializers in DOM/widget/libpr0n so that we can restart XPCOM safely r=jst sr=darin
2004-06-09 18:36:25 +00:00
bryner%brianryner.com
97a65f9548
Get rid of nsILanguageAtom and deCOMtaminate nsILanguageAtomService (bug 230603). Also, fix a bunch of atom double-addref leaks in nsFontMetricsXlib. r+sr=dbaron.
2004-06-08 23:53:59 +00:00
bzbarsky%mit.edu
cbcd653320
Use property ids from the property list, as long as we're using preprocessing
...
to create all the Set/Get* functions for nsIDOMCSS2Properties. Bug 243728, r+sr=dbaron
2004-06-08 01:32:29 +00:00
dbaron%dbaron.org
4ef5842ac2
When asked to remove a property that doesn't exist, don't try too hard (and crash). b=245572 r+sr=bryner
2004-06-07 19:30:54 +00:00
cbiesinger%web.de
c3bc3380df
bug 243966 getPropertyValue truncates values for computed system font value
...
patch by Karsten D��sterloh <mnyromyr@tprac.de> r=ere,timeless,mkaply,amardare sr=dbaron
2004-06-03 21:19:08 +00:00
kyle.yuan%sun.com
ec596d682f
Bug 237535 prelight text invisible in high-contrast inverse themes
...
r=bryner, sr=roc, patch by ginn.chen@sun.com
2004-06-01 01:58:10 +00:00
bzbarsky%mit.edu
a7bff6ad5b
Change FlushPendingNotifications to have more granularity and update callers to
...
only flush the things they really need flushed. Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00
mvl%exedo.nl
0c9bdf8d12
Add CSS3 pseudo-class selector :only-child
...
bug 237568, patch by Sander <mybugzilla@juima.org>, r=bzbarsky, sr=dbaron
2004-05-25 13:43:52 +00:00
roc+%cs.cmu.edu
0e3ff503fb
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu
62a5127738
Relanding, since backing out did not fix orange. Bug 232691.
2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu
7f1e54b18d
Backing out to attempt to fix Mac orange. Bug 232691
2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu
abcad1dc39
Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
...
using EmptyC?String instead. Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
bzbarsky%mit.edu
ba3fb994fa
Use a reflow (without forced repaint) hint for position struct changes. Bug
...
243882, r+sr=roc
2004-05-22 05:50:12 +00:00
bzbarsky%mit.edu
dd9db43d16
Fix permissions check for CSS background images, again. Bug 243948, patch by
...
mvl@exedo.nl , r+sr=bzbarsky
2004-05-19 04:22:05 +00:00
bzbarsky%mit.edu
4ebe94aa34
Fix serialization of selectors when namespaces are around to be smarter; fix
...
serialization of pseudo-elements to prepend '*' as needed. Bug 173586,
r=glazou, sr=roc
2004-05-18 02:42:13 +00:00
bzbarsky%mit.edu
6440f76be7
Instead of setting inline style for every text input's anonymous div, have a
...
rule in forms.css to set the style. Bug 243588, r+sr=dbaron
2004-05-15 05:09:37 +00:00
mvl%exedo.nl
7968f4a79b
Didn't mean to check this in just yet
2004-05-13 20:09:10 +00:00
mvl%exedo.nl
fc48c463fc
Make content policy api (nsIContentPolicy) not suck.
...
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
2004-05-13 18:34:18 +00:00
bryner%brianryner.com
2683530f86
nsCSSValue::Reset does not seem to be inlined with -Os, so adding NS_HIDDEN here as well.
2004-05-13 17:09:20 +00:00
bryner%brianryner.com
13638907d1
Apply NS_HIDDEN to nsCSSValue, nsRuleNode, and nsStyleContext based on profiling data showing that these functions have very high call counts. Bug 227537, r+sr=dbaron.
2004-05-12 21:20:09 +00:00
bzbarsky%mit.edu
91ee37756f
Remove 'text-align:-moz-initial;' from UA CSS. Bug 86462, patch by Anne van
...
Kesteren <bug@annevankesteren.nl>, r+sr=dbaron
2004-05-11 18:32:38 +00:00
bzbarsky%mit.edu
8a13d9b159
Let pages set explicit line-height on textarea if they want to. Bug 243100, r+sr=dbaron
2004-05-09 19:42:53 +00:00
jst%mozilla.jstenback.com
99e02e5aa3
Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
2004-05-07 20:55:17 +00:00
caillon%redhat.com
2794a9ea25
We need to also copy over mAppearance in the nsCSSDisplay copy constructor
...
r+sr=bzbarsky via irc; no bug.
2004-05-07 20:41:38 +00:00
caillon%redhat.com
56b3fc7a8c
Remove '-moz-resizer' from the style system.
...
Bug 242712. r+sr=dbaron
2004-05-05 21:37:32 +00:00
bzbarsky%mit.edu
d5673f0fd9
Add and use some convenience functions on nsCSSRect. Bug 208731, r+sr=dbaron
2004-05-05 00:43:50 +00:00
bzbarsky%mit.edu
32a4619a53
Move presentation attributes into the UA level in non-HTML documents and a
...
separate preshint level in HTML. Bug 234861, r=dbaron, sr=jst
2004-05-05 00:30:57 +00:00
bzbarsky%mit.edu
044950f9e0
Blink changes need to reflow. Bug 236897, r+sr=dbaron
2004-05-02 04:51:08 +00:00
bzbarsky%mit.edu
d4e34b3a9b
Don't allow text in a combobox to wrap. Bug 206937, r+sr=dbaron
2004-04-22 22:20:29 +00:00
bzbarsky%mit.edu
e127bbbcc5
Fix HasAttributeDependentStyle to not assume that class and ID attributes are
...
named "class" and "id". Bug 240766, r+sr=dbaron
2004-04-20 19:48:20 +00:00
neil%parkwaycc.co.uk
c27485ffcc
Bug 240562 Remove unused variable p=gautheri@noos.fr r=glazou sr=roc
2004-04-19 22:31:12 +00:00
bzbarsky%mit.edu
241afa342c
Don't allow negative line-heights to make it past the CSS parser. Bug 240900,
...
r+sr=dbaron
2004-04-18 20:10:09 +00:00
bmlk%gmx.de
05b675f299
remove table background quirk use standards painting instead bug 237078 patch by fantasai@escape.com r=bernd sr=dbaron
...
crash prevention when colframes return bogus colindices bug 240854 r/sr=bzbarsky
2004-04-18 18:17:00 +00:00
gerv%gerv.net
708b56cff4
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
gerv%gerv.net
f534a92d25
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 13:54:27 +00:00
gerv%gerv.net
9d2ee4928c
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
varga%nixcorp.com
2cd056deb1
Fix for bug 221619. Tree widget refactoring and enhancement. r=neil sr=bryner
2004-04-17 05:53:38 +00:00
darin%meer.net
c083b41820
fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst
2004-04-15 23:30:05 +00:00
dbaron%dbaron.org
b4a859050c
Give an initial value for the 'quotes' property in the UA stylesheet. b=24861 r+sr=bzbarsky
2004-04-14 20:13:44 +00:00
bryner%brianryner.com
0af1a79c51
More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
2004-04-13 00:28:44 +00:00
dbaron%dbaron.org
4d12ed012a
De-COM-ify nsHTMLStyleSheet. b=239008 r+sr=bryner
2004-04-12 21:56:09 +00:00
dbaron%dbaron.org
90369f8699
Rename FOR_CSS_SIDES to NS_FOR_CSS_SIDES, move it, and use it more. b=233795 r+sr=bzbarsky
2004-04-12 21:54:45 +00:00
dbaron%dbaron.org
fcaa82359f
Implement 'quotes' property correctly by tracking quote nesting depth using a linked list. Patch by Esben Mose Hansen <esben@oek.dk>, Ulrich Drepper <drepper@redhat.com>, and me. b=24861
2004-04-12 21:53:22 +00:00
caillon%redhat.com
4253baf71c
Bug 219829
...
Allow mixing length and percentage values with keyword values for the background-position property, which is now allowed per section 14.2.1 of CSS 2.1
r+sr=dbaron
a=asa
2004-04-10 05:08:02 +00:00
dbaron%dbaron.org
4f07446903
Add -moz- prefix to :first-node and :last-node. b=141397 r+sr=bzbarsky a=chofmann
2004-04-07 23:25:06 +00:00
cbiesinger%web.de
62c0ebeb4a
Bug 167224 Cleanup marquee
...
patch bv doron r=neil sr=bryner a=tor
2004-04-07 19:48:11 +00:00
bzbarsky%mit.edu
13dc070af1
Fix more bustage. Bug 239079. I wish gcc would at least warn on this or
...
something instead of merrily compiling it....
2004-04-03 19:01:38 +00:00
bzbarsky%mit.edu
83a86441a7
Fixing debug build bustage. Bug 239079.
2004-04-03 17:47:26 +00:00
bzbarsky%mit.edu
48dd7f1243
Fix ID selector parsing to check for a valid identifier. Bug 239079,
...
r+sr=dbaron, a=chofmann
2004-04-03 17:18:45 +00:00
darin%meer.net
6b03adea42
landing marco's patch for bug 238928 "domstubs.idl should not include nsAString.h" r=bsmedberg sr=jst a=dbaron
2004-04-01 19:44:17 +00:00
bzbarsky%mit.edu
809c099e33
Fix bug 236921. This makes the root node's style context have no parent, makes
...
computed style calculations properly parent the computed context, and fixes a
but with "border-color: inherit" on the root. r=caillon, sr=dbaron, a=asa
2004-03-29 16:00:38 +00:00
bsmedberg%covad.net
3ceaebd710
Re-landing bug 237407 with crash-fix. r/sr=dbaron+brendan a=asa+mkaply
2004-03-23 18:26:43 +00:00
bsmedberg%covad.net
ac244f2a9c
Backing out bug 237407 because of tbox orange that I can't easily diagnose.
2004-03-22 15:03:32 +00:00
bsmedberg%covad.net
4cee40678e
Bug 237407 - classic theme scrollbars & buttons leak into modern, when starting with the profile manager - r+sr=dbaron a=asa for 1.7
2004-03-22 12:58:01 +00:00
dbaron%dbaron.org
d0283a6ab9
Use correct 'vertical-align' for XHTML tables without tbody. b=237860 r=bernd sr=roc a=chofmann
2004-03-19 01:34:47 +00:00
dbaron%dbaron.org
8461a47da2
Tweak nsRuleNode::GetStyleData and GetParentData and annotate with NS_LIKELY and NS_UNLIKELY. b=237042 r+sr=bzbarsky a=chofmann
2004-03-14 17:11:38 +00:00
alex.fritze%crocodile-clips.com
33a5da4fc1
debug build bustage fix (bug#237169). r/sr=peterv
2004-03-12 11:17:38 +00:00
dbaron%dbaron.org
41c16857c2
DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
2004-03-12 04:40:17 +00:00
bzbarsky%mit.edu
655abf48ad
Give GetClasses a better signature. Bug 233636, r=sicking, sr=dbaron
2004-03-09 23:22:02 +00:00
bsmedberg%covad.net
255960bb10
Bug 233160 - separate style overlays out of nsIXULChomeRegistry r+sr=hyatt with additional lookovers from dbaron+bz
2004-03-09 19:59:09 +00:00
bmlk%gmx.de
ea9e726b8b
implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron
2004-03-09 06:48:35 +00:00
bzbarsky%mit.edu
26e1b4c6ec
Fixing build bustage.
2004-03-09 04:28:14 +00:00
bzbarsky%mit.edu
134fed8856
Load background images from style instead of from painting. This makes us
...
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time. Bug
57607, r=pavlov, sr=dbaron
2004-03-09 03:57:51 +00:00
dbaron%dbaron.org
7531bc934d
Fix bogus assertion. r+sr=bryner
2004-03-09 00:52:54 +00:00
varga%nixcorp.com
491c58de08
Fix for bug 234740. <fieldset> default view is nicer under IE
...
r+sr=dbaron patch by aha
2004-03-08 20:57:31 +00:00
dbaron%dbaron.org
a609dc7c11
Fix badly delimited comment from previous patch. b=236202
2004-03-08 14:15:32 +00:00
hpradhan%hotpop.com
98daacd558
bug 236202 : caption should inherit all font properties in quirks mode r=bernd sr=dbaron
2004-03-08 07:57:16 +00:00
chanial%noos.fr
8b16e11d1f
Bug 118296: implement NS_THEME_MENUBAR, NS_THEME_TOOLBAR, NS_THEME_MENUPOPUP and NS_THEME_MENUITEM (GTK2)
...
r=bryner, sr=roc
2004-03-04 04:55:31 +00:00
roc+%cs.cmu.edu
dd193ec2ee
Bug 215567. Make 'auto' bottom/right in clip rects give the rect NS_MAXSIZE so we don't think a cliprect is empty when it isn't.
2004-03-03 03:34:03 +00:00
darin%meer.net
c380c59f65
landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
2004-02-28 22:34:07 +00:00
bryner%brianryner.com
ed98c9a308
deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
2004-02-27 17:17:37 +00:00
bryner%brianryner.com
c3ab816242
Trivial change to not run the nsFont default ctor here. r+sr=dbaron.
2004-02-25 23:15:11 +00:00
dbaron%dbaron.org
f016bec80e
Improve comments and function names related to attribute mapping and HasAttributeDependentStyle. b=235342 r+sr=jst
2004-02-25 21:04:50 +00:00
sicking%bigfoot.com
17ca2df349
Bug 232016: Kill SetHTMLAttribute and do minor cleanups in .foo -> set/getAttribute("foo") mapping code.
...
r=peterv sr=jst
2004-02-24 23:55:18 +00:00
mkaply%us.ibm.com
7a20037260
#234412
...
r=pedemont, sr=dbaron
Add divide by zero check to rulenode
2004-02-24 23:15:18 +00:00
dbaron%dbaron.org
7734c4c4c4
Attempt to fix Windows bustage.
2004-02-24 07:37:36 +00:00
dbaron%dbaron.org
eafdebc6f0
Change -moz-opacity to opacity. Create a mechanism for creating a second name for a CSS property and continue to support -moz-opacity. b=93156 r=bzbarsky sr=roc
2004-02-24 06:48:25 +00:00
bryner%brianryner.com
5f7a8b383e
Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
2004-02-20 17:49:01 +00:00
darin%meer.net
05c39fbe7d
bustage fix r=dbaron
2004-02-19 21:01:29 +00:00
dbaron%dbaron.org
7ba1fa93f2
Fix up quirk.css for bidi as well. b=74880 r=fantasai sr=bzbarsky
2004-02-19 18:21:16 +00:00
dbaron%dbaron.org
d1078e6485
Replaced elements should not support generated content. b=169334 r+sr=bzbarsky
2004-02-19 18:04:15 +00:00
dbaron%dbaron.org
43ca4b48b9
Convert switch in nsCSSProps::LookupPropertyValue to use a table by adding to the CSS_PROP_* macros. b=208726 r+sr=bzbarsky
2004-02-19 18:02:20 +00:00
darin%meer.net
8d65e087ae
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
2004-02-19 02:44:03 +00:00
bryner%brianryner.com
92499cbd13
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
2004-02-11 04:57:07 +00:00
dbaron%dbaron.org
952d32ee39
Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky
2004-02-09 06:55:14 +00:00
dbaron%dbaron.org
a52a065fe2
Fix one more out-of-bounds access to gLexTable. b=233399 r+sr=bzbarsky
2004-02-08 19:43:50 +00:00
dbaron%dbaron.org
456b60e585
Fix another case of out-of-bounds access of gLexTable. b=233399 r+sr=bzbarsky
2004-02-08 19:22:47 +00:00
dbaron%dbaron.org
49aa2c0ab9
Fix crashes caused by out-of-bounds access to gLexTable and some other bugs. b=233399 r+sr=bzbarsky
2004-02-08 07:29:42 +00:00
alex.fritze%crocodile-clips.com
5c676d4a47
Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
...
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).
Not part of default build; code is #ifdef'ed out.
r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 12:39:26 +00:00
dbaron%dbaron.org
7eed40eacb
Improve serialization of new margin/padding properties (and fix CSS parsing errors). b=74880 r+sr=bzbarsky
2004-02-05 00:19:19 +00:00
dbaron%dbaron.org
8339f01ba5
Relanding changes for bug 74880.
2004-02-04 08:16:19 +00:00
dbaron%dbaron.org
9ecdb39d54
Backing out part of changes to see which part is causing performance problem. b=74880
2004-02-04 08:03:40 +00:00
dbaron%dbaron.org
474bdc807e
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
2004-02-04 06:10:56 +00:00
neil%parkwaycc.co.uk
fecf778c64
Bug 232545 fix marquee regression caused by xbl content sink change r=doron sr=bz
2004-02-03 16:46:20 +00:00
bryner%brianryner.com
4f69ec2c2e
Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron.
2004-02-02 22:17:21 +00:00
bryner%brianryner.com
42adb9f1be
More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
2004-02-01 10:09:07 +00:00
bryner%brianryner.com
08f53379c4
Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron.
2004-01-31 22:41:40 +00:00
jst%mozilla.jstenback.com
90431d8022
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
2004-01-29 22:04:45 +00:00
bryner%brianryner.com
bc74f0b352
More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
2004-01-28 00:18:22 +00:00
sicking%bigfoot.com
1152b3d656
More bug 195350 work: Make html use new nsAttrAndChildArray class.
...
r=caillon sr=jst
2004-01-26 19:22:05 +00:00
dbaron%dbaron.org
f3af1a7aef
Fix two problems with display fixups. b=231787 r+sr=bzbarsky
2004-01-22 21:34:04 +00:00
bryner%brianryner.com
23ecb8ff4e
DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron.
2004-01-21 23:05:10 +00:00
bryner%brianryner.com
ef5c330583
Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
2004-01-21 09:35:59 +00:00
peterv%propagandism.org
379d6c8a41
Miscellaneous cleanup. r/sr=jst.
2004-01-18 10:45:26 +00:00
caillon%returnzero.com
619d905d92
Bug 230976.
...
Use atoms for common default values in nsComputedDOMStyle to avoid string duplication.
r+sr=bzbarsky
2004-01-18 02:42:27 +00:00
dbaron%dbaron.org
aa4d378d63
Fix parsing of 'cursor' property and ignoring of uri() values, which we don't support. b=77974 r+sr=bzbarsky
2004-01-18 01:12:58 +00:00
bzbarsky%mit.edu
498627aad7
Handle two-':' forms of pseudo-elts. Bug 128482, r=caillon, sr=jst
2004-01-17 20:04:26 +00:00
caillon%returnzero.com
3b526b4352
Bug 230973 - NS_STYLE_LIST_STYLE_BASIC is spurious. Remove its usage in favor of the correct default of disc. r+sr=dbaron
2004-01-15 22:06:39 +00:00
dbaron%dbaron.org
b8ca5986ed
Remove bogus assertion (decl should be null for elt.style, if there's no style attribute). r+sr=bzbarsky
2004-01-15 21:00:35 +00:00
bryner%brianryner.com
072b7160a8
Consolidate SetEnabled and SetDisabled; make sure both of them clear the rule cascade on the rule processors. Bug 230651, r+sr=bzbarsky.
2004-01-15 03:26:56 +00:00
dbaron%dbaron.org
9e6a8ccd41
Add support for -moz-image-region to getComputedStyle. b=220717 r=bzbarsky sr=ben
2004-01-15 02:25:08 +00:00
dbaron%dbaron.org
8c4b7fe415
Fix copy constructor so -moz-image-region inherits correctly. b=220717 r=bzbarsky sr=ben
2004-01-15 02:24:17 +00:00
dbaron%dbaron.org
7c0fd2338b
Implement CSS3 indirect adjacent sibling combinator (~). Roughly identical patches independently written by Daniel Glazman <daniel@glazman.org>, Bradley Baetz <bbaetz@acm.org>, and me. r+sr=dbaron b=135141
2004-01-14 20:12:03 +00:00
dbaron%dbaron.org
d33950dfac
Do style resolution of later siblings required by the CSS + combinator on event state and attribute changes by changing the result of Has(Attribute|State)DependentStyle into a bitfield and setting and handling the restyle-later-siblings bit appropriately. b=15608 r+sr=bzbarsky
2004-01-14 01:36:35 +00:00
bzbarsky%mit.edu
8093efd14c
Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
...
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst
2004-01-13 23:14:49 +00:00
bzbarsky%mit.edu
15a648ab14
Make pretty-printing stylesheets force UTF-8 for themselves. Update charset
...
stuff in CSSLoader to look at the parent sheet charset and use NSPR logging.
Bug 230660, r=sicking, sr=peterv
2004-01-13 19:01:26 +00:00
bryner%brianryner.com
6996bca809
Don't create new rule processors when a style sheet is enabled or disabled, just clear the rule cascade on the existing processors. Bug 230651, r=dbaron, sr=bzbarsky.
2004-01-13 02:19:28 +00:00
bzbarsky%mit.edu
04b733ce1c
Don't allow pseudos that are supposed to be functions to pass through as ident
...
tokens. Bug 230704, r+sr=dbaron
2004-01-12 23:56:18 +00:00
bzbarsky%mit.edu
f2c4812c7e
Argh. Forgot to remove a tab.
2004-01-12 23:55:30 +00:00
bzbarsky%mit.edu
34d04cee4a
Don't apply document rules to anonymous content inside the marquee. Bug
...
159747, r+sr=dbaron
2004-01-12 23:44:51 +00:00
bzbarsky%mit.edu
bc704c519e
Fix regression bug 230620. r+sr=dbaron
2004-01-11 22:03:41 +00:00
bzbarsky%mit.edu
1730b82b19
Don't use HTML rules to parse (redundantly) media strings in CSS @import
...
rules. Bug 153755, r+sr=dbaron
2004-01-10 02:27:41 +00:00
jst%mozilla.jstenback.com
c000ae86e8
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
2004-01-09 23:54:21 +00:00
roc+%cs.cmu.edu
3bfe589ac4
Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner
2004-01-09 19:21:20 +00:00
roc+%cs.cmu.edu
e7f165c614
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
cbiesinger%web.de
e6c5b5084d
bug 230343, support CSS2.1 cursor:progress
...
r+sr=dbaron
2004-01-08 21:27:56 +00:00
bryner%brianryner.com
16be23821e
Additional cleanup related to bug 64116. r=bzbarsky.
2004-01-08 19:23:12 +00:00
bryner%brianryner.com
e65d2d2fe5
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
2004-01-07 22:30:53 +00:00
bzbarsky%mit.edu
bba32c2126
Make AdjustComputedWidth/Height take a boolean that tells it whether to account
...
for box-sizing; sometimes we don't want to. Also fix parsing of
max-width/height and min-width/height to error on negative values (per spec).
Bug 227819, r+sr=dbaron
2004-01-05 23:59:25 +00:00
dbaron%dbaron.org
0f9e71d4a6
Fix two case-sensitivity issues with attribute selectors. b=229172 Patch from Gilles Durys <mozbug@durys.net>. r+sr=dbaron
2003-12-30 17:58:17 +00:00
dbaron%dbaron.org
40deca4b2f
Remove no-longer-needed hook for inspector. b=224164
2003-12-29 19:17:22 +00:00
dbaron%dbaron.org
44b9fdaacb
Fix overuse of inlining in nsCSSValue. r=bryner b=224165
2003-12-29 19:07:53 +00:00
dbaron%dbaron.org
5bd21833b4
Add a correct comment.
2003-12-29 16:39:50 +00:00
bryner%brianryner.com
d572bc76cf
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
2003-12-24 21:51:50 +00:00
bryner%brianryner.com
dfe3513814
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00
bmlk%gmx.de
a7b7022a68
remove old hack that breaks table abs. positioning, bug 145572 r/sr=dbaron
2003-12-19 19:19:52 +00:00
bzbarsky%mit.edu
567e341b75
Make sure to reframe when the "rules" attribute changes, since tables cache all
...
sorts of border-collapse stuff across reflows. Bug 226593, r=bernd, sr=dbaron,
a=brendan
2003-12-04 06:26:15 +00:00
dbaron%dbaron.org
5803e6024c
Fix problems when using generic font when the parent font is not generic but the closest ancestor with a generic font used the same generic. Miscellaneous cleanup. b=226871 r+sr=bzbarsky a=brendan
2003-12-02 22:24:32 +00:00
dbaron%dbaron.org
a012b34247
Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa
2003-11-24 19:46:25 +00:00
jst%mozilla.jstenback.com
4183787fa9
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
2003-11-19 01:20:56 +00:00
dbaron%dbaron.org
fa64c454c5
Scale fixed line-heights when the minimum font size pref kicks in. b=158868 r+sr=bzbarsky
2003-11-18 05:53:22 +00:00
dbaron%dbaron.org
0851395ebe
Remove unneeded chromeOverride variable. b=225936 r+sr=bzbarsky
2003-11-17 04:10:55 +00:00
bzbarsky%mit.edu
a31bf95054
Fix serialization of inherit/initial nsCSSRect values. Bug 225841, r+sr=dbaron
2003-11-16 02:06:38 +00:00
bzbarsky%mit.edu
a491833633
-moz-initial, not initial. Use CSS keyword table to prevent this happening
...
again. Bug 120903, r+sr=dbaron
2003-11-16 01:12:50 +00:00
bzbarsky%mit.edu
0345e33456
Set text-indent:0 on all form controls to keep it from inheriting down to the
...
anonymous blocks inside. Bug 56253, r+sr=dbaron
2003-11-14 23:00:56 +00:00
bzbarsky%mit.edu
d45f5c0447
Don't reframe when "float: left" changes to "float: right"; just reflow. Bug
...
55967, r+sr=dbaron
2003-11-14 22:55:46 +00:00
dbaron%dbaron.org
748a5e9749
Make aErrorCode values nsresult, since that's what they are. Remove obsolete handling of -1 for EOF and now-obsolete TODO list. b=224254 r+sr=bzbarsky
2003-11-13 22:48:05 +00:00
bzbarsky%mit.edu
38703b7a11
Fix bug 101320 -- padding on small border-box sizing things with non-auto
...
widths is not a good idea. Very old patch by rods, r=bzbarsky (now),
sr=attinasi (then). Did I mention this patch is old?
2003-11-09 07:40:09 +00:00
bzbarsky%mit.edu
f61bfe9a35
Fix parsing regression bug 224737. Patch by mats.palmgren@bredband.net (Mats
...
Palmgren), r+sr=bzbarsky
2003-11-05 04:51:17 +00:00
bzbarsky%mit.edu
35a384e555
Correctly ignore adjacent type selectors with no combinator. Bug 224188,
...
r+sr=dbaron
2003-11-04 03:16:10 +00:00
dbaron%dbaron.org
c25969ae98
Clamp -moz-opacity to the range [0.0,1.0]. b=224478 r+sr=roc
2003-11-02 22:40:43 +00:00
uid502
91e2869af8
Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron
2003-11-01 22:34:59 +00:00
peter%propagandism.org
f9f591a28f
Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
2003-11-01 10:57:41 +00:00
uid502
d81619b4fa
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
dbaron%dbaron.org
76a2fc58c8
Backing out previous checkin.
2003-10-30 05:11:21 +00:00
dbaron%dbaron.org
2da0107bd9
Rearrange inlining to fix codesize penalty of previous checkin. b=167262 r=bryner
2003-10-30 04:34:01 +00:00