Commit Graph

176 Commits

Author SHA1 Message Date
Trevor Saunders
544f6807ab bug 798567 - convert css values to webidl r=bz 2012-10-01 12:49:41 -04:00
Cameron McCormack
c3f03985ad Bug 816720 - Allow CSSRule.insertRule to insert non-style rules. r=bz 2012-12-01 15:10:45 +11:00
Cameron McCormack
246d11812a Bug 815021 - Implement MediaRule.conditionText setter. r? 2012-11-27 16:30:31 +11:00
Cameron McCormack
840b2dc1fc Bug 814907 - Add new CSS GroupingRule and ConditionRule interfaces. r=bz 2012-11-27 16:30:30 +11:00
Seth Fowler
c42d3467d8 Bug 812241 - Remove disabled test warnings. r=khuey 2012-11-20 16:13:04 -08:00
Zack Weinberg
3156225b0e Bug 229827: escape unprintable characters in CSS parser diagnostics. r=dbaron 2012-11-16 21:53:38 -05:00
Ryan VanderMeulen
2621afbb4e Backed out changesets b242651c3c1b (bug 229827), b36eaac9ecf8, and 40f38a8aa660 (bug 663291) for mochitest-3/4 failures.
CLOSED TREE
2012-11-16 16:59:38 -05:00
Zack Weinberg
5c6f43e9ec Bug 229827: escape unprintable characters in CSS parser diagnostics. r=dbaron
--HG--
extra : rebase_source : 9298095c2cd7669b5ca1a07cd5378a852c4a7f36
2012-11-16 15:29:21 -05:00
Brendan Dahl
fc1f8956b9 Bug 115199 - CSS2 @page rule style support. r=dbaron 2012-08-31 14:21:28 -07:00
Ryan VanderMeulen
b4426aaaa0 Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures. 2012-11-13 20:19:18 -05:00
Brendan Dahl
1ad7f91f17 Bug 115199 - CSS2 @page rule style support. r=dbaron 2012-08-31 14:21:28 -07:00
Daniel Holbert
a063fa6f9f Bug 794748: Add mochitest to check computed value of "min-width:auto" and "min-height:auto". r=dbaron 2012-11-07 13:32:53 -08:00
Daniel Holbert
0cf22e1a33 Bug 783415 part 2: Add mochitest to check the computed value of various specified "display" values on flex-container-children. r=dbaron 2012-11-07 11:29:00 -08:00
Ed Morley
03ec006f76 Bug 701060 - Disable test_bug401046.html & test_lang.xhtml for too many intermittent failures 2012-11-06 22:26:56 +00:00
L. David Baron
79dfcd7feb Bug 804970, patch 2: Add test for dynamic changes of viewport units. r=bzbarsky
--HG--
rename : layout/style/test/test_rem_unit.html => layout/style/test/test_viewport_units.html
2012-10-26 19:04:20 +02:00
Boris Zbarsky
d3f9d1f8ce Bug 800983. Expose a getter for default computed style. r=dbaron
An alternative implementation strategy is to add "default-only"
versions of ResolveStyleFor and ResolvePseudoElementStyle and then
modify FileRules to support those, or use a cut-down custom version of
FileRules for them.  That would be faster, but more complicated on the
style set side.  We can always make that switch if we need to, I guess.
2012-10-17 17:01:56 -04:00
Boris Zbarsky
6a79d7f055 Bug 795520. Don't fail to return a computed CSS declaration just because the style change that will give us a presshell has not been processed yet. r=dbaron
Another, more risky, option would be to always return a declaration
from getComputedStyle, even if we have no presshell, then just throw
(after flushing, as needed) if people try to get style info for it
just like we already do for declarations whose document loses a
presshell.  This might cause compat issues on sites that can deal with
null but not exceptions, though.  :(
2012-10-17 17:01:56 -04:00
Daniel Holbert
d7b7c299ff Bug 799775 part 2: Add decl to inherit "-moz-order" on table outer frames in ua.css. r=dbaron
--HG--
rename : layout/style/test/file_flexbox_order.html => layout/style/test/file_flexbox_order_table.html
rename : layout/style/test/test_flexbox_order.html => layout/style/test/test_flexbox_order_table.html
2012-10-11 14:33:24 -07:00
Daniel Holbert
dcaf8c3429 Bug 799775 part 1: General mochitest for 'order' property reordering items in a flex container. rs=dbaron 2012-10-11 14:33:24 -07:00
Ed Morley
bd0d1f6c0a Bug 795393 - Remove instances of "ifneq (mobile,$(MOZ_BUILD_APP))" since they're now always true; r=ted 2012-10-06 16:46:09 +01:00
Daniel Holbert
f495c06658 Bug 797601 part 2: Tweak flexbox mochitests to run in an iframe and have their parent-document set the pref before loading them. r=bz
--HG--
rename : layout/style/test/test_flexbox_align_self_auto.html => layout/style/test/file_flexbox_align_self_auto.html
rename : layout/style/test/test_flexbox_flex_grow_and_shrink.html => layout/style/test/file_flexbox_flex_grow_and_shrink.html
rename : layout/style/test/test_flexbox_flex_shorthand.html => layout/style/test/file_flexbox_flex_shorthand.html
rename : layout/style/test/test_flexbox_layout.html => layout/style/test/file_flexbox_layout.html
2012-10-03 18:44:15 -07:00
Boris Zbarsky
28fcdcb432 Bug 732209 part 5. Enforce CORS on stylesheet loads as needed. r=sicking 2012-08-28 13:10:08 -04:00
Daniel Holbert
b1e4aa1328 Bug 666041 patch 4: Mochitest for flexbox layout. r=dbaron 2012-08-07 14:32:24 -07:00
Aryeh Gregor
c09dae34f7 Bug 732153 part 1 - Computed transform should be 'none' if there's no transform, even if backface-visibility or transform-style is set; r=dbaron 2012-07-05 10:45:09 +03:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Cameron McCormack
78727e2c15 Bug 649740 - Implement @supports. r=dbaron,bz 2012-08-02 10:32:12 +10:00
Daniel Holbert
953ec2368d Bug 696253 patch 9: Update mochitest-files variable name in ifdef'd chunk of Makefile for style tests, to accommodate changes from bug 370750. r=dbaron 2012-07-11 12:24:36 -07:00
Nathan Froyd
5b30baa4c3 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Daniel Holbert
b3030a87b0 Bug 696253, patch 8: implement parsing/computation for CSS shorthand property 'flex'. r=dbaron 2012-07-06 17:06:23 -07:00
Daniel Holbert
240b1f795a Bug 696253, patch 6: implement parsing/computation for CSS properties 'flex-grow' and 'flex-shrink'. r=dbaron 2012-07-06 17:06:22 -07:00
Daniel Holbert
31ad14ad8d Bug 696253, patch 5: implement parsing/computation for CSS property 'align-self'. r=dbaron 2012-07-06 17:06:21 -07:00
Jignesh Kakadiya
72c51b4d5b Bug 765590 - CSSNameSpaceRule.type should be 10, not 0. r=dbaron 2012-06-21 12:58:19 -07:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Simon Montagu
3e1cc7f4ba Tests for unicode-bidi: isolate and plaintext from Webkit. Bug 706194, r=roc 2012-04-23 11:48:33 +03:00
Ed Morley
016cbaabf9 Backout ef43fa1005b7, af0733d23b87 & d8d124d2a76c (bug 706194) for compilation failures a=backout 2012-04-23 10:29:11 +01:00
Simon Montagu
57ce3c2c0b Tests for unicode-bidi: isolate and plaintext from Webkit. Bug 706194, r=roc 2012-04-23 11:48:33 +03:00
Aryeh Gregor
cd491d4c50 Bug 721136 - transform property serialization doesn't normalize case; r=dbaron 2012-02-13 16:23:15 -05:00
Boris Zbarsky
3a9aebd6af Bug 716226. When using insertRule on a keyframes rule, set up the child keyframe rule correctly. r=dbaron 2012-01-11 14:36:43 -05:00
Jet Villegas
8338fabe0c Bug 511909. Allow @-rules to nest when parsing CSS. In particular, allow them inside @media and @-moz-document. r=dbaron 2011-12-14 23:42:15 -05:00
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Daniel Holbert
b6321600f2 Bug 641731 tests: reftests for :visited status in image documents. r=dbaron 2011-10-29 02:44:27 -07:00
Boris Zbarsky
f022a015e7 Bug 185236 part 5. Fire load and error events on stylesheet linking elements. r=peterv 2011-09-26 17:27:13 -04:00
L. David Baron
219025b071 Make nsRuleNode's use of font metrics for ch and ex units pass the correct language. (Bug 678671, patch 3) r=roc
This makes these users (which are exceptions within layout, although
low-level enough that it won't matter for font inflation work) call
through to GetMetricsFor explicitly with the correct language, rather
than using the broken nsPresContext::GetMetricsFor and its
charset-detected language.

This improves the correctness of our behavior for 'ch' and 'ex' CSS
units when the font selection (or defaults) are language-dependent.  It
should also reduce the number of unique sets of font metrics requested
(which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
Boris Zbarsky
d5c5425937 Bug 645998. Improve the recursion detection in the CSS loader to detect mutual recursion scenarios. r=sicking 2011-08-07 22:23:51 -04:00
arno renevier
40edc8feb0 Bug 664955 - "ASSERTION: parser should have rejected negative length". r=bz 2011-07-04 20:13:20 +02:00
L. David Baron
c09bb2ecf4 Remove NS_STYLE_LIST_STYLE_OLD_* constants to fix computed list-style-type style resulting from type attribute on lists. (Bug 665857) r=bzbarsky 2011-06-29 14:39:21 -07:00
Boris Zbarsky
55542a66a8 Bug 667520. Fix nth index cache to work correctly when nth-child selectors are only applied to some elements of a child list. r=dbaron 2011-06-28 11:19:18 -04:00
Matheus Kerschbaum ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
6469811981 Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron 2011-06-20 16:47:09 -07:00
L. David Baron
56b624a007 Add test for rule serialization to catch any bugs in DocumentRule::GetCssText that are like the bug in the DEBUG-only DocumentRule::List in the initial patch for bug 398962. 2011-06-12 18:52:32 -07:00