Commit Graph

3294 Commits

Author SHA1 Message Date
stefanh@inbox.com
8bc53a2303 Backing out bug 439354 (changesets a2709097171f and b54001303198) and the dependent bug 449833 (changeset 2b246e03252b) due to perf regressions on Leopard talos boxen. 2008-08-27 21:40:25 +02:00
Markus Stange
89f9b4f8ce Bug 449833 - Need a platform color for chrome background on Mac OS X. r=josh, sr=roc. 2008-08-27 18:07:36 +02:00
Markus Stange
fa433f6235 Bug 439354 - OS X toolbar background doesn't have a good gradient. Part 1 (widget). r=hwaara, sr=roc. 2008-08-27 17:45:24 +02:00
Benjamin Smedberg
e67d75888e Bug 445570 - Mark CSSToken::mIdent heap autostring as we-know-what-we're-doing, r=dbaron 2008-08-27 10:58:50 -04:00
Zack Weinberg
c475a8c8bd Bug 389406 – initial value for 'quotes' property is stored incorrectly and not reachable by -moz-initial; r+sr=dbaron 2008-08-19 10:18:58 -04:00
Kai Liu
0dccff6dc5 Allow theme CSS to distinguish between themed and non-themed in Windows - bug 431666 r=vlad r=dbaron 2008-08-18 10:33:08 -07:00
Boris Zbarsky
e46c14183f Bug 449447. Reuse the caching GetNthIndex for first/last/onlyChild selectors 2008-08-18 12:47:12 -04:00
Robert O'Callahan
edc33b1edc Bug 238072. Make generated content take the normal frame construction path. Relanding with changes so that counter and quote nodes are initialized after their frames are available, more like the old code. r+sr=dbaron,bzbarsky 2008-08-18 13:16:42 +12:00
Rob Arnold
23698fa904 last set of y1/y4 tests in acid3 test 46 (media queries) fail on Windows - bug 448132 r=vlad 2008-08-14 09:48:09 -07:00
Kai Liu
a47a75abf0 Bug 448704 – Eliminate <gripper> as an independent element. r=vlad/dbaron/enndeakin 2008-08-13 08:15:27 +02:00
Rob Arnold
a99f6d56c4 Implement Aero Glass effect support - bug 418454 r=vlad r=roc 2008-08-12 17:44:14 -07:00
Robert Longson
0cc419aa45 bug 302971 - Scientific notation in stroke-width doesnt work r+sr=dbaron 2008-08-12 15:02:22 +01:00
Robert O'Callahan
b2c0de7471 Bug 230555. Support white-space:pre-line. r+sr=dbaron 2008-08-12 20:31:56 +12:00
Simon Montagu
eb95bdb67a Bug 449555. Disable word-wrap for single-line widgets, r+sr=roc 2008-08-11 18:16:41 +03:00
Zack Weinberg
4a312173f9 Bug 441469. Implement parsing of @font-face rules. r+sr=dbaron 2008-08-10 22:13:49 +01:00
Dave Townsend
0aa1ee1345 Backed out Bug 441469 due to Tp regressions 2008-08-10 00:07:59 +01:00
Zack Weinberg
af751d9b0a Bug 441469. Implement parsing of @font-face rules. r+sr=dbaron 2008-08-07 19:15:40 -04:00
Robert O'Callahan
e77bdf3d25 Bug 238072 backout 2008-08-07 22:22:08 +12:00
Robert O'Callahan
dcf51d2a34 Bug 238072. Rework generated content support to match CSS 2.1, making generated content take the normal frame construction path so supporting any style applied to it (including 'position', 'float', etc). r+sr=bz,r=dbaron 2008-08-07 13:18:24 +12:00
L. David Baron
9056cf9ae3 Don't printf CSS errors to standard output. (Bug 449429) r+sr=bzbarsky 2008-08-06 10:58:14 -07:00
L. David Baron
c155fd6771 Assert when we set the quirk style sheet after building rule cascades. (Bug 448281) r+sr=bzbarsky 2008-08-06 10:42:56 -07:00
L. David Baron
6512c51303 Only rebuild rule cascades on medium feature change if they've already been built before. (Bug 448281) r+sr=bzbarsky 2008-08-06 10:42:56 -07:00
Robert O'Callahan
ab2b084996 Bug 447567. Instead of brutally wiping out effects properties whenever the style context changes for an SVG frame (which wouldn't work for non-SVG frames), create a new style change hint to handle it. r=longsonr,sr=dbaron 2008-08-06 12:55:07 +12:00
Rob Arnold
a0b6a9f699 -moz-system-metric selector doesn't update when the theme changes - bug 447045 r+sr=dbaron 2008-08-05 13:02:43 -07:00
L. David Baron
debed4846b Make the -moz-column-rule-color test not assume that inputs have the same 'color' as divs. (Bug 271586) r=Ventnor 2008-08-04 16:10:05 -07:00
L. David Baron
7982784b57 Merge Quotes and CounterData storage types into ValuePairList. (Bug 322475) r+sr=bzbarsky 2008-08-04 15:15:11 -07:00
L. David Baron
3498039f41 Untabify the few lines with tabs in nsStyleStruct.h 2008-08-04 15:15:11 -07:00
L. David Baron
758fecccf0 Label types of nsStyleCoord and nsStyleSides. b=443057 r+sr=bzbarsky 2008-08-04 15:15:11 -07:00
Serge Gautherie
876d746d83 Bug 448110 – |--disable-svg| does not build
p=sgautherie Av1 r/sr=jonas Cv1 r=dbaron
2008-08-01 22:23:27 +01:00
Boris Zbarsky
375ecaad19 Bug 448161. Don't crash when getting computed style for a link that's not in the document 2008-07-31 17:16:56 -07:00
Chris Double
535288ced1 Bug 447639. Update <video> and <audio> elements for spec changes, and add tests. r+sr=roc 2008-07-29 21:55:27 -07:00
Ian Neal
d4c933c660 Bug 447776 – Hang with word-wrap: break-word and width: 0px
with testcase and crashtests
p=smontagu r/sr=roc
2008-07-27 17:43:07 +01:00
L. David Baron
06471ec4f7 Oops, used the wrong todo function. 2008-07-26 12:56:49 -07:00
L. David Baron
c1a0b63c6c Mark two test items as known to fail on Windows; failure filed as bug 448132. 2008-07-26 10:58:24 -07:00
L. David Baron
8b023b33e7 Fix a bunch of issues relating to dynamic changes of border images. (Bug 445810) r=robarnold sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
a412906fd9 Handle effects of medium feature changes on XBL style sheets. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
b94fbe6dd3 Fold DoParseMediaList into ParseMediaList, since it is no longer necessary now that we don't do special parsing for media lists in HTML. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
6debcd0db4 Tests for css3-mediaqueries. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
b9b034b9b5 Fix media queries calculation of screen size for at least multi-monitor mirroring cases (where test_media_queries fails). (Bug 156716) r+sr=roc 2008-07-26 09:14:49 -07:00
L. David Baron
2e85f85f78 Implement Media Queries, part 4: infrastructure for dynamic change handling at the pres context level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
8cd01e114a Implement media queries, part 3: infrastructure for dynamic change handling at the rule processor and style set level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
907424839d Remove pointless null checks that are extremely unlikely to fail. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
b8715023f7 Implement Media Queries, part 2: infrastructure for dynamic change handling at the rule cascade and style sheet level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
62b65d2845 Implement Media Queries. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
0169af2ccf Make ParsePositiveVariant restrict integers too, which affects existing call for -moz-column-count. (Bug 156716) r=bzbarsky sr=roc 2008-07-26 09:14:48 -07:00
L. David Baron
593912e502 Don't do special parsing for media lists in HTML: match parentheses, even across commas, and allow media queries through. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
Simon Montagu
0185f285af Support for word-wrap CSS property. Bug 99457, r+sr=dbaron, roc 2008-07-24 10:16:18 +03:00
Boris Zbarsky
7759eed086 Bug 416317. Implement querySelector(All) API. r=dbaron, sr=jst 2008-07-21 17:55:52 -07:00
L. David Baron
42c45fec0f Add bug number (446226) for todo tests from bug 325064. 2008-07-19 16:03:45 -07:00
Zack Weinberg
63dfaebf8b Change CSS parser to close constructs open at end-of-file by changing ExpectSymbol not to fail on EOF when expecting one of }, ), ], or ;. (Bug 325064) r+sr=dbaron 2008-07-19 15:52:09 -07:00
Michael Ventnor
d200b4c6a4 Bug 271586 – Implement CSS3 column-rule-*. r+sr=roc,dbaron 2008-07-19 12:38:25 +02:00
Zack Weinberg
a1072e86a3 Delete nsLayoutUtils::GetAbsoluteCoord(); fold logic into callers and simplify. (Bug 437335) r+sr=dbaron 2008-07-17 16:37:12 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
7d3343e0fa Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron
86c186dbd8 Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough. 2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
269c2d355a Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
Zack Weinberg
28a8588125 Remove eStyleUnit_Chars and the special cases for it throughout layout, and make ch units go through the normal eStyleUnit_Coord cases. (Bug 363706) r+sr=dbaron 2008-07-15 14:31:36 -07:00
Zack Weinberg
947cb5c85f Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units, and make eStyleUnit_Chars and nsLayoutUtils::CharsToCoord unused. (Bug 363706) r=roc sr=dbaron 2008-07-15 14:31:36 -07:00
L. David Baron
b5fc0b40d0 Skip test for 439184 since it "times out". 2008-07-13 15:56:51 -07:00
L. David Baron
875c148d37 Avoid stack overflow by not using recursion to add the important rules. (Bug 439184.) r+sr=bzbarsky 2008-07-13 13:57:38 -07:00
L. David Baron
bb92a0b039 Make rule node children destruction happen in a queue from the root rule node (or root of the subtree being destroyed) rather than using recursion. (Bug 439184.) r+sr=bzbarsky 2008-07-13 13:57:38 -07:00
L. David Baron
f43140a296 Replace nsRuleList with a next sibling pointer on the rule node itself (saving one word in the normal linked list case, and wasting one in the hash table case). (Bug 439184.) r+sr=bzbarsky 2008-07-13 13:57:38 -07:00
L. David Baron
3b1ac9f515 Avoid stack overflow by not using recursion to add the important rules. (Bug 439184.) r=fantasai sr=bzbarsky 2008-07-13 13:57:38 -07:00
Martijn Wargers [mw22]
4f7a243307 Bug 441703 - "direction attribute of marquee should be case-insensitive (for selector matching)" [r+sr=dbaron] 2008-07-12 05:30:39 -05:00
Michael Ventnor
6317647cd2 Bug 444237 - "Crash with -moz-box-shadow: -moz-initial on input" [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=dbaron] 2008-07-12 03:52:32 -05:00
Boris Zbarsky
19817e240e Bug 444838. Correctly stringify all tokens instead of asserting on some. r+sr=dbaron 2008-07-11 18:49:46 -04:00
Boris Zbarsky
8d14173742 Bug 433374. Fix bogus assert. r+sr=dbaron 2008-07-11 17:13:01 -04:00
Boris Zbarsky
3c8f942b1d Make sure to not call Pushback(-1) on EOF error conditions. Bug 422868, r+sr=dbaron 2008-07-11 17:02:16 -04:00
Boris Zbarsky
4d981f8c1d :root should only match the documentElement, not random nodes in
disconnected fragments.  Bug 422868, r+sr=dbaron
2008-07-11 17:01:22 -04:00
Ryan A. C
496f972497 Bug 426732 - implement -moz-nativelinktext, r=dbaron, sr=roc 2008-07-11 20:34:53 +02:00
Ryan A. C
08f210332e Backed out changeset 9718a9421ee3 2008-07-11 16:30:30 +02:00
Ryan A. C
999c32a6ee Bug 426732 - implement -moz-nativelinktext, r=dbaron, sr=roc 2008-07-11 16:23:26 +02:00
Chris Double
91826e2fd0 Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Mats Palmgren
23da00893f Always paint text-decoration:blink in non-dynamic (print/preview) contexts. b=153092 r+sr=roc 2008-07-08 18:18:32 +02:00
Michael Ventnor
b3e218a0a8 Bug 212633 - "Add support for CSS3 box-shadow" (parsing support) [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=dbaron] 2008-07-07 19:56:52 -05:00
Daniel Holbert
4b5c0b5b3f comment-only typo fix: delcaration -> declaration 2008-07-03 14:28:39 -07:00
L. David Baron
125a18e0a9 Back out 0b1995eab10f due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:01:10 -07:00
Zack Weinberg
0cb6b35cce Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units, and make eStyleUnit_Chars and nsLayoutUtils::CharsToCoord unused. (Bug 363706) r=roc sr=dbaron 2008-07-01 20:24:36 -07:00
Johnny Stenback
a2b4d665f6 Better handling of overflowing integer values. r+sr=roc@ocallahan.org, a=beltzner@mozilla.com 2008-07-01 15:46:12 -07:00
L. David Baron
a6eaf5d9f2 Backed out changeset f6b609b0af6e 2008-06-17 16:10:53 -07:00
Zack Weinberg
5a32b9d546 Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units. (Bug 363706) r=roc sr=dbaron 2008-06-17 14:37:56 -07:00
Simon Montagu
9faa7d6380 Remove unnecessary argument from SetBidiEnabled. Bug 435856, r+sr=roc 2008-06-16 02:28:17 -07:00
Elika J. Etemad (fantasai) ext:(%2C%20Michael%20Ventnor%20%3Cventnor.bugzilla%40yahoo.com.au%3E)
940a66474d Make empty string in ^= $= *= attribute selectors match nothing (and check for ~= although it already works). (Bug 420245) r+sr=dbaron (tests) 2008-06-10 17:27:00 -07:00
Michael Ventnor
98d23dbe11 Make empty string in ^= $= *= attribute selectors match nothing (and check for ~= although it already works). (Bug 420245) r+sr=dbaron 2008-06-10 17:27:00 -07:00
L. David Baron
6bcc3a9a1f Count U+000C as a whitespace character for separating class attributes. (Bug 437915) r=bzbarsky sr=sicking 2008-06-10 17:27:00 -07:00
L. David Baron
0b369f2ea1 Remove unneeded (and not present in the proposed CSS3 float-displace property) border-box and padding-box values of -moz-float-edge. (Bug 432891) r+sr=roc 2008-06-05 16:06:34 -07:00
Christian Biesinger ext:(%2C%20Michael%20Ventnor%20%3Cventnor.bugzilla%40yahoo.com.au%3E)
36d201c8f8 Implement the computed value of text-shadow in the style system. (Bug 10713) r+sr=dbaron 2008-06-05 16:06:34 -07:00
Jesse Ruderman
381100987f Don't call SelectorMatches on document fragments (test). (Bug 437170) r+sr=bzbarsky 2008-06-05 16:06:34 -07:00
L. David Baron
6a16ea718e Don't call SelectorMatches on document fragments. (Bug 437170) r+sr=bzbarsky 2008-06-05 16:06:34 -07:00
Vladimir Vukicevic
977091d498 b=346189, children should optionally not affect size of XUL stack; r+sr=roc 2008-06-04 23:46:24 -07:00
L. David Baron
c91ce9a492 Backed out changeset cf005233ebad (text-shadow style system changes) due to mochitest crash on Windows (which I can reproduce on Windows). 2008-06-03 16:42:13 -07:00
Christian Biesinger ext:(%2C%20Michael%20Ventnor%20%3Cventnor.bugzilla%40yahoo.com.au%3E)
e3a5368590 Implement the computed value of text-shadow in the style system. b=10713 r+sr=dbaron 2008-06-03 15:25:31 -07:00
L. David Baron
e943265e81 Allow the initial value of -moz-user-select to be specified with 'auto'. b=432888 r+sr=bzbarsky 2008-06-03 15:25:31 -07:00
L. David Baron
07877d20da Implement :first-of-type, :last-of-type, and :only-of-type. b=128585 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
Daniel Glazman ext:(%20and%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
0474b185bc Implement :nth-child(), :nth-last-child(), :nth-of-type(), :nth-last-of-type(). b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
L. David Baron
8b2c14530a Make nsPseudoClassList capable of storing integer pairs for :nth-*(). b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
L. David Baron
1eef72cec5 Rename nsAtomStringList to nsPseudoClassList, since that's what it's for, and we want to make it more than just atoms and strings. Also remove an unused constructor. b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
L. David Baron
80ef4ff3cb Make outlines on inlines containing blocks outline the blocks. b=424236,270191 r+sr=roc 2008-06-02 15:52:25 -07:00
reed@reedloden.com
a6a6939f1e Bug 431309 - "Vista toolbar styles should have a -moz-win- prefix" (using the -moz-win- prefix) [p=kliu@mozilla.kailiu.com (Kai Liu) r+sr=roc a1.9=beltzner] 2008-05-08 02:29:38 -07:00
gavin@gavinsharp.com
17e2d1b9fe Bug 427045: Pull out correct toolbar colors in Vista themes (land hunk that was forgotten during the initial landing), patch by wesley-johnston@uiowa.edu, r=vlad, sr=roc, a=beltzner 2008-05-01 20:50:03 -07:00
gavin@gavinsharp.com
d51aa54eef Bug 429849: marquee text not on one line , part of this line on top and second part on bottom, patch by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=roc, a=damon 2008-04-30 10:09:09 -07:00
gavin@gavinsharp.com
603d1a4569 Bug 427045: Pull out correct toolbar colors in Vista themes, patch by wesley-johnston@uiowa.edu, r=vlad, sr=roc, a=beltzner 2008-04-29 12:27:23 -07:00
vladimir@pobox.com
32bee1faae b=427122, padding on select elements is ignored ; r=dbaron, a=beltzner 2008-04-25 16:12:45 -07:00
roc+@cs.cmu.edu
b59f02562c 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
a14fec45f7 Add crashtest 2008-04-22 21:54:40 -07:00
vladimir@pobox.com
7ca24931ed backing out 2008-04-20 01:24:42 -07:00
vladimir@pobox.com
ff8acc97ea b=427122, padding on select elements ignored, r=dbaron,a=beltzner 2008-04-19 23:42:00 -07:00
bzbarsky@mit.edu
8fbb442e1f 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
c54db3bb3c 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
203f025a8c 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
f6bc46eb38 Backing out due to test failures 2008-04-08 20:20:39 -07:00
jonas@sicking.cc
aedea05d90 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
ce7a855156 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
177ed1bc66 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
3b28b33c93 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
cc88857f09 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
3cbc4b60ae 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
be4184a2d1 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
433f2f04ac 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
a4d3a2e2e3 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
0526293212 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
7579117199 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
fa69f38301 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
5223033580 Fix buggy test; rgb() non-% arguments are required to be integers. a=tests 2008-03-13 08:24:22 -07:00
dbaron@dbaron.org
30594074ab 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
d4071f04fc Test selector serialization too. 2008-03-09 18:10:03 -07:00
dbaron@dbaron.org
2273879236 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
20eca0f4d0 Unbreak test that I broke while addressing review comments. a=test-only 2008-03-08 14:22:09 -08:00
reed@reedloden.com
20850172a7 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
fe0cb896ea 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
2fd8318753 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
0d8b560733 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
6f9a1f75f7 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
e3e16abca4 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
d98a9e860e 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
652c1e007c Bug 411054, Audit IsNativeAnonymous()/GetBindingParent() uses, r+sr=sicking 2008-02-26 04:40:18 -08:00
reed@reedloden.com
d69ff899cb 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
8fe3b28ddb 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
2130a28164 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
7ed1ca89ae 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
e1bee5ad78 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
60a9f80a00 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
dd268604cd 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
86016167d9 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
e3536c41e1 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
05cdb6aefe Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
mats.palmgren@bredband.net
42d92989cd 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
6e2677d193 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
57ce1ad578 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
4ef415a509 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
f4a6450e94 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
f94fd579c7 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
8c3dc27a13 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
6b4aa39072 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
1a1872a692 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
dd11963d0e 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
d68725b23c 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
e25ad078b7 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
fc170cea10 Add crashtest! 2008-02-03 22:00:36 -08:00
reed@reedloden.com
76d50e1207 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
85a5b1a95d Bug 363183. Fix getComputedStyle left/top/width/height for tables. r+sr=dbaron 2008-01-29 13:53:09 -08:00
reed@reedloden.com
b77bd6e3cc 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
e3345a306d 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
c1ee4f20fd 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
17ef08e932 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
b28a55faa4 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
8bc568cac8 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
2de466d00f Add crashtest 2008-01-20 16:12:55 -08:00
bzbarsky@mit.edu
83e89b1b49 Adding test 2008-01-20 10:05:39 -08:00
jwalden@mit.edu
8d1b1d2a9c 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
fcc16e97d6 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
0b03813df8 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
b3a2ff4d39 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
94a5aecb0a Bug 411603 crashtest 2008-01-13 13:00:49 -08:00
roc+@cs.cmu.edu
ad856faa5b 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
7e454eebf6 get rid of nsStyleStruct base type. b=408933, r+sr=dbaron, a=beltzner 2008-01-10 12:56:49 -08:00
dwitte@stanford.edu
99cb278fea 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
abd982f944 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
ab982faa16 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
96da482e7e backing out bug 355548 due to test failures 2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
c816d4ca4f 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
95db8c885e Add crashtest. 2008-01-06 15:47:02 -08:00
reed@reedloden.com
f9ee4eb39f 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
bf0d4a7536 Bug 387522. Native JSON support. r=crowder/jst, sr=brendan 2007-12-27 13:34:03 -08:00
dwitte@stanford.edu
1f9e2d27d8 (final) relanding since this has no Ts impact. 2007-12-21 16:56:28 -08:00
dwitte@stanford.edu
e49c50fc32 reverting change. 2007-12-21 07:02:13 -08:00
reed@reedloden.com
2301f0d23e 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
2083c9f479 reland part of bug 407442. 2007-12-21 03:22:18 -08:00
reed@reedloden.com
622482ea5f 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
d3a1fc3baa relanding part of 407442. 2007-12-19 23:30:04 -08:00
dwitte@stanford.edu
8dcce35b39 back out changes. 2007-12-19 03:07:41 -08:00
dwitte@stanford.edu
9a3a4249f4 reland nsTObserverArray changes only. 2007-12-18 22:03:05 -08:00
dwitte@stanford.edu
1d9282cd47 backing out to investigate Ts increase 2007-12-18 20:12:11 -08:00
dwitte@stanford.edu
8345ef1233 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
50b8b36478 Your mother was a hamster and your father smelt of crashtests! 2007-12-17 22:33:13 -08:00
jruderman@hmc.edu
23edf0aeaf Add crashtest 2007-12-17 22:31:39 -08:00
jruderman@hmc.edu
eeb422d94c Add crashtests 2007-12-17 22:30:20 -08:00
jruderman@hmc.edu
85b2259563 Add crashtests related to old form hack 2007-12-16 18:50:58 -08:00
jruderman@hmc.edu
cb140da32d 2003 called. It wants its crashtest back. 2007-12-15 20:57:11 -08:00
dbaron@dbaron.org
eef8277d2a 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
390f6ff8c2 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
6e0a8a13ce 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
678a5fc619 Add a few crashtests. 2007-12-12 22:44:00 -08:00
martijn.martijn@gmail.com
a57f10c262 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
4ef13d4907 Backing out fix for bug 392785 as per roc + mconnor. 2007-12-04 15:32:08 -08:00
masayuki@d-toybox.com
7fc09046f2 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
365fb40b8c 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
5847c7c368 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
6e31cca0eb 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
2f71671fc5 bug 384612: Remove script from scrollbar XBL binding. r/sr=dbaron 2007-11-19 12:08:20 -08:00
bzbarsky@mit.edu
a2bba38560 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
ebc992bbc2 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
15bd8eb8f4 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
5a7a8d066f 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
02f1bf69e6 We can destroy style contexts during ruletree reconstruct. Bug 403454, r+sr=dbaron 2007-11-14 22:13:48 -08:00
bzbarsky@mit.edu
9049c9f1af 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
fad15ee5ce 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
8ab0d173c8 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
7c9a883878 Landing files that somehow got missed. Bug 397427. 2007-10-23 15:11:08 -07:00
bzbarsky@mit.edu
26d7ccd742 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
2e386ce30a Bug 399289 - leak of nsBaseURLParser with svg paint. r+sr+a=dbaron 2007-10-19 08:36:15 -07:00
neil@parkwaycc.co.uk
67f7e866a9 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
a0f7448299 Backout of 399289. 2007-10-15 11:59:22 -07:00
tor@cs.brown.edu
e136016aac 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
f22ec2a519 Fix bug 345609. r+sr+a=roc 2007-10-12 11:37:51 -07:00
tglek@mozilla.com
8cf3fb1c90 Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron 2007-10-09 17:00:05 -07:00
reed@reedloden.com
f88879e4bd 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
0c9f816e8a 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
2bc4978388 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
6a54168963 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
5e226aef23 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
923ae52658 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
c5dacf1625 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
e5f2653030 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
f994e940c2 Fix leak of nsCSSValueList. b=397149 r+sr=bzbarsky a=roc 2007-09-27 09:28:14 -07:00
dbaron@dbaron.org
c73c09fe83 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
c1f73f5b72 Remove comment about exceptions that no longer exist thanks to bug 386640. 2007-09-27 09:26:22 -07:00
martijn.martijn@gmail.com
0673510071 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
eee7b2cd3c Bug 386759. Text inputs should use text-rendering:optimizeLegibility 2007-09-18 05:14:46 -07:00
timeless@mozdev.org
094ce926d2 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
2dad2a0ef4 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
17eb2d34c8 Attempt to fix test failures from bug 382027. 2007-08-28 00:29:03 -07:00
dbaron@dbaron.org
058bdab0e5 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
03a80227ef 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
3aad428093 Additional CSS parsing tests for bugs 393286 and 393499. 2007-08-27 13:49:09 -07:00
sharparrow1@yahoo.com
ffe4759157 Bug 393499: Clean up character lookup in nsCSSScanner. r=bzbarsky, sr+a=dbaron 2007-08-25 19:20:27 -07:00
bzbarsky@mit.edu
0aa9489e17 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
3055bc7d89 Bug 393286: Make nsCSSScanner::Read regularize newlines. r+sr=bzbarsky, a=dbaron 2007-08-23 16:01:52 -07:00
sharparrow1@yahoo.com
2ed324a828 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
a20d56bd8d 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
e51e8403e6 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
beb8e3f09b Bug 392840: Get rid of nsCSSScanner::Unread. r+sr=bzbarsky, r+a=dbaron 2007-08-21 11:29:50 -07:00
sharparrow1@yahoo.com
653cd064c3 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
a9643b482d 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
3a5ca8509a 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
79546f9859 Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc 2007-08-15 16:20:25 -07:00
bzbarsky@mit.edu
e34a7049e1 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
55dd252b10 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
bd826c03d9 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
16e6040261 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
f9a22dd005 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
d0ed3cca65 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
e9dd239757 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
19f3d4de8a 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
2d5d6cf51a Fix EOF handling after an !important. Bug 390318, r+sr+a=dbaron 2007-08-02 14:20:11 -07:00
Olli.Pettay@helsinki.fi
bd0b7ea6d7 Backing out bug 275196, xml:id, to fix tp regression 2007-07-26 07:16:19 -07:00
Olli.Pettay@helsinki.fi
e8dba5a1b4 Bug 275196, xml:id, r=sicking, sr=dbaron 2007-07-26 05:22:01 -07:00
tor@cs.brown.edu
c9776f2873 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
46b4b15fbf 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
ee607c6642 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
0b092f6fbe Mark tests passing that were fixed by bug 389464. 2007-07-25 17:01:32 -07:00
dbaron@dbaron.org
5bf1dff4fa 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
a232b51aff b=339553, drawString enhancement for canvas, r=me; patch from robarnold 2007-07-25 11:21:34 -07:00
sharparrow1@yahoo.com
2217b2847d Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz 2007-07-25 10:14:13 -07:00
bzbarsky@mit.edu
bea1e960d8 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
f2ea9d4a0e Implement -moz-initial for almost all remaining properties. b=80887 r+sr=bzbarsky 2007-07-24 08:27:11 -07:00
dbaron@dbaron.org
3df0ba7f03 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
e07e6b79f8 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
9c1dcef796 Bug 386470 - <marquee contentEditable> should stop, r=peterv, sr=bzbarsky 2007-07-23 15:02:57 -07:00
dbaron@dbaron.org
4b93f9ebc0 Clean up empty gNoComputedStyle lists. 2007-07-22 12:57:15 -07:00
dbaron@dbaron.org
3586987792 Don't test properties whose values overlap with others. 2007-07-22 12:56:35 -07:00
dbaron@dbaron.org
f1bb8b5fce Add hooks to get correct computed value for logical box properties. 2007-07-22 12:56:13 -07:00
dbaron@dbaron.org
13ca5bbce6 Remove unused gNoComputedValue variable. 2007-07-22 10:59:14 -07:00
dbaron@dbaron.org
16033c063e 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
7c54e16491 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
ee7b9906fd 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
d04fa35ca9 Bug 316908 - Add SVG to nsComputedDOMStyle. r+sr=dbaron 2007-07-21 07:20:25 -07:00
roc+@cs.cmu.edu
e4a9fc667f Bug 364680. Intrinsic widths for columns. r+sr=dbaron 2007-07-19 19:21:43 -07:00
bzbarsky@mit.edu
ba5321bfbc Landing tests that somehow never made it into the tree. 2007-07-19 17:26:41 -07:00
bzbarsky@mit.edu
91b5df5c24 Checking in missing file. Bug 204140 2007-07-18 15:17:30 -07:00
bzbarsky@mit.edu
d074804c35 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
17c4c8aa8b Restore includes t fix bustage. 2007-07-18 09:54:57 -07:00
sharparrow1@yahoo.com
7caaf873ac Remove unused code; no bug. rs=bzbarsky. 2007-07-18 09:39:53 -07:00
kherron@fmailbox.com
8eb8ae55dd 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
39d965ec69 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
4d53ccf996 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
50e1f6947c 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
ad89d87a35 Add tests for bugs 357614 and 387615. 2007-07-11 15:25:00 -07:00
dbaron@dbaron.org
e20dd3f3d0 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
a88bb8603c Make test_inherit_computation test the Compute*Data functions for eStyleUnit_Inherit. 2007-07-11 15:23:03 -07:00
bzbarsky@mit.edu
0a0534efd5 Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv 2007-07-11 12:44:27 -07:00