Commit Graph

288 Commits

Author SHA1 Message Date
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