Commit Graph

179 Commits

Author SHA1 Message Date
Zack Weinberg
576dd3ca60 Bug 413958: report the text of the offending line in CSS error messages. r=dbaron 2013-01-11 12:27:43 -05:00
John Daggett
ab2798ea67 Bug 605231 - Tests for font family name parsing. r=dbaron 2013-01-08 17:13:16 +09:00
Cameron McCormack
6183878252 Bug 779917 - Implement CSS.supports(). r=dbaron f=bz 2012-11-25 11:26:07 +11:00
Trevor Saunders
a78d6c805a bug 798567 - convert css values to webidl r=bz 2012-10-01 12:49:41 -04:00
Cameron McCormack
5fa2f0edb8 Bug 816720 - Allow CSSRule.insertRule to insert non-style rules. r=bz 2012-12-01 15:10:45 +11:00
Cameron McCormack
5923576757 Bug 815021 - Implement MediaRule.conditionText setter. r? 2012-11-27 16:30:31 +11:00
Cameron McCormack
a4292916ca Bug 814907 - Add new CSS GroupingRule and ConditionRule interfaces. r=bz 2012-11-27 16:30:30 +11:00
Seth Fowler
630ed49838 Bug 812241 - Remove disabled test warnings. r=khuey 2012-11-20 16:13:04 -08:00
Zack Weinberg
0af062aa68 Bug 229827: escape unprintable characters in CSS parser diagnostics. r=dbaron 2012-11-16 21:53:38 -05:00
Ryan VanderMeulen
401bd9646a 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
dd6833d56d 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
d860d7b308 Bug 115199 - CSS2 @page rule style support. r=dbaron 2012-08-31 14:21:28 -07:00
Ryan VanderMeulen
8f46b7f654 Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures. 2012-11-13 20:19:18 -05:00
Brendan Dahl
507304aa6c Bug 115199 - CSS2 @page rule style support. r=dbaron 2012-08-31 14:21:28 -07:00
Daniel Holbert
6846596f76 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
d88d9f4477 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
e74b154022 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
f9b4b08010 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
611fe536d0 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
194968b6cb 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
857659da08 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
e474f16541 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
cc9e8c3305 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
30e8481488 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
76432fce46 Bug 732209 part 5. Enforce CORS on stylesheet loads as needed. r=sicking 2012-08-28 13:10:08 -04:00
Daniel Holbert
4bbe6b1e04 Bug 666041 patch 4: Mochitest for flexbox layout. r=dbaron 2012-08-07 14:32:24 -07:00
Aryeh Gregor
12d310448b 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
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Cameron McCormack
d7f2d311ed Bug 649740 - Implement @supports. r=dbaron,bz 2012-08-02 10:32:12 +10:00
Daniel Holbert
2b4c513254 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
a7eb97f896 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
50a133f460 Bug 696253, patch 8: implement parsing/computation for CSS shorthand property 'flex'. r=dbaron 2012-07-06 17:06:23 -07:00
Daniel Holbert
1a2b565ce1 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
905f2b0773 Bug 696253, patch 5: implement parsing/computation for CSS property 'align-self'. r=dbaron 2012-07-06 17:06:21 -07:00
Jignesh Kakadiya
b2ead13822 Bug 765590 - CSSNameSpaceRule.type should be 10, not 0. r=dbaron 2012-06-21 12:58:19 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Simon Montagu
168f77f084 Tests for unicode-bidi: isolate and plaintext from Webkit. Bug 706194, r=roc 2012-04-23 11:48:33 +03:00
Ed Morley
d616ec4d5a Backout ef43fa1005b7, af0733d23b87 & d8d124d2a76c (bug 706194) for compilation failures a=backout 2012-04-23 10:29:11 +01:00
Simon Montagu
cd4e09cd3e Tests for unicode-bidi: isolate and plaintext from Webkit. Bug 706194, r=roc 2012-04-23 11:48:33 +03:00
Aryeh Gregor
c6d9662f3d Bug 721136 - transform property serialization doesn't normalize case; r=dbaron 2012-02-13 16:23:15 -05:00
Boris Zbarsky
2788f777bb 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
df060249af 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
6a998be2c5 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
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Daniel Holbert
e6272147fa 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