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

168 Коммитов

Автор SHA1 Сообщение Дата
Jesse Ruderman b9769b6f68 Bug 696266 - Add some values to layout/style/test/property_database.js. r=dbaron 2011-10-21 21:03:16 -07:00
Simon Montagu 738e432597 Support for unicode-bidi: -moz-isolate and -moz-plaintext in style system. Bug 613149, r=dbaron 2011-10-18 14:51:57 +02:00
Mats Palmgren 9fc0be400e Bug 684266 - Do ellipsing on the end-edge only when a single value was specified for text-overflow. r=bzbarsky r=roc 2011-10-12 18:20:46 +02:00
Matt Woodrow 5c34b707d7 Bug 505115 - Part 21 - Enable 3D transforms by default. r=roc 2011-09-30 14:39:40 +13:00
Matt Woodrow bbeb8ef9e1 Bug 505115 - Part 19 - Make the matrix*() transform function handles both length and number values. r=dbaron 2011-09-27 10:54:30 +13:00
Matt Woodrow 52b4490152 Bug 677173 - Remove 3D transforms IDL properties because they are disabled. r=dbaron 2011-09-01 11:35:10 +12:00
Matt Woodrow 6be6f0f332 Bug 505115 - Part 17 - Add style tests for the new transform functions, and transitions. r=dbaron 2011-08-31 14:03:47 +12:00
Matt Woodrow b98fe1bd08 Bug 505115 - Part 14a - Add -moz-transform-style css property. r=dbaron 2011-08-27 12:01:06 +12:00
Michael Ventnor 0523fe3efe Bug 446569 - Implement prefixed CSS3 columns shorthand r=dbaron 2011-08-23 14:18:22 +10:00
Mats Palmgren beabba5960 Bug 677582 - Implement CSS3 text-overflow: <left> <right> in the style system. r=dbaron 2011-08-20 22:41:39 +02:00
Matt Woodrow b84eabcf4a Bug 505115 - Part 12a - Implement -moz-perspective-origin style property. r=dbaron 2011-08-03 15:04:24 +12:00
Matt Woodrow 7a41f6a8a2 Bug 505115 - Part 10 - Implement the backface-visibility CSS property. r=dbaron 2011-08-03 15:04:22 +12:00
Matt Woodrow b4bfd8dd6a Bug 505115 - Part 9 - Implement the perspective() transform function and the perspective CSS property. r=dbaron 2011-08-03 15:04:22 +12:00
Mats Palmgren 8506a31912 Bug 312156 - Implement CSS3 text-overflow. r=dbaron 2011-06-22 20:11:47 +02:00
L. David Baron 33189ba795 Allow -moz-box-ordinal-group: 0 (but not negatives, since we store the value as PRUint32). (Bug 644514) r=bzbarsky 2011-06-12 18:52:32 -07:00
Boris Zbarsky d709058f42 Bug 660398. Speed up test_value_cloning. r=dbaron
The fundamental change is that instead of using 3000+ separate documents to test this we use one big document with distinct IDs for all the tests.
2011-06-01 13:19:16 -04:00
Boris Zbarsky 95558bbf2b Bug 647885 part 1. Keep better track of whether our computed background-position was specified with percentages. r=dbaron 2011-05-23 16:36:18 -04:00
Mounir Lamouri d58b2950df Bug 655065 - Add a -moz-orient CSS property. r=bz 2011-05-10 15:47:46 +02:00
L. David Baron 9d0767783c -moz-animation-play-state should not be part of the -moz-animation shorthand. (Bug 654890) r=bzbarsky 2011-05-09 15:02:35 -04:00
Jonathan Kew 83cedda246 bug 655198 - don't parse 'all' as a value for -moz-hyphens. r=dbaron 2011-05-07 16:01:01 +01:00
Jonathan Kew 88c9ed0c0c bug 253317 - part 1 - implement -moz-hyphens property in CSS. r=dbaron 2011-05-04 12:14:50 +01:00
Masayuki Nakano 1adf21f3e7 Bug 647421 -moz-text-decoration-color and -moz-text-decoration-style should be reset by text-decoration r=dbaron, sr=bzbarsky 2011-04-23 14:16:41 +09:00
L. David Baron 72447213b1 Remove parsing and storage code for CSS 2.0 aural properties. (Bug 649119) r=bzbarsky 2011-04-21 20:17:32 -07:00
L. David Baron fa6f166e61 Implement parsing and computation for the new properties in css3-animation. (Bug 435442, patch 1) r=bzbarsky 2011-04-11 23:18:42 -07:00
L. David Baron 7bee896472 Implement step-start, step-end, and steps() timing functions. (Bug 435442, patch 0) r=bzbarsky 2011-04-11 23:18:42 -07:00
Masayuki Nakano 4ac1042cce Bug 59109 Part 1: Adding -moz-text-decoration-color and -moz-text-decoration-style r=dbaron, sr=bzbarsky 2011-03-31 21:26:35 +09:00
L. David Baron 2f73995ced Fix keyword table entries in nsCSSPropList and code in nsRuleNode to match those used in the parser. (Bug 636029) r=bzbarsky 2011-03-05 09:58:33 -08:00
L. David Baron f2adcfab27 -moz-box-ordinal-group should not accept 0, since the code that uses the property ignores values of 0. (Bug 636034) r=bzbarsky 2011-03-03 13:18:42 -08:00
L. David Baron 639cdb33d9 Correct handling of unitless zero in calc() expressions. (Bug 595648) r=bzbarsky a=blocking2.0:betaN+
This ensures that we treat a unitless zero as a number rather than a
length inside of calc() expressions.  This causes both the acceptance of
previously-rejected expressions (such as -moz-calc(0 * 1em)) and the
rejection of previously-accepted ones (such as -moz-calc(0 + 1em)).
2010-12-30 12:59:33 -05:00
L. David Baron c64142dd70 In contexts where the CSS parser accepts numbers and lengths, treat unitless zero as a number rather than a length. (Bug 595648) r=bzbarsky,dholbert a=blocking2.0:betaN+
This patch has the side-effect of changing the representation of '0'
values in properties added by SVG to use the number representation
rather than the length representation.  This requires marking the
stroke-dashoffset:0 test in test_value_computation.html as known to
fail, since computed style code now returns 0 rather than 0px, and also
requires changing some inputs and results in some SMIL tests (which
seems like it's showing a bug that we can't interpolate between
equivalent values when we ought to be able to do so).
2010-12-30 12:59:33 -05:00
L. David Baron 1ee276beab Remove comment that I forgot to remove in the previous patch (which fixed the issue it was pointing out). (Bug 617372) a2.0=tests 2010-12-16 08:53:17 -08:00
L. David Baron 3a0e6c6e3f Make style system mochitests handle cases where initial font family is sans-serif. (Bug 617372) a2.0=tests 2010-12-09 20:38:53 -08:00
L. David Baron a31dcce1eb Remove support (style system only) for 'wider' and 'narrower' values of 'font-stretch'. (Bug 604816) r=jdaggett a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron d4d2946639 Support calc() on background-position, background-size, -moz-transform-origin, and background-image gradient stop positions. (Bug 594934) r=bzbarsky a=blocking2.0:betaN
(Note:  this also depends on the change to nsStyleAnimation.cpp's StyleCoordToValue in bug 520234 and on other changes in that bug.)
2010-09-15 08:11:26 -07:00
L. David Baron e031591955 Rename -moz-box-shadow to box-shadow: manual changes. (Bug 590039) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-11 09:27:13 -07:00
L. David Baron f4c51b73b2 Rename -moz-box-shadow to box-shadow: mechanical changes. (Bug 590039) r=bzbarsky a2.0=blocking2.0:beta6
Generated with:
find * -type f -exec sed -i -e 's/\<MozBoxShadow\>/boxShadow/g;s/-moz-box-shadow/box-shadow/gi' {} \;
2010-09-11 09:27:12 -07:00
L. David Baron 8e923adf2c Remove support for min() and max() in calc(): remove support for parsing and storage. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-11 09:27:12 -07:00
Zack Weinberg 51f4d1b92d Bug 451134 (2/2): switch to the official border-radius property names: by-hand changes. r=dbaron a2.0=blocking2.0:beta6 2010-09-09 08:21:48 -07:00
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E) 8537cb241d Bug 451134 (1/2): switch to the official border-radius property names: purely mechanical changes. r=dbaron a2.0=blocking2.0:beta6
This was generated with the command:

LC_ALL=C grep -irlEZe '[-_]moz[-_]border[-_]radius([-_](top|bottom)(right|left))?' * | xargs -0 perl -pi -e \
    's/-moz-border-radius-(top|bottom)(left|right)/border-${1}-${2}-radius/gi;
     s/_moz_border_radius_(top|bottom)Right/border_${1}_right_radius/g;
     s/_moz_border_radius_(top|bottom)Left/border_${1}_left_radius/g;
     s/-moz-border-radius/border-radius/gi;
     s/_moz_border_radius/border_radius/g;'
2010-09-09 08:21:47 -07:00
L. David Baron 9ca64d5905 Add an invalid-value test for text-shadow that we already have for -moz-box-shadow. a2.0=tests 2010-09-09 08:21:46 -07:00
L. David Baron e82fb6cb2f Fix missing computation half of calc() for border-*-width. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron d282153a9d Add calc() support for two properties I missed: outline-width and column-gap. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron 7a0e99bcfb Negative values for stroke-dasharray should be rejected. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron 99e16ca9a9 Fix places where I missed clamping negative calc() to 0. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron 2842b50861 Fix missing frame in style system mochitests. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron b157c42495 Add support for calc() on -moz-border-radius and -moz-outline-radius. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:45 -07:00
L. David Baron b221c0b0c0 Add support for calc() to 'vertical-align' and 'text-indent'. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+ 2010-08-31 12:05:12 -04:00
L. David Baron 374fca8e4f Add support for calc() to the '{margin,padding}-{top,right,bottom,left}' and '-moz-margin-{start,end}' properties. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+ 2010-08-31 12:05:12 -04:00
L. David Baron 999bb0be9f Add support for calc() to the 'top', 'right', 'bottom', and 'left' properties. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:56 +02:00
L. David Baron 89545b0362 Add support for calc() to the 'min-width' and 'max-width' properties. (Bug 585715) r=bzbarsky a2.0=blocking+ 2010-08-25 12:17:56 +02:00