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

373 Коммитов

Автор SHA1 Сообщение Дата
Zack Weinberg 1d78bfa0d0 Bug 528096: unexpected-token error recovery paths in the CSS parser need to UngetToken() before calling SkipUntil(), for correct behavior when the unexpected token is ( [ { or FUNCTION. r=dbaron 2010-01-27 16:20:05 -08:00
Zack Weinberg 5f1edf6103 Bug 536603 potential fix: in httpd.js, the server socket's queue limit should be larger than the browser-side max number of connections per server. r=jrmuizel 2010-01-18 18:12:39 -08:00
Zack Weinberg b7cf0bd89e Back out instrumentation for bug 536603 and re-disable test 2010-01-18 14:54:56 -08:00
Zack Weinberg f2ada08b52 Extensive debugging instrumentation for bug 536603 2010-01-18 09:03:50 -08:00
Boris Zbarsky 4f8dfc7221 Adding bug 535806 test. r=dbaron 2010-01-13 11:37:54 -05:00
L. David Baron bae4d300f3 Store transitions for one refresh cycle after they complete so that merging with a non-animation style change doesn't make us start a second transition to transition the last step. (Bug 537151) r=bzbarsky 2010-01-12 08:51:37 -08:00
Robert Longson fe14f634f1 Bug 537609 - Change to SVG 1.2T stroke-dasharray parsing. r=dbaron 2010-01-06 08:51:45 +00:00
Markus Stange ae3e46e759 Bug 527682 - Implement -moz-window-shadow values menu, tooltip and sheet. r=dbaron, r=dao, r=josh 2009-12-30 16:24:08 +01:00
L. David Baron cfcb0f67e7 Disable the intermittently-failing tests (bug 536603) for Mac only, which is where they're failing.
--HG--
extra : transplant_source : %E2%F1%F2%3A%86%C7%C57%7F%16B%16m%94%0D%D6%EDg%A7r
2009-12-25 22:31:17 -05:00
L. David Baron 6dc59fb57f Merge backout of changeset aabd98c04dc9 (debugging for bug 536603) 2009-12-24 22:17:21 -05:00
L. David Baron 473923056d Backed out changeset aabd98c04dc9 (debugging for bug 536603) 2009-12-24 22:17:05 -05:00
L. David Baron c9cd646ff5 Fix the opposite type of orange as the previous fix: make the case where the transition completes before the setTimeout fires much much less likely.
--HG--
extra : transplant_source : %82%01%8B%CB%7C%CF%AA%24XY%03%F2%03%BD%BB/zO%15%E6
2009-12-24 17:43:39 -05:00
L. David Baron 5c2887c20a Add basic SJS debugging code for bug 536603.
--HG--
extra : transplant_source : %E4%AA%11pN%83Y2%B7%DAB%89%96V%DB%06%3C%04%F6%15
2009-12-24 09:22:48 -05:00
L. David Baron e40f085c42 Remove debugging code for debugging bug 536603 (changeset 76e9dfaba122 and changeset 5275dda44819). 2009-12-24 08:44:44 -05:00
L. David Baron 05b2cd7acf Debugging bug 536603: run tests twice to see if the problem is timing-related.
--HG--
extra : transplant_source : %0DU%3C%00%B5K%AF%99%1E%D8%C3W%CB%FDz%03b%DD%A9%82
2009-12-23 20:07:25 -05:00
L. David Baron 6957e71d13 Add debugging code to debug random orange bug 536603.
--HG--
extra : transplant_source : %C2%0E%04e%FBc%F2%ED%96%AA%81%A0%9F%EAd%12%2A%A3f%E3
2009-12-23 17:49:22 -05:00
L. David Baron 88acb45934 Tests for transitionend event. (Bug 531585) 2009-12-23 14:17:44 -05:00
Zack Weinberg d86ade967d Bug 524223: Even in quirks mode, ignore linked stylesheets which were served with an inappropriate MIME type, if they're from a different origin than the requesting document or stylesheet. 2009-12-23 10:01:51 -08:00
Benjamin Smedberg df57e102fe Back out all the pieces of bug 531585 (transitioned event for end of CSS transitions) because of timeouts in test_transitions_events.html 2009-12-23 10:15:26 -05:00
L. David Baron bb1ff4abd3 Tests for transitionend event. (Bug 531585) 2009-12-23 06:35:46 -05:00
L. David Baron ba8d7cd017 Make setting property after setting transition-duration and transition-delay to 0 stop running transitions on that property: part 3: main patch. (Bug 522643) r=bzbarsky 2009-12-21 16:46:25 -05:00
L. David Baron d2274a58eb Add support for animation of 'background-position' and 'background-size'. (Bug 532307) r=bzbarsky 2009-12-21 16:46:25 -05:00
L. David Baron 5c1293a60a Add support for animation of 'visibility' to transitions (but make it a special case for transitions). (Bug 531942) r=bzbarsky 2009-12-21 16:46:25 -05:00
L. David Baron 4cb8a38d3f Add support for animation of nsRect values. (Bug 520488) r=bzbarsky 2009-12-21 16:46:25 -05:00
Neil Rashbrook b15b96c080 Bug 532617 -moz-background-size does not always get serialised r=dbaron 2009-12-15 21:40:38 +00:00
L. David Baron f25848dfe4 Stop transitions when -moz-transition-property changes to a value that no longer includes the transitioning property. (Bug 525530) r=bzbarsky 2009-12-11 08:13:19 -08:00
L. David Baron 42f41f3069 Add support for animation of border-spacing and -moz-transform-origin. (Bug 524861) r=bzbarsky 2009-12-11 08:13:19 -08:00
L. David Baron 97bb930d4b Add support for animation of -moz-column-rule-width. (Bug 524855) r=bzbarsky 2009-12-11 08:13:19 -08:00
L. David Baron d31af7cbc0 Add support for animation of -moz-column-count. (Bug 524854) r=bzbarsky 2009-12-11 08:13:19 -08:00
L. David Baron 6cbfdb8845 Add support for animation of -moz-box-flex. (Bug 524853) r=bzbarsky 2009-12-11 08:13:19 -08:00
Boris Zbarsky 537e44933f Bug 525952 part 1. Make sure pseudo-element selectors never land inside SelectorMatches (because tree pseudo-elements do weird stuff with pseudo-classes). r=dbaron 2009-12-11 02:37:41 -05:00
Boris Zbarsky 8202b90f61 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Boris Zbarsky 453f48a20f Bug 525952 part 1. Make sure pseudo-element selectors never land inside SelectorMatches (because tree pseudo-elements do weird stuff with pseudo-classes). r=dbaron 2009-12-10 14:36:07 -08:00
L. David Baron 137b13ef55 Add mechanism for an individual mochitest to say it needs a longer timeout. (Bug 527614) r=ted 2009-11-19 09:35:09 -08:00
L. David Baron 4043bce6c6 Add a test for bug 517224. 2009-11-17 13:11:14 -08:00
L. David Baron 713dd83997 Fix computed values of 'font-weight' to report integers for bold (like for normal) and to report usable values for bolder/lighter. (Bug 173331, Bug 77882) r=bzbarsky 2009-11-14 19:16:59 -08:00
L. David Baron 41438063c9 Put the 'normal' values for 'font-weight' and 'font-stretch' into the keyword tables. (Bug 522320) r=dholbert 2009-11-14 19:16:59 -08:00
L. David Baron 44da7ceaf8 Add support for animation of font-weight and font-stretch. (Bug 528234) r=dholbert 2009-11-14 19:16:59 -08:00
L. David Baron 0d05534e08 Add support for interpolation of integer-valued properties (i.e., z-index) to nsStyleAnimation. (Bug 524808) r=dholbert 2009-11-12 17:40:05 -08:00
KUROSAWA, Takeshi 6ec3b6280c Remove support for -moz-alias, -moz-context-menu, -moz-copy and -moz-spinning values of the 'cursor' property, no longer needed because of the standard alias, context-menu, copy, and progress cursors. (Bug 487942) r=dbaron 2009-11-12 17:40:05 -08:00
L. David Baron 43155b03e4 Bug 526402: Stop accepting unitless 0 for angles, times, and frequencies. r=zwol 2009-11-04 18:36:18 -08:00
Zack Weinberg ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E) 5c26b37323 Bug 513395: Implement revised CSS gradient notation (1/2): parser and data structure changes 2009-11-02 11:36:43 -08:00
Gijs Kruitbosch c888c1980e Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
L. David Baron bcd165bbd6 Add support for animation of -moz-{border,outline}-radius-*. (Bug 523450) r=dholbert 2009-10-28 20:22:27 -07:00
L. David Baron 0fb4c75ef8 Add tests for correct behavior of CSS property values under cloning. 2009-10-28 20:22:27 -07:00
L. David Baron dce22dfe9d Make test_transitions report either PASS or TODO for its timing-related tests since we just can't test timing on the unit test VMs. (Bug 522862) 2009-10-24 18:47:29 -04:00
Boris Zbarsky cd6ef92fd0 Bug 524175. Compute weight correctly again for selectors involving pseudo-elements, and fail parsing selectors with more than one pseudo-element. r=zwol 2009-10-23 21:41:59 -04:00
L. David Baron 4d6a859d90 Add support for animation of stroke-dasharray to nsStyleAnimation. (Bug 523355) r=dholbert sr=bzbarsky 2009-10-21 10:17:40 -04:00
L. David Baron 4c0fa8e623 Add support for animation of text-shadow and -moz-box-shadow (the first complex value types that we animate). (Bug 523196) r=dholbert sr=bzbarsky 2009-10-21 06:53:46 -04:00
L. David Baron f85d2aae1c Serialize type selectors with original case. (Bug 523341) r=bzbarsky 2009-10-21 06:53:46 -04:00
Boris Zbarsky ba3dae1bf7 Bug 523089. Fix serialization of [*|foo] selectors. r=dbaron 2009-10-20 13:27:47 -04:00
L. David Baron 8d4df33d5b Increase transitions test bezier tolerance to 0.0015 since bug 522862 comment 0 has an example that requires it to be 0.0012. (Bug 522862, Bug 435441) 2009-10-17 10:56:38 -04:00
L. David Baron 7c22b255c4 Add bug numbers for the FIXME comments in CSS transitions patches. (Bug 435441) 2009-10-15 17:23:19 -07:00
L. David Baron 28ec4a4285 Add tests for media queries of system metrics. (Bug 522149) 2009-10-15 17:23:19 -07:00
L. David Baron 87a4b29b7f Increase test tolerance to reflect observed errors in bug 435441 comments 103 and 105, and handle timer firing after 8 seconds (comment 104). 2009-10-14 17:51:38 -07:00
L. David Baron 9ad99db979 Add bug numbers for FIXME comments in transitions landing. (Bug 435441) 2009-10-13 19:38:20 -07:00
L. David Baron 5f26cfff3f Add previously-skipped border and outline properties to nsStyleAnimation. (Bug 521292) r=dholbert, bzbarsky 2009-10-13 19:38:20 -07:00
L. David Baron 529c01f28c Oops, sign of error_direction needs to change only for its second use. (Bug 435441) 2009-10-10 11:01:12 -07:00
L. David Baron 4742613581 Allow more error in bezier computation to fix random orange. 2009-10-10 10:02:32 -07:00
L. David Baron 17ea689819 Make transitions test more reliable by measuring the positions of transitions relative to a pair of reference linear transitions, and testing the progress of those reference linear transitions with considerably more latitude. (Bug 435441) 2009-10-09 19:11:09 -07:00
Daniel Holbert 4a60a39633 Bug 520485, patch 3 of 5: add support for 'font-size-adjust' property in nsStyleAnimation. r=dbaron 2009-10-08 18:30:51 -07:00
Daniel Holbert c78ecfe798 Bug 520485, patch 1 of 5: add support for float values in nsStyleAnimation. r=dbaron 2009-10-08 18:30:49 -07:00
L. David Baron ee4010f267 Increase test tolerance to try to fix random orange. 2009-10-08 08:13:49 -07:00
L. David Baron f607b1f0b6 Add tests for :-moz-tree-* pseudo-elements. (Bug 521044) 2009-10-07 20:22:42 -07:00
L. David Baron 8b0827d149 Add per-property tests for CSS transitions to test the code in nsStyleAnimation. (Bug 435441, Bug 504652) 2009-10-07 20:22:42 -07:00
L. David Baron 2ccbe80f89 Implement CSS transitions: handle starting and animation of the transitions. (Bug 435441) r=bzbarsky sr=roc 2009-10-07 20:22:42 -07:00
Nochum Sossonko 6c269632c9 Bug 513461 - Implement pseudo classes for lightweight theme handling. r=dao,dbaron 2009-10-02 08:22:18 +02:00
Geoff Lankow 42c20026e9 Bug 517882: Implement a -moz-tab-size CSS property that specifies the number of spaces between tab stops in preformatted text. r=roc, dbaron 2009-09-26 13:23:47 -07:00
L. David Baron 3affc2ba0f Rewrap long argument lists to CSS_PROP macros. Whitespace changes only. (Bug 504652) 2009-09-11 06:46:36 -04:00
L. David Baron 7b15f79138 Add fields to nsCSSPropList.h for style struct offset and animation type. (Bug 504652) r=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron b8c5e7827d Add stylestruct_ parameter to CSS_PROP macro. (Bug 504652) r=bzbarsky 2009-09-11 06:46:36 -04:00
Jonathan Watt cc6158ce27 Bug 508179. Implement 'pointer-events:none;' for all elements. r=roc, r=dbaron. 2009-08-26 20:53:35 -07:00
Zack Weinberg 59e4f8561c Bug 511147: Avoid the slow greedy-operator path for A > B ~ C selectors. r=dbaron 2009-08-20 14:52:47 -07:00
Zack Weinberg 36c0b9d09f Bug 443976: Parsing support for the unicode-range: descriptor in @font-face. r=dbaron 2009-08-20 14:52:47 -07:00
Zack Weinberg 926f1a65a4 Fix parenthesis-matching while parsing format() function in @font-face src: descriptor. (Bug 511333) r=dbaron 2009-08-20 14:52:47 -07:00
L. David Baron 5c542710ad Fix parenthesis-matching while parsing local() function in @font-face src: descriptor. (Bug 511333) r=zweinberg 2009-08-20 14:52:47 -07:00
Zack Weinberg eb2100a887 Fix DEBUG-only crash parsing empty 'src' descriptor of @font-face rule. (Bug 511304) r=dbaron 2009-08-20 14:52:47 -07:00
Jonathon Jongsma ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E) b603ef9875 Implement CSS transitions: implement the parsing and computation of the transition properties. (Bug 435441) r=bzbarsky 2009-08-20 14:52:47 -07:00
L. David Baron 8a55dca08c Make computed style (and canvas text styling, which shares the same code) avoid using style data that was influenced by pseudo-elements. (Bug 505515) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron 8eaa31bacd Additional mochitests for URL parsing, from bug 337287 (and related to bug 476856) 2009-08-05 17:45:49 -07:00
Michael Ventnor f89f2766b4 Bug 479220: Implement support for CSS gradients: -moz-linear-gradient() and -moz-radial-gradient(). r=roc, dbaron 2009-08-01 08:53:40 -07:00
David Zbarsky 1a6e5fcda6 Bug 499655: Selectors should have dual atoms so they can correctly (and case-sensitively) match non-HTML elements in text/html documents, part 1. r=dbaron 2009-08-01 08:53:40 -07:00
L. David Baron fdf121fa7c Don't resolve a new context for the root when we're computing rem units for the root. (Bug 478321) r=bzbarsky 2009-08-01 08:53:40 -07:00
L. David Baron 389de5e6db Backed out changeset 358af1196dc2 (bug 499655) until we get bug 507487 sorted out. 2009-07-31 09:39:53 -07:00
David Zbarsky 08428e456d Bug 499655. Selectors should have dual atoms: HTML and other. r=dbaron 2009-07-30 13:28:42 -04:00
Jeff Walden 1fb19be474 Bug 189519 - Implement CSS3 (-moz- for now)background-size. r=dbaron, other useful review comments from roc/bz 2009-05-28 11:09:05 -07:00
Neil Deakin 69bd6c8514 Bug 478416, replace chromedir attribute with :moz-locale-dir pseudoclass, r=neil,dao,dbaron,sr=dbaron 2009-07-29 14:33:53 -04:00
L. David Baron ba06d41e98 Also block -moz-box-shadow when using document-specified colors is disabled, and fix a testing error with the patch for text-shadow. (Bug 503188) r=bzbarsky 2009-07-20 07:04:42 -04:00
L. David Baron 0c97593d39 Add tests for cloning of media queries. (Would have caught bug 504032.) 2009-07-20 07:04:42 -04:00
L. David Baron ba2a418757 Add tests for media query serialization. 2009-07-15 17:24:25 -07:00
L. David Baron f9881288ec Add tests for selector serialization and cloning. 2009-07-15 17:24:24 -07:00
L. David Baron bb685a72b2 Block text-shadow when using document-specified colors is disabled. (Bug 503188) r=bzbarsky, roc 2009-07-15 17:24:24 -07:00
Boris Zbarsky c0fb70dad7 Adding test for bug 498559. r=dbaron 2009-07-09 19:53:00 -07:00
Boris Zbarsky 8b4a6cb46a Bug 498559. Speed up tokenizing numbers in CSS. r+sr=dbaron 2009-07-09 18:44:20 -07:00
L. David Baron 44a6267b1d Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky 2009-06-16 08:00:20 -07:00
Karl Tomlinson 3bbadcfb42 b=481751 block-height line-height for text input and strut baseline for textarea r=bz,sr=dbaron
--HG--
extra : rebase_source : 1241360066ea9387d15c71936da9468399240640
2009-05-19 10:13:12 +12:00
L. David Baron 1ca9090e28 Add test for CSS parsing of garbage at end of declarations. (Bug 390260) 2009-05-15 16:01:19 -07:00
L. David Baron f0c43ecb3d Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
L. David Baron a45c6ad770 Drop use of JS 1.7 features so that this test can run on other browsers. 2009-05-06 13:46:01 -07:00
Daniel.S 03350b975d Bug 487942 - Remove cursor: -moz-alias | -moz-cell | -moz-context-menu | -moz-copy | -moz-spinning; property_database.js update; r+sr=dbaron 2009-04-22 14:24:34 +02:00