Commit Graph

1451 Commits

Author SHA1 Message Date
roc+@cs.cmu.edu
3047d1cf87 Bug 429188. Support CSS colors for 'odd tree row' and 'even tree row' on all platforms. patch by stefanh@inbox.com, r+sr=roc,r=gavin,a=beltzner 2008-04-24 01:08:33 -07:00
jruderman@hmc.edu
600c3fc204 Add crashtest 2008-04-22 21:54:40 -07:00
vladimir@pobox.com
5b4f07a7fa backing out 2008-04-20 01:24:42 -07:00
vladimir@pobox.com
1cc55575d3 b=427122, padding on select elements ignored, r=dbaron,a=beltzner 2008-04-19 23:42:00 -07:00
bzbarsky@mit.edu
d0934d18ac display:block legends should still shrink-wrap. Bug 428423, tests by dholbert, r=dholbert, sr=dbaron, a=beltzner 2008-04-16 09:07:27 -07:00
bent.mozilla@gmail.com
7e4ac1fa4a Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner. 2008-04-11 10:29:06 -07:00
martijn.martijn@gmail.com
5b51041386 Workaround patch for bug 413027 - Marquee height is sized too small, clipping text vertically, r+sr=roc, a=beltzner 2008-04-10 16:09:16 -07:00
jonas@sicking.cc
b8a008856b Backing out due to test failures 2008-04-08 20:20:39 -07:00
jonas@sicking.cc
5e5ddf5b3f Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking 2008-04-08 19:06:27 -07:00
reed@reedloden.com
6f305370b3 Bug 426660 - "Allow Firefox themes to change based on the OS theme" [p=ehsan.akhgari@gmail.com (Ehsan Akhgari [ehsan]) r=vlad sr=dbaron a=blocking1.9+] 2008-04-08 11:36:53 -07:00
dholbert@cs.stanford.edu
d4e585ef8e Bug 389949, first patch: Use POINTS_PER_INCH_FLOAT in place of magic number '72.0f'. Basically cosmetic -- shouldn't change our behavior at all. r+sr=vlad, a=blocking1.9+ 2008-04-07 17:27:10 -07:00
masayuki@d-toybox.com
3ea5191188 Bug 421353 Moving the mouse over text hyperlinks which become underlined spikes cpu usage r=roc+stuart, sr=roc, a1.9=beltzner 2008-03-29 14:25:15 -07:00
stefanh@inbox.com
d0fc5ed166 Bug 420726 - Use system background color for odd tree rows. ui-r=beltzner, r=josh+Mano, sr=roc, a1.9=beltzner. 2008-03-29 04:43:31 -07:00
reed@reedloden.com
9d3d47e5fe Bug 417178 - "Google reader does not show subscribed topics in ff3b3 at certain zoom levels" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r+sr=dbaron a1.9b5=mconnor] 2008-03-24 21:55:47 -07:00
reed@reedloden.com
afc1413921 Back out Robert O'Callahan's patch from bug 417178 due to mochitest failure. 2008-03-24 01:41:13 -07:00
reed@reedloden.com
11f6a8b813 Bug 417178 - "Google reader does not show subscribed topics in ff3b3 at certain zoom levels" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r+sr=dbaron a1.9b5=mconnor] 2008-03-24 00:29:30 -07:00
jst@mozilla.org
14b80d26bc Landing followup fix for bug 402983 and re-enabling the new stricter file URI security policies. r+sr=bzbarsky@mit.edu 2008-03-22 09:50:47 -07:00
bzbarsky@mit.edu
7b83e29004 Don't use fieldset pref widths as min widths, since pref widths can be unconstrained. Incidentally makes it possible for text to legends to wrap if the page wants it to. Bug 404123 and bug 354502, r+sr=dbaron, a=beltzner. 2008-03-14 13:48:23 -07:00
reed@reedloden.com
170c0984dc Bug 395454 - "[Mac] Have one file, scrollbars.css" [p=mozcbarrett@gmail.com (Colin Barrett [cbarrett]) r=Enn r=Neil sr=roc a1.9=damons] 2008-03-14 08:24:50 -07:00
stefanh@inbox.com
7984e34c0c Bug 421814 - Use HITheme to draw backgrounds for groupboxes. r=josh+Mano, sr=roc, a1.9=dsicore. 2008-03-13 13:24:29 -07:00
dbaron@dbaron.org
3bc7dd28e0 Fix buggy test; rgb() non-% arguments are required to be integers. a=tests 2008-03-13 08:24:22 -07:00
dbaron@dbaron.org
a03c0aa905 Don't do floating point assignment from uninitialized data, since it can crash. b=422011 r+sr=bzbarsky a=damon 2008-03-12 15:05:27 -07:00
dbaron@dbaron.org
b76ec670c5 Test selector serialization too. 2008-03-09 18:10:03 -07:00
dbaron@dbaron.org
93fe3229b3 Separate the tests so that they really test what they were intended to test. 2008-03-08 14:41:47 -08:00
dbaron@dbaron.org
b8aa468035 Unbreak test that I broke while addressing review comments. a=test-only 2008-03-08 14:22:09 -08:00
reed@reedloden.com
5e3b4d1415 Bug 418543 - "remove -moz-pre-wrap" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r+sr=roc a1.9=beltzner] 2008-03-08 01:44:35 -08:00
dbaron@dbaron.org
6dfd3f8a50 Give radio buttons and checkboxes a useful baseline, and switch checkboxes from text-bottom to baseline alignment (to match radios). b=402940 r+sr=bzbarsky a=blocking1.9+ 2008-03-07 09:57:34 -08:00
dbaron@dbaron.org
4b445ab6b3 Fix greediness of A ~ B C selector matching. b=420814 r+sr=bzbarsky a=beltzner 2008-03-05 16:06:15 -08:00
dbaron@dbaron.org
7003061847 Fix the weird Get* API on nsStyleSides in favor of returning structs by value, to avoid further occurrences of bug 420069. b=420069 r+sr=roc a=beltzner 2008-03-05 16:05:26 -08:00
dbaron@dbaron.org
d2fe1a813b Update properties that are ignored when 'Allow pages to choose their own colors' is unchecked for the splitting of left/right border properties and the introduction of start/end border properties. b=419167 Patch by Bernd Mielke <bernd_mozilla@gmx.de>. r+sr=dbaron a=beltzner 2008-03-05 16:03:50 -08:00
vladimir@pobox.com
4aa4bceacd b=419383, extract native vista toolbar styles and expose to themes ; r+sr=roc; a=beltzner 2008-02-28 21:10:38 -08:00
dbaron@dbaron.org
a6ec36aaa1 Make 'top' and 'bottom' captions follow the CSS2.1 behavior and put the old behavior into 'top-outside' and 'bottom-outside'. b=363248,386704 r+sr=roc a=blocking1.9+ 2008-02-26 18:02:20 -08:00
Olli.Pettay@helsinki.fi
67622f2077 Bug 411054, Audit IsNativeAnonymous()/GetBindingParent() uses, r+sr=sicking 2008-02-26 04:40:18 -08:00
reed@reedloden.com
eda8f31292 Bug 419080 - "build with undefined CSS_REPORT_PARSE_ERRORS broken" [p=romaxa@gmail.com (romaxa) r+sr=bzbarsky a1.9=beltzner] 2008-02-23 23:39:47 -08:00
dbaron@dbaron.org
a8bab33238 Do string appending in chunks rather than one character at a time in GatherIdent and ParseString. Allow EOF to terminate strings, per CSS 2.1. b=311566 Patch by Alfred Kayser <alfredkayser@gmail.com>, with some review comments addressed by me. r+sr=dbaron a=blocking1.9+ 2008-02-21 17:37:04 -08:00
bzbarsky@mit.edu
e350c3c66c Use width, not min-width, for empty selects. Plays nicer with author styling. Bug 315296, r+sr=dbaron, a=beltzner 2008-02-21 14:00:29 -08:00
mozilla@weilbacher.org
ef664eb10c Bug 413632: Remove the remaining MOZ_CAIRO_GFX (and related variables). Full patch except configure.in change. r/sr=dbaron, r=vlad, a=beltzner 2008-02-21 00:37:27 -08:00
reed@reedloden.com
19f6599309 Bug 415810 - "Respect the user's settings of icons in menus" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc r=Enn a1.9=schrep] 2008-02-20 02:12:33 -08:00
roc+@cs.cmu.edu
407f4669ea Bug 261081. Support official 'pre-wrap' value for CSS 'white-space' since we already support it well as '-moz-pre-wrap'. r+sr=dbaron,a=schrep 2008-02-19 18:07:48 -08:00
jag@tty.nl
2fbcb59ed7 Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep 2008-02-18 23:36:50 -08:00
dbaron@dbaron.org
3a69ad63b4 Increase size of non-default pixel value of line-height since current was occasionally the default. b=418190 a=Tests (not part of default build). 2008-02-18 22:19:55 -08:00
dbaron@dbaron.org
cafaf208a1 Fix handling of dynamic changes for advanced CSS selectors (and avoid the cost of doing so in the normal case). b=401291, 75386, 98997, 229915, 404418 (blocking1.9+) r+sr=bzbarsky a=blocking1.9+ on 404418 2008-02-18 22:17:07 -08:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
mats.palmgren@bredband.net
36bbfec789 Avoid divide by zero and make negative values for -moz-column-gap/width invalid. b=416088 r+sr=roc a=mtschrep 2008-02-16 20:45:58 -08:00
masayuki@d-toybox.com
cb5c20d581 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc b1.9=dbaron 2008-02-16 07:31:27 -08:00
reed@reedloden.com
2c86c6b910 Bug 406474 - "Native GTK look for toolbar arrows" [p=twanno@lycos.nl (Teune van Steeg) r+sr=roc a1.9=beltzner] 2008-02-14 21:28:44 -08:00
bzbarsky@mit.edu
829593eb9a Change the nsICSSParser::Parse() API so that we don't hand out a stylesheet; require a stylesheet to be set before calling Parse(). Bug 404315, r+sr=dbaron, a=beltzner 2008-02-14 20:21:57 -08:00
jruderman@hmc.edu
36c9b1134b Fix bug 414851: let white-space:nowrap inherit into buttons. r+sr=bz, a=schrep 2008-02-11 09:11:52 -08:00
dbaron@dbaron.org
8967a5c8bd Stop using -moz-float-edge for list items, but offset the bullet position in the presence of floats. b=413840 (and numerous others) r+sr=roc a=blocking1.9+ 2008-02-10 13:49:24 -08:00
dbaron@dbaron.org
64a3f7435c Make the minimum font size preference leave font-size:0 untouched. b=401046 r+sr=bzbarsky a=schrep 2008-02-09 11:15:09 -08:00
jag@tty.nl
77b084dde7 Bug 333308: make clean and make distclean miss various files. r=bsmedberg, a=schrep 2008-02-09 02:37:42 -08:00
dbaron@dbaron.org
791502ac20 Make CSS namespace identifiers case sensitive to match change in spec. b=416106 r+sr=bzbarsky a=schrep 2008-02-08 11:57:22 -08:00
dbaron@dbaron.org
1cfa9dcca9 Make changes in table-layout cause a reframe. b=367375 r+sr=bzbarsky a=schrep 2008-02-08 11:56:03 -08:00
dbaron@dbaron.org
632c70328b Force reflow on default font change, since style data comparison is not sufficient for things not reflected in style data. b=394057 r+sr=roc a=blocking1.9+ 2008-02-08 11:52:46 -08:00
dbaron@dbaron.org
0fd2f5d010 Fix serialization of currentColor for some properties. b=414550 r+sr=bzbarsky a=schrep 2008-02-08 11:51:41 -08:00
jruderman@hmc.edu
1b5588a6cc Add crashtest! 2008-02-03 22:00:36 -08:00
reed@reedloden.com
bc84c9f211 Bug 413961 - "chrome://global/skin/arrow/* icons don't show up in high contrast mode" [p=masa141421356@gmail.com (Masahiro Yamada) ui-r=faaborg a1.9b3=beltzner] 2008-02-02 15:05:53 -08:00
roc+@cs.cmu.edu
d0663a11d3 Bug 363183. Fix getComputedStyle left/top/width/height for tables. r+sr=dbaron 2008-01-29 13:53:09 -08:00
reed@reedloden.com
39a8f2021a Bug 413945 - "Text on HTML buttons is invisible on hover with HighContrastInverse Theme" [p=twanno@lycos.nl (Teune van Steeg) r+sr=roc a1.9=schrep] 2008-01-26 20:34:24 -08:00
reed@reedloden.com
8dd5e9d735 Bug 413274 - ""ASSERTION: How can this ever happen?: '*aUnconstrainedSize <= scriptLevelSize'"" [p=vladimir.sukhoy@gmail.com (Vlad Sukhoy) r+sr=roc a1.9=beltzner] 2008-01-26 19:55:40 -08:00
roc+@cs.cmu.edu
29dfaab10a Bug 412901. getComputedStyle should return actual border widths (i.e. including round-to-device-pixels that happens during style resolution and layout). r+sr=dbaron 2008-01-26 15:54:39 -08:00
reed@reedloden.com
1c0d24e0cc Bug 413272 - "HTML SELECT does not show selected item in windows "selected text" style - recent regression" (use new CSS system color for html select options) [p=twanno@lycos.nl (Teune van Steeg) r+sr=roc a=blocking1.9+] 2008-01-24 01:31:44 -08:00
reed@reedloden.com
1e4d3ec292 Bug 413198 - "Make layout.css.report_errors apply to debug build text terminal (stderr)" [p=matt@nightrealms.com (Matthew Cline) r+sr=dbaron a1.9=schrep] 2008-01-22 03:52:27 -08:00
bzbarsky@mit.edu
2641f01d3d Fix bug 405818: need to copy the original sheet URI when cloning. r+sr=dbaron, a=schrep. 2008-01-21 20:26:01 -08:00
jruderman@hmc.edu
00d631a16a Add crashtest 2008-01-20 16:12:55 -08:00
bzbarsky@mit.edu
3b4de565f4 Adding test 2008-01-20 10:05:39 -08:00
jwalden@mit.edu
afd9df39fb Bug 346690 - Add support for the 'none' keyword for the CSS cursor property. r=dbaron, sr=mats, a=schrep 2008-01-18 10:39:49 -08:00
bzbarsky@mit.edu
a0a4bcad25 Add an internal security-check-less method for adding rules to stylesheets to fix bug 386939. r+sr=dbaron 2008-01-17 21:23:44 -08:00
reed@reedloden.com
1c92a2eaf9 Bug 404825 - "Bookmark folders in Personal Toolbar" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc a1.9=schrep] 2008-01-17 02:24:31 -08:00
reed@reedloden.com
7298f80eb7 Bug 412281 - "[GTK] Unfocused options list looks like focused ones" (use -moz-cellhighlight* for non focused selects) [p=twanno@lycos.nl (Teune van Steeg) r+sr=roc a1.9=schrep] 2008-01-17 02:22:34 -08:00
roc+@cs.cmu.edu
d41bc8dced Bug 411603 crashtest 2008-01-13 13:00:49 -08:00
roc+@cs.cmu.edu
9aeb2ba406 Bug 411603. Avoid circular definition and infinite recursion by interpreting 'scriptminsize' in em/ex units as relative to the parent font size. r+sr=dbaron 2008-01-13 12:57:03 -08:00
dwitte@stanford.edu
48b1fc2eb4 get rid of nsStyleStruct base type. b=408933, r+sr=dbaron, a=beltzner 2008-01-10 12:56:49 -08:00
dwitte@stanford.edu
c2ab021e88 use nsAutoTArray for nsCSSDeclaration::mOrder. b=410357, r+sr=dbaron, a=blocking1.9+ 2008-01-10 12:13:24 -08:00
martijn.martijn@gmail.com
3e60d596aa Bug 407016 - Marquee GetMinWidth() is no longer 0 after bug 402567 landed, r=dholbert, sr=bzbarsky, a=blocking1.9 2008-01-09 04:43:44 -08:00
roc+@cs.cmu.edu
bc08ac141a Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-09 01:38:28 -08:00
roc+@cs.cmu.edu
09582c48ae backing out bug 355548 due to test failures 2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
459c356854 Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-08 14:36:46 -08:00
jruderman@hmc.edu
7fbce6ec77 Add crashtest. 2008-01-06 15:47:02 -08:00
reed@reedloden.com
1d602b3c42 Bug 105708 - "move nsUnitConversion.h" [p=reg@openpave.org (Jeremy Lea) r+sr+a1.9=roc] 2008-01-01 02:11:02 -08:00
sayrer@gmail.com
43999e482b Bug 387522. Native JSON support. r=crowder/jst, sr=brendan 2007-12-27 13:34:03 -08:00
dwitte@stanford.edu
b677a88807 (final) relanding since this has no Ts impact. 2007-12-21 16:56:28 -08:00
dwitte@stanford.edu
da912e42cd reverting change. 2007-12-21 07:02:13 -08:00
reed@reedloden.com
be87af14d3 Bug 399545 - "<textbox type="number"> spin buttons look wrong with some GTK themes" (add GTK theming for spinner and spinner-textfield) [p=twanno@lycos.nl (Teune van Steeg) r+sr=roc a1.9=beltzner] 2007-12-21 03:30:00 -08:00
dwitte@stanford.edu
332de77638 reland part of bug 407442. 2007-12-21 03:22:18 -08:00
reed@reedloden.com
3927f9b31d Bug 406330 - "Winstripe and Gnomestripe look bad in RTL mode" (Fix gnomestripe rtl) [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=Ryan a=blocking-firefox3+] 2007-12-21 03:17:01 -08:00
dwitte@stanford.edu
e1f9209274 relanding part of 407442. 2007-12-19 23:30:04 -08:00
dwitte@stanford.edu
2b31364ac3 back out changes. 2007-12-19 03:07:41 -08:00
dwitte@stanford.edu
63050186f2 reland nsTObserverArray changes only. 2007-12-18 22:03:05 -08:00
dwitte@stanford.edu
8b3567b59d backing out to investigate Ts increase 2007-12-18 20:12:11 -08:00
dwitte@stanford.edu
3b75d76adb implement nsTObserverArray using nsTArray, clean up the interface, provide an nsAutoTObserverArray, and use it to reduce allocations in nsEventListenerManager. b=407442, r+sr=sicking, a=beltzner 2007-12-18 17:06:34 -08:00
jruderman@hmc.edu
cf798e4015 Your mother was a hamster and your father smelt of crashtests! 2007-12-17 22:33:13 -08:00
jruderman@hmc.edu
b3a5a3dce7 Add crashtest 2007-12-17 22:31:39 -08:00
jruderman@hmc.edu
177ec15108 Add crashtests 2007-12-17 22:30:20 -08:00
jruderman@hmc.edu
d8c8208146 Add crashtests related to old form hack 2007-12-16 18:50:58 -08:00
jruderman@hmc.edu
c6966cc18c 2003 called. It wants its crashtest back. 2007-12-15 20:57:11 -08:00
dbaron@dbaron.org
e5d35c002d Use the existing linked list structure while sorting rules instead of using temporary arrays. b=408295 r+sr=sicking a=dsicore 2007-12-14 14:59:20 -08:00
jonas@sicking.cc
5378dfb532 Bug 408123: Use nsTObserverArray rather than array copy to deal with listeners going away while firing event. r=smaug sr=jst 2007-12-13 17:41:48 -08:00
jonas@sicking.cc
2c8a4bad88 Bug 408135: Get rid of unnecessary array churning in nsCSSRuleProcessor::GetRuleCascade. r/sr=dbaron 2007-12-13 16:24:39 -08:00
jruderman@hmc.edu
c11a5c3f7e Add a few crashtests. 2007-12-12 22:44:00 -08:00
martijn.martijn@gmail.com
06c6e5f3ee Bug 406073 - OnMouseOver and OnMouseOut Dysfunctional On Marquee, r=bzbarsky, sr=roc, a=beltzner 2007-12-12 06:56:57 -08:00
dmose@mozilla.org
a7aaa3bf1f Backing out fix for bug 392785 as per roc + mconnor. 2007-12-04 15:32:08 -08:00
masayuki@d-toybox.com
db9a1f0734 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc, b1.9=dbaron 2007-12-02 22:51:57 -08:00
bzbarsky@mit.edu
44e2c1e61f Don't do arithmetic with unconstrained widths when reflowing comboboxes. Bug 363858, r+sr=dbaron 2007-12-02 22:41:38 -08:00
reed@reedloden.com
f1b1304be3 Bug 363696 - "Crash [@ nsHTMLReflowState::ComputeContainingBlockRectangle] with file upload control in xul" [p=kinetik@flim.org (Matthew Gregan) r=bzbarsky sr=roc a=blocking1.9+] 2007-11-26 19:35:50 -08:00
longsonr@gmail.com
c60c40f199 Bug 398105 - Removing xlink:href attribute from svg:a does not update elements influenced by :link styles. r+sr=bzbarsky,a1.9=tor 2007-11-23 01:43:49 -08:00
jonas@sicking.cc
136308d144 bug 384612: Remove script from scrollbar XBL binding. r/sr=dbaron 2007-11-19 12:08:20 -08:00
bzbarsky@mit.edu
71abc8fcc3 The frame model depends on the span attribute, so changing span should reconstruct frames. Bug 403249, r=bernd, sr=roc 2007-11-18 10:56:49 -08:00
dbaron@dbaron.org
d73292f9d0 Make 'vertical-align' work on 'display: inline-table'. b=404030 r+sr=bzbarsky a=blocking1.9+ 2007-11-17 14:33:09 -08:00
bzbarsky@mit.edu
5ee6e45f66 Don't allow presentational attributes to set colors if the "don't use document colors" pref is set. Bug 400452, r+sr=dbaron 2007-11-15 19:46:42 -08:00
dbaron@dbaron.org
579235bed6 Rename new width keywords to match CSS WG decision. b=402706 r+sr=bzbarsky a=blocking1.9+ 2007-11-15 10:10:31 -08:00
bzbarsky@mit.edu
086bfe7160 We can destroy style contexts during ruletree reconstruct. Bug 403454, r+sr=dbaron 2007-11-14 22:13:48 -08:00
bzbarsky@mit.edu
e6e261a470 Implement hixie's first-line proposal: only inherit properties that inherit by default from ::first-line. Inherit the reset properties from its style parent (which is the node that we'd inherit from if the ::first-line were not there). Bug 395623, r+sr=dbaron, a=beltzner 2007-11-07 09:13:00 -08:00
reed@reedloden.com
b360da4efd Bug 391429 - "Editor caret is hidden in XULRunner applications, but visible in Firefox" [p=matt@songbirdnest.com (Matt Crocker) r+sr=peterv aM9=beltzner] 2007-10-31 11:51:49 -07:00
dbaron@dbaron.org
30ac4ad5bf Make boxes that have non-box non-block children wrap all their children in a block. b=321402 r+sr=roc, a=blocking1.9+/M9 2007-10-25 16:30:49 -07:00
bzbarsky@mit.edu
445a9b64c8 Landing files that somehow got missed. Bug 397427. 2007-10-23 15:11:08 -07:00
bzbarsky@mit.edu
06f6b88b65 Make the "href" property of stylesheets reflect the original URI that was reflected to load the sheet. Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore 2007-10-23 14:56:41 -07:00
tor@cs.brown.edu
c7e1505c64 Bug 399289 - leak of nsBaseURLParser with svg paint. r+sr+a=dbaron 2007-10-19 08:36:15 -07:00
neil@parkwaycc.co.uk
d3fd192a81 Bug 399968 Back out some parts from bug 258875 that have no effect r+sr+a=roc 2007-10-19 01:51:27 -07:00
tor@cs.brown.edu
279a22522f Backout of 399289. 2007-10-15 11:59:22 -07:00
tor@cs.brown.edu
3334812330 Bug 399289 - leak of nsBaseURLParser with svg paint. r=dbaron, sr=roc, a=dbaron 2007-10-15 09:37:04 -07:00
bzbarsky@mit.edu
d6ddf5aec3 Fix bug 345609. r+sr+a=roc 2007-10-12 11:37:51 -07:00
tglek@mozilla.com
fdf793303e Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron 2007-10-09 17:00:05 -07:00
reed@reedloden.com
f11e2ac243 Bug 394844 - "nsCSSParser.cpp: aSkipWS parameter of ExpectEndProperty and GetURLToken can be removed as it is always PR_TRUE" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r+sr+a1.9=dbaron] 2007-10-08 16:17:14 -07:00
dbaron@dbaron.org
7415f81dc3 Make IsWidgetStyled use style system to really check whether author styled borders or backgrounds, rather than depending on default values in forms.css. b=240117 r+sr=bzbarsky a=roc 2007-10-08 16:11:01 -07:00
dbaron@dbaron.org
1c49aa6978 Allow MapRuleInfoInto to map data for multiple structs at the same time. b=240117 r+sr=bzbarsky a=roc 2007-10-08 14:58:22 -07:00
jwalden@mit.edu
4bde7b5023 Bug 393757 - Don't report CSS style errors for identifiers designated as vendor-specific by the CSS spec. This means we won't report errors for things like _width or for any of the -khtml-, -webkit-, -o-, -ms-, etc. properties, cutting down on error console spam a touch. r+sr+a=dbaron 2007-10-03 21:58:27 -07:00
reed@reedloden.com
a7f28960d6 Bug 389685 - "Empty style attribute generates strange css warning" [p=elif (sharparrow1) r+sr+a1.9=dbaron] 2007-10-03 20:20:36 -07:00
dholbert@cs.stanford.edu
079f238fc8 Backing out patch for Bug 396984 -- its issues will be addressed via Bug 240117. (see comments 27-28 on Bug 396984) 2007-10-03 13:04:32 -07:00
dholbert@cs.stanford.edu
07e659f6fc Bug 396984 - Fix GTK textfield border-width 2px/3px discrepancy. Patch by Michael Ventnor <ventnor.bugzilla@yahoo.com.au>, r/sr/a=roc 2007-10-02 14:25:59 -07:00
dholbert@cs.stanford.edu
e2823ee8c1 Bug 382147: Make disabled button border-width match enabled buttons. r=roc sr=roc blocking1.9=joshmoz 2007-10-01 09:40:35 -07:00
dbaron@dbaron.org
f9914cd5b5 Fix leak of nsCSSValueList. b=397149 r+sr=bzbarsky a=roc 2007-09-27 09:28:14 -07:00
dbaron@dbaron.org
e997f08c07 Always delete the old content array so that we run destructors. b=397022 r+sr=bzbarsky a=roc 2007-09-27 09:27:48 -07:00
dbaron@dbaron.org
f11b24b470 Remove comment about exceptions that no longer exist thanks to bug 386640. 2007-09-27 09:26:22 -07:00
martijn.martijn@gmail.com
b3e6ea2033 Bug 376948 - Useless margin-top rules in quirk.css for form?, r+sr+a=dbaron 2007-09-20 09:54:11 -07:00
roc+@cs.cmu.edu
e8289ba12e Bug 386759. Text inputs should use text-rendering:optimizeLegibility 2007-09-18 05:14:46 -07:00
timeless@mozdev.org
7ce7e8401d Bug 393144 consistently use NS_THEME_NONE r=bz, r=bz, r=dbaron, sr=bz, a=dbaron 2007-09-05 03:27:06 -07:00
dbaron@dbaron.org
5518da3f51 Add real test for the nsCSSValue regression caught on Monday only by an unexpected pass. b=382027 2007-08-31 10:07:02 -07:00
dbaron@dbaron.org
85722de549 Attempt to fix test failures from bug 382027. 2007-08-28 00:29:03 -07:00
dbaron@dbaron.org
7b0d849066 Fix accounting showing leak of CSS value types, and optimize CSS value constructors/destructors a bit. b=382027 r+sr=bzbarsky a1.9=roc 2007-08-27 23:47:32 -07:00
sharparrow1@yahoo.com
2c1936f084 Bug 389224: Clipped objects are sometimes not fully redrawn after clipping. r+sr=roc, a=dbaron 2007-08-27 18:35:59 -07:00
sharparrow1@yahoo.com
7b65e5cdfe Additional CSS parsing tests for bugs 393286 and 393499. 2007-08-27 13:49:09 -07:00
sharparrow1@yahoo.com
b10694182d Bug 393499: Clean up character lookup in nsCSSScanner. r=bzbarsky, sr+a=dbaron 2007-08-25 19:20:27 -07:00
bzbarsky@mit.edu
82d377683c Make line-height specified in ch units work. Bug 391909, r+sr+a+dbaron 2007-08-24 15:20:24 -07:00
sharparrow1@yahoo.com
f6d7f34d38 Bug 393286: Make nsCSSScanner::Read regularize newlines. r+sr=bzbarsky, a=dbaron 2007-08-23 16:01:52 -07:00
sharparrow1@yahoo.com
e37155ba7f Bug 393080: Make count and offset in nsCSSScanner unsigned. r+sr=bzbarsky, a=dbaron 2007-08-22 10:32:59 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
bzbarsky@mit.edu
295ac223f1 Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron 2007-08-21 19:57:06 -07:00
sharparrow1@yahoo.com
bd3a0402f5 Bug 392840: Get rid of nsCSSScanner::Unread. r+sr=bzbarsky, r+a=dbaron 2007-08-21 11:29:50 -07:00
sharparrow1@yahoo.com
862051c004 Bug 387511: CSs scanner causes parse error for URLs starting with a codepoint > 255. r+sr=bzbarsky, a=dbaron 2007-08-19 20:39:22 -07:00
sharparrow1@yahoo.com
d9a7aa54b9 Bug 390399: Add some general (non-property-specific) parsing tests. r+sr+a=dbaron 2007-08-17 15:05:22 -07:00
bzbarsky@mit.edu
edb68ef0b7 Fix computed style for relative offsets when they're specified in |ch| units. Bug 391034, r+sr+a=dbaron 2007-08-16 16:19:25 -07:00
bzbarsky@mit.edu
71c361ac5f Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc 2007-08-15 16:20:25 -07:00
bzbarsky@mit.edu
345f09029c Fix a few more issues with eSyleUnit_Chars in computed style. Bug 391221, r+sr+a=dbaron 2007-08-14 11:44:39 -07:00
bzbarsky@mit.edu
1cd5504611 Fix up whitespace issue from checking in -w patch. No code change. Bug 390318 2007-08-10 15:17:20 -07:00
bzbarsky@mit.edu
96ec7b6a69 Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal and a uri. Get the URI from the principal. Bug 391438, r+sr+a=sicking 2007-08-09 22:35:08 -07:00
bzbarsky@mit.edu
73073f4f3b Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking 2007-08-07 18:16:09 -07:00
sdwilsh@shawnwilsher.com
bbac20edf7 Bug 355789 - Use vista native uxtheme for menu rendering. Patch by Rob Arnold <robarnold@mozilla.com>. r=vladimir, a=[wanted-1.9] 2007-08-06 10:45:57 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
dbaron@dbaron.org
acdb55d6ca Remove a value for a property not listed in nsCSSPropList.h. b=258079 r+sr=bzbarsky a1.9=roc 2007-08-04 00:01:23 -07:00
jwalden@mit.edu
b9b7bfc04a Bug 374635 - [Midas] Visited links are black, not purple. Patch by Mathieu Fenniak <mfenniak-moz@mathieu.fenniak.net>, r=neil, sr=peterv, a=dbaron 2007-08-03 11:02:17 -07:00
bzbarsky@mit.edu
21fd3a72bb Fix EOF handling after an !important. Bug 390318, r+sr+a=dbaron 2007-08-02 14:20:11 -07:00
Olli.Pettay@helsinki.fi
81c89897e3 Backing out bug 275196, xml:id, to fix tp regression 2007-07-26 07:16:19 -07:00
Olli.Pettay@helsinki.fi
ad51500682 Bug 275196, xml:id, r=sicking, sr=dbaron 2007-07-26 05:22:01 -07:00
tor@cs.brown.edu
57371777f8 Bug 383184 - Implement SVG lighting filters.
Style portion r+sr=dbaron, rest r=longsonr, sr=roc.
2007-07-25 23:57:42 -07:00
dbaron@dbaron.org
51a28fed8b Remove additional unused code from system font redesign, and add one comment. b=377947 r+sr=bzbarsky 2007-07-25 23:41:37 -07:00
dbaron@dbaron.org
c265e46582 Make SetGenericFont not use aStartStruct-based computation since it's fundamentally incompatible with it. b=216456 r+sr=bzbarsky 2007-07-25 23:32:19 -07:00
dbaron@dbaron.org
12cfbf536b Mark tests passing that were fixed by bug 389464. 2007-07-25 17:01:32 -07:00
dbaron@dbaron.org
24fb2d19fe Fix enumerated values of font-size to depend on the right preference. b=389464 r+sr=bzbarsky 2007-07-25 16:12:38 -07:00
vladimir@pobox.com
7c12866d18 b=339553, drawString enhancement for canvas, r=me; patch from robarnold 2007-07-25 11:21:34 -07:00
sharparrow1@yahoo.com
fb3a8889db Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz 2007-07-25 10:14:13 -07:00
bzbarsky@mit.edu
38a4896ea0 Avoid doing some work when initializing textfields. Bug 221150, patch by
peterv and a little bit me, r=me, sr=roc
2007-07-24 17:11:22 -07:00
dbaron@dbaron.org
c2ab442683 Implement -moz-initial for almost all remaining properties. b=80887 r+sr=bzbarsky 2007-07-24 08:27:11 -07:00
dbaron@dbaron.org
e0f7d67706 Avoid potential recursion into Compute*Data on the same rule node (for an inherited struct), which can cause a leak. Add bolder and lighter font-weight to CheckFontProperties. Fix incorrect propagation of generic fonts in ComputeFontData. b=383979 r+sr=bzbarsky 2007-07-23 21:13:45 -07:00
bzbarsky@mit.edu
1287c748a6 Have the rule take ownership of the parsed selector when we're done parsing it
instead of cloning the selector.  Bug 386123, r+sr=dbaron
2007-07-23 18:48:10 -07:00
martijn.martijn@gmail.com
bf7e1a46af Bug 386470 - <marquee contentEditable> should stop, r=peterv, sr=bzbarsky 2007-07-23 15:02:57 -07:00
dbaron@dbaron.org
96ccb2946c Clean up empty gNoComputedStyle lists. 2007-07-22 12:57:15 -07:00
dbaron@dbaron.org
bba4c7f4c7 Don't test properties whose values overlap with others. 2007-07-22 12:56:35 -07:00
dbaron@dbaron.org
bcde3b4813 Add hooks to get correct computed value for logical box properties. 2007-07-22 12:56:13 -07:00
dbaron@dbaron.org
4b82f11407 Remove unused gNoComputedValue variable. 2007-07-22 10:59:14 -07:00
dbaron@dbaron.org
6f3e04c270 Implement remaining properties in computed style (with some hacks for counter() values for content), and fix some page-break-* bugs exposed by the added test coverage. b=316981 r+sr=bzbarsky 2007-07-22 10:58:37 -07:00
dbaron@dbaron.org
0dd1f4d010 Make CheckFontProperties consider font-size:larger and font-size:smaller as well. b=388548 r+sr=bzbarsky 2007-07-22 10:57:35 -07:00
dbaron@dbaron.org
63a3524fc1 Make aRuleDetail parameters to Compute*Data not be references. b=388546 r+sr=bzbarsky 2007-07-22 10:56:56 -07:00
tor@cs.brown.edu
7b793ae7ab Bug 316908 - Add SVG to nsComputedDOMStyle. r+sr=dbaron 2007-07-21 07:20:25 -07:00
roc+@cs.cmu.edu
86d69d1566 Bug 364680. Intrinsic widths for columns. r+sr=dbaron 2007-07-19 19:21:43 -07:00
bzbarsky@mit.edu
4f18dd903d Landing tests that somehow never made it into the tree. 2007-07-19 17:26:41 -07:00
bzbarsky@mit.edu
82a84b3be7 Checking in missing file. Bug 204140 2007-07-18 15:17:30 -07:00
bzbarsky@mit.edu
a6139746d4 Propagate stylesheet principals through to XBL binding loads; streamline load
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo).  Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.

In particular, this change allows user stylesheets loaded from local files to
link to local files.
2007-07-18 14:56:57 -07:00
sharparrow1@yahoo.com
8682593e76 Restore includes t fix bustage. 2007-07-18 09:54:57 -07:00
sharparrow1@yahoo.com
e34fe8fa93 Remove unused code; no bug. rs=bzbarsky. 2007-07-18 09:39:53 -07:00
kherron@fmailbox.com
fda0e634fc Bug 337771 - Native -moz-appearance work for menus and toolbars on Windows XP. Patch by Simon Bünzli <zeniko@gmail.com>. r=emaijala, sr=bzbarsky. 2007-07-14 08:11:37 -07:00
dbaron@dbaron.org
67311c9ab9 Add test that the nsRuleNode::Compute*Data functions don't touch aStartStruct when they shouldn't. 2007-07-12 16:50:13 -07:00
bzbarsky@mit.edu
a4c90a1d9d Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
dbaron@dbaron.org
785d177d0e Try fixing Windows test failure; consistent computed values for line-height: normal require constant font metrics. 2007-07-11 16:42:35 -07:00
dbaron@dbaron.org
2a24493b83 Add tests for bugs 357614 and 387615. 2007-07-11 15:25:00 -07:00
dbaron@dbaron.org
74b69a02d4 Don't check for namespaced attributes when checking which attributes have case-insensitive values. b=387615 r+sr=bzbarsky 2007-07-11 15:24:19 -07:00
dbaron@dbaron.org
e7cd6b9ed9 Make test_inherit_computation test the Compute*Data functions for eStyleUnit_Inherit. 2007-07-11 15:23:03 -07:00
bzbarsky@mit.edu
a7014a42ea Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv 2007-07-11 12:44:27 -07:00
neil@parkwaycc.co.uk
11ed13d71f Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
2007-07-11 01:46:44 -07:00
dbaron@dbaron.org
2920d58187 Reverse the list of which HTML attributes have case-sensitive values for the CSS attribute selector (i.e., list the ones whose values are case-insensitive instead, so new attributes are case sensitive by default). b=357614 Patch by Niels Leenheer (rakaz) <niels.leenheer@gmail.com>. r+sr=dbaron 2007-07-10 16:23:05 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
sharparrow1@yahoo.com
0238495104 Bug 387044: cleanup string usage in nsCSSParser. r+sr=bzbarsky 2007-07-05 18:21:56 -07:00
dbaron@dbaron.org
ef7fb8545a Remove unused copy constructors. b=386809 r+sr=bzbarsky 2007-07-04 11:52:27 -07:00
dbaron@dbaron.org
2be70ea82e Implement -moz-border-start and -moz-border-end. Patch by Simon Montagu <smontagu@smontagu.org> and me. b=74880 r/sr=smontagu/dbaron 2007-07-04 11:51:16 -07:00
bzbarsky@mit.edu
bdded13f7c Propagate the principal responsible an image load all the way to
CanLoadImage/LoadImage in nsContentUtils, and use it for security checks
there.  Bug 310165, r=sicking, sr=dbaron
2007-07-03 11:45:39 -07:00
gavin@gavinsharp.com
a60fe167e5 Bug 253851: wait for background image loads before firing onload (match behavior of IE/Safari/Opera), r+sr=dbaron 2007-07-03 06:59:02 -07:00
peterv@propagandism.org
76a2c4d37f Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org
0f0097ffc5 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org
51dda63979 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
roc+@cs.cmu.edu
26f439cf9b Bug 383551. Clean up IsInlineFrame, nsStyleDisplay::IsBlockLevel and related methods. r+sr=dbaron 2007-06-26 19:31:35 -07:00
dbaron@dbaron.org
39a48943d0 Make marquee work again when direction is rtl, by working around changes to range of offsetLeft. b=336736 Patch by Daniel Holbert <dholbert@mozilla.com>. r=martijn sr=dbaron 2007-06-18 16:21:56 -07:00
bzbarsky@mit.edu
4742664b10 Don't apply user stylesheets to descendants of native anonymous subtrees. Bug
285140, r+sr=dbaron
2007-06-15 22:09:51 -07:00
dbaron@dbaron.org
00f940f9de Rewrite handling of CSS system fonts to fix bugs in cascading and serialization. b=377947 r+sr=bzbarsky 2007-06-12 11:28:56 -07:00
mats.palmgren@bredband.net
39f5613641 Treat a property value with trailing non-whitespace the same as a parse error. b=383075 r+sr=dbaron 2007-06-06 10:56:18 -07:00
martijn.martijn@gmail.com
8bf4d21602 Bug 383030 - Negative values for -moz-border-radius/-moz-outline-radius should be ignored, r+sr=dbaron 2007-06-03 14:15:45 -07:00
bzbarsky@mit.edu
f5f6fbc39c Add an API to observe all loads in a CSSLoader. Change XML prettyprinting tonot start layout till after the prettyprinter stylesheet is loaded, so we don'treflow and reconstruct the whole thing twice. Bug 380612, r+sr=sicking 2007-05-30 18:42:48 -07:00
sharparrow1@yahoo.com
e98fa1cc43 Bug 237770: Mozilla fails to ignore 'float' property even though 'position: absolute' is set. r=dbaron, sr=bzbarsky. 2007-05-22 22:55:03 -07:00
joshmoz@gmail.com
3a52820c7e remove camino-specific CSS from forms.css. b=381539 r=cbarrett sr=dbaron 2007-05-22 12:44:01 -07:00
dbaron@dbaron.org
4fdff9f2af Block outline-color for always use my colors pref. b=380924 r+sr=bzbarsky 2007-05-17 23:02:57 -07:00
joshmoz@gmail.com
861dd29eb5 this camino-only CSS is no longer necessary after bug 370282 landed. r/sr=roc 2007-05-17 20:15:04 -07:00
dbaron@dbaron.org
471819ac98 Add bug numbers._dont_use_document_colors.html 2007-05-16 18:56:18 -07:00
dbaron@dbaron.org
cdc8086606 Add test for always-use-my-colors preference. b=58048 2007-05-16 18:51:30 -07:00
dbaron@dbaron.org
ba164cc517 Fix some debugging code. b=380825 r+sr=bzbarsky 2007-05-16 14:17:45 -07:00
dbaron@dbaron.org
326dbd88d2 Revert part of bug 377521 to fix bug 380825 (and add comment). r+sr=bzbarsky 2007-05-16 14:17:21 -07:00
dbaron@dbaron.org
8d20e3f29b Rewrite the pref for forbidding pages from setting colors and backgrounds so that it changes transparency less often and interferes less with user and user-agent styles. b=58048, 255829, 255411 r+sr=bzbarsky 2007-05-16 14:10:31 -07:00
dbaron@dbaron.org
5d44540384 Make rule nodes know their level in the cascade. b=374907 r+sr=bzbarsky 2007-05-16 14:08:51 -07:00
bzbarsky@mit.edu
e8a960c0a8 Fix regression bug 380842: allow block-display generated content on table cellsand captions again. r+sr=dbaron 2007-05-16 09:57:28 -07:00
bzbarsky@mit.edu
01da3bef40 Followup tweak for bug 379809, r=dbaron 2007-05-16 09:03:05 -07:00
masayuki@d-toybox.com
cae88bda36 Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron 2007-05-16 08:51:37 -07:00
bzbarsky@mit.edu
1492416482 Back out part of the last change which is not actually correct 2007-05-15 20:39:36 -07:00
bzbarsky@mit.edu
9a024b3234 Apparently we can't handle "thin" here yet. 2007-05-15 20:33:04 -07:00
bzbarsky@mit.edu
6f8670aed8 Change round-trip testing for specified sub-properties of a shorthand to setthem all before looking at computed style, since, for example, the specifiedfont-family affects the computed line-height if the specified line-height is"normal". Bug 379809, r=dbaron 2007-05-15 20:03:34 -07:00
dbaron@dbaron.org
0b1ce291e2 Handle -moz-initial for 'font' shorthand (and fix bugs in some of its subproperties). b=377521 r+sr=bzbarsky 2007-05-14 22:13:49 -07:00
dbaron@dbaron.org
3e2d05ec11 Remove known failure fixed by patches in bug 379741. 2007-05-10 23:50:35 -07:00
dbaron@dbaron.org
6becb79be4 Remove now-unneeded checks for eStyleUnit_Null. b=379741 r+sr=bzbarsky 2007-05-10 23:02:31 -07:00
dbaron@dbaron.org
6375aad92f Add eStyleUnit_None so we don't have to use eStyleUnit_Null as a real value for max-width and max-height. b=379741 r+sr=bzbarsky 2007-05-10 23:01:31 -07:00
dbaron@dbaron.org
ce027d98d6 Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky 2007-05-10 23:00:26 -07:00
dbaron@dbaron.org
49f0460769 Don't put null coords in nsStyleCoords when they have the same meaning as some other coord type. b=379741 r+sr=bzbarsky 2007-05-10 22:58:34 -07:00
joshmoz@gmail.com
41cf3b9332 Use small control type for radio buttons and checkboxes in HTML. On Windows and Linux this has no effect because small and normal are the same thing, but it means we can differentiate on Mac OS X where they are not. b=380056 r/sr=roc 2007-05-09 12:17:17 -07:00
mats.palmgren@bredband.net
0006aa95d7 Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron 2007-05-07 23:56:14 -07:00
mats.palmgren@bredband.net
3100ae9cba Backing out bug 379906 to fix orange. 2007-05-07 23:25:04 -07:00
mats.palmgren@bredband.net
68c21e9819 Fix an assertion when setting a 'quotes' property value. b=379906 r+sr=dbaron 2007-05-07 23:00:37 -07:00
mats.palmgren@bredband.net
8368c269c8 Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron 2007-05-07 22:46:37 -07:00
joshmoz@gmail.com
b8a5d1d3bf remove support for NS_THEME_BUTTON_SMALL, fix up toolkit consumer. b=379542 r=cbarrett r=mano sr=roc 2007-05-07 18:20:11 -07:00
joshmoz@gmail.com
289921ae56 Differentiate between single line and multiline text fields/areas so that we can render them differently. On Mac OS X render multiline text areas as Aqua text areas. b=377331 r=smorgan sr=roc 2007-05-06 19:06:58 -07:00
dbaron@dbaron.org
7e729aa8a8 Fix the description of the serialize+parse tests. 2007-05-05 10:06:49 -07:00
bzbarsky@mit.edu
6bea7ead90 Comment out test for now until I can debug it. Bug 379809. 2007-05-05 00:05:18 -07:00
bzbarsky@mit.edu
2931d10719 Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron 2007-05-04 23:47:09 -07:00
bzbarsky@mit.edu
64c3e5df8a Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron 2007-05-04 23:09:50 -07:00
bzbarsky@mit.edu
685a823789 Make computed style handle "normal" for line-height by computing an actualnumeric height. Bug 371041, r+sr=dbaron 2007-05-04 22:30:10 -07:00
dbaron@dbaron.org
258af67040 Fix bad string comparison preventing 'none' and 'initial' values of 'counter-increment' and 'counter-reset' from being parsed correctly. b=379555 r+sr=dbaron Patch by Daniel Holbert <dholbert@mozilla.com>. 2007-05-03 17:05:16 -07:00
dbaron@dbaron.org
7dc7c89d6c Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky 2007-05-03 16:11:00 -07:00
bzbarsky@mit.edu
73bb8b2e6d When we have a url() value that doesn't give us an imgIRequest (e.g. couldn'tcreate nsIURI, URI load blocked by security manager, etc), make sure to stillpick up the fallback value for cursor. Bug 379440, r+sr=dbaron 2007-05-02 23:33:13 -07:00
bzbarsky@mit.edu
5a139c8a8d Propagate a stylesheet's principal to the URI and Image CSSValues derived fromthat sheet. Bug 377091, r+sr=dbaron 2007-05-02 18:15:53 -07:00
bzbarsky@mit.edu
07a89fd883 Fix assert to not fire when it shouldn't. Bug 379405, r+sr=dbaron 2007-05-01 19:25:50 -07:00
bzbarsky@mit.edu
32d3d359f4 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu
1414308296 Stylesheets should know what their principal is, and it should be based on theURI the sheet was loaded from, its certificate (if any) and the loaderprincipal, not just on the page the sheet is being applied to. Propagate thisprincipal as the loading principal to @import loads from stylesheets. Changesheet access checks to use this principal instead of the sheet URI. Bug221428, r+sr=peterv 2007-05-01 12:26:15 -07:00
bzbarsky@mit.edu
3e48c43b01 This test passes now. 2007-04-30 21:31:06 -07:00
bzbarsky@mit.edu
a47578fd0a Fixing parsing of opacity components of rgba() and hsla() that are out of the0 <= x <= 1 range. Bug 379316, r+sr=dbaron 2007-04-30 20:50:31 -07:00
joshmoz@gmail.com
463084360e remove duplicate line of a CSS rule from forms.css. r/sr=dbaron 2007-04-30 18:51:47 -07:00
dbaron@dbaron.org
394f44d6ff Reduce #include dependencies on style system headers: reduce what nsRuleData.h pulls in. b=379089 r+sr=bzbarsky 2007-04-28 09:01:24 -07:00
bzbarsky@mit.edu
4739353ef4 Implement "content: none". Bug 378535, r+sr=dbaron 2007-04-26 21:43:06 -07:00
dbaron@dbaron.org
2861548e6d Add test for computed style on elements with frames as well. 2007-04-25 16:27:36 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
bzbarsky@mit.edu
fe52a23803 min-width/height should not affect computed max-width or max-height. Both ofthem should affect computed width and height, though. Bug 371042, r+sr=dbaron 2007-04-23 00:04:33 -07:00
bzbarsky@mit.edu
e745cf0125 Round instead of truncating when converting a percentage color into aninteger. Bug 340613, r+sr=dbaron 2007-04-22 15:03:30 -07:00
bzbarsky@mit.edu
504fdf1c28 Move the Background struct to its new rightful place. Bug 378245, r+sr=dbaron 2007-04-20 22:40:13 -07:00
dbaron@dbaron.org
3b44cc72ab Test copy constructors of nsStyleStruct. 2007-04-20 17:17:29 -07:00
dbaron@dbaron.org
be11deaee0 A bunch of one-liners to fix bugs found by CSS mochitests. b=377731 r+sr=bzbarsky 2007-04-20 17:16:52 -07:00
bzbarsky@mit.edu
c585c92179 Stop blocking the parser on CSS stylesheet loads. We still block scriptexecution on them, however. Bug 84582, r+sr=sicking 2007-04-20 15:59:18 -07:00
bzbarsky@mit.edu
fb91b11144 Don't use the same pseudo-element name to mean two different things. Bug377824, r+sr=dbaron 2007-04-20 14:27:02 -07:00
dbaron@dbaron.org
a6c2821169 Fix setting of prereqs so it doesn't interfere with testing initial values properly. 2007-04-19 20:41:05 -07:00
dbaron@dbaron.org
f5a47a6bb4 Add tests for computed values. 2007-04-18 19:49:44 -07:00
dbaron@dbaron.org
30dd65ee30 Fix regression of background-position serialization. b=258080 r+sr=bzbarsky 2007-04-18 13:41:14 -07:00
dbaron@dbaron.org
769aa8470d Add comment explaining some of the test. 2007-04-17 11:57:35 -07:00
dbaron@dbaron.org
6b9392fc01 Better express that failures in one of the system font cases depend on what the system fonts actually are. 2007-04-17 11:01:17 -07:00
dbaron@dbaron.org
80fda8f92e Add code to know which failures to expect in test_value_storage.html (whether to call todo_is or is), and turn on the test. 2007-04-17 10:06:23 -07:00
dbaron@dbaron.org
adf8e096fb Fix values for -moz-box-sizing too. 2007-04-17 01:01:22 -07:00
dbaron@dbaron.org
518d7ff81c Fix values for -moz-float-edge. 2007-04-17 00:56:33 -07:00
dbaron@dbaron.org
2a04f2b89f Work towards getting test_value_storage running. 2007-04-17 00:41:44 -07:00
dbaron@dbaron.org
f7bae14fc0 Work in progress on a test for value storage and serialization. 2007-04-16 21:45:49 -07:00
dbaron@dbaron.org
46bc4ce52b Add tests that exercise nsCSSDeclaration::ToString. 2007-04-16 20:50:30 -07:00
dbaron@dbaron.org
c285a29ced Finish up adding initial and other values sections to property database, and test for their presence. 2007-04-16 18:07:22 -07:00
bzbarsky@mit.edu
e6d41ebe8b Change the way we determine the style context parent frame to skip css anonboxes unless we're determining the style context parent for something that isitself a css anon box (and is not a non-element frame). Fixes bug 323656(which is where the patch is), bug 85872, bug 280610. As far as I can tell,also fixes bug 317876, bug 372376, bug 374297. r+sr=dbaron 2007-04-15 16:14:26 -07:00
dbaron@dbaron.org
07b68c21ca Add tests for invalid values in the property database, and add cases fixed in bug 258080. 2007-04-15 15:29:35 -07:00
dbaron@dbaron.org
ed3bb1ffc4 Test for inherit and initial on shorthand properties as well. b=258080 2007-04-15 15:28:07 -07:00
dbaron@dbaron.org
f5511e8d30 Add work in progress for tests of CSS property parsing and data computation. 2007-04-15 15:27:14 -07:00
dbaron@dbaron.org
8a20f12695 Convert background-position to use nsCSSValuePair rather than acting like a shorthand property. b=258080 r+sr=bzbarsky 2007-04-15 15:25:20 -07:00
stuart.morgan@alumni.case.edu
1654a05a54 Bug 377110: Strip unnecessary rules from Camino-only forms.css. r=josh sr=dbaron 2007-04-12 16:02:37 -07:00
martijn.martijn@gmail.com
ada38a6b35 Bug 377017 - Javascript - crash on accessing a css rule after deleteRule() [@ nsCSSSelector::ToStringInternal], r+sr=dbaron 2007-04-12 09:23:43 -07:00
martijn.martijn@gmail.com
9c5fd9beb7 Bug 376891 - <center><marquee direction=up/down></center> has different result in IE, r=dbaron, sr=bzbarsky 2007-04-12 07:54:34 -07:00
axel@pike.org
a364c25975 bug 361583, start using Preprocessor.py instead of preprocessor.pl in building Minefield, r=bsmedberg 2007-04-11 09:35:01 -07:00
longsonr@gmail.com
b159ea8712 Bug 368836 - improve support for initial in SVG. r+sr=dbaron 2007-04-11 01:27:27 -07:00
dbaron@dbaron.org
545bb8fdaa Fix regression that caused the SVG properties not to be listed. b=375388 2007-04-09 15:42:43 -07:00
dbaron@dbaron.org
3bb5d3d037 Fix handling of initial and -moz-inherit for -moz-broken-image-icon, quotes, and -moz-box-ordinal-group. b=375363 r+sr=bzbarsky 2007-03-30 15:02:09 -07:00
bzbarsky@mit.edu
2fd17c94d8 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
dbaron@dbaron.org
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
sharparrow1@yahoo.com
6fdcc6c041 Bug 372037: CSS clip property should clip the overflow rect as well as the paint rect; r+sr=roc. 2007-03-26 20:58:17 -07:00
neil@parkwaycc.co.uk
c1cf636115 Fix SeaMonkey Mac tinderbox cross-compilation bustage b=375388 r=bsmedberg 2007-03-26 11:17:02 -07:00
dbaron@dbaron.org
c6c5f80b1f Add tests for parsing, storage, and serialization of inherit and -moz-initial values. 2007-03-25 22:54:44 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00