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

3062 Коммитов

Автор SHA1 Сообщение Дата
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