Cameron McCormack
a1393d471e
Bug 814310 - Force pref on for @supports reftests and skip mochitest if pref not set. r=bz
2012-10-06 11:17:02 +10:00
Seth Fowler
630ed49838
Bug 812241 - Remove disabled test warnings. r=khuey
2012-11-20 16:13:04 -08:00
John Schoenick
dea0a12fea
Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh
2012-11-19 11:38:03 -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
Jonathan Kew
a6f11a5eff
bug 774560 pt 2 - implement text-transform:full-width. r=smontagu
2012-11-09 09:43:48 +00:00
Daniel Holbert
259e82511a
Bug 790903: Accept unitless 0 as 'flex-basis' component in 'flex' shorthand. r=dbaron
2012-11-08 17:27:47 -08:00
Mats Palmgren
8fc2862b38
Bug 685012 - Implement page-break-inside:avoid in the style system. r=dbaron
2012-11-08 17:09:37 +01: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
Jet Villegas
3727936e46
Bug 806068 part 2: Change in-tree usage of -moz-initial to initial. r=dholbert
2012-10-30 16:57:36 +01:00
Jet Villegas
3398141cef
Bug 806068 part 1: Add support for unprefixed "initial" keyword in CSS (retaining prefixed keyword as an alias, for now). r=dholbert
2012-10-30 16:40:33 +01:00
Gabor Krizsanits
f83543b9ea
Bug 804120 - Offer a way to apply author stylesheet on a given document. r=bz
2012-10-29 12:21:15 +01: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
Gabor Krizsanits
bda3f0bb14
Bug 676054 - part2: Provide AUTHOR_SHEET type for registering with nsIStyleSheetService. r=bz
2012-10-16 21:45:50 +02:00
Emmanuele Bassi
13034b2dd7
Bug 784466 - [css3-animations] Drop declarations in keyframe rules that have !important. r=dbaron
2012-10-16 09:21:35 -07:00
Daniel Holbert
93791d3f3b
Bug 801098: Unprefix flexbox properties & keywords (still preffed off by default). r=dbaron
2012-10-15 12:42:43 -07: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
Yu-Sian (Thomasy) Liu
49b91a54ac
Bug 594935: Add calc to parser, do calc in PaintGradient and add stop point to HasCalc(). r=bz
2012-10-03 22:31:56 -07: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
Daniel Holbert
3443e1f06d
Bug 797601 part 1: Add flexbox properties to mochitest files property_database.js and test_transitions_per_property.html IFF pref is enabled. r=bz
2012-10-03 18:44:11 -07:00
Zack Weinberg
baa7b0e11d
Merge revert of diagnostic round 2 for bug 536603. DONTBUILD
2012-10-03 09:01:01 -04:00
Zack Weinberg
2140205477
Another round of diagnostics for bug 536603.
2012-10-02 09:50:19 -04:00
Zack Weinberg
5537312b3d
Revert previous set of diagnostics for bug 536603.
2012-10-02 09:14:58 -04:00
Simon Montagu
a6d148a96d
Add vendor prefix to :dir selector. Bug 562169, r=dbaron
2012-09-29 13:41:10 -07:00
Jonathan Kew
2cf5d23c2c
bug 674373 pt 6 - support HiDPI display in Cocoa widget code. r=roc,smichaud
2012-09-29 12:36:09 +01:00
Jonathan Kew
e18b10e5fb
bug 674373 pt 5 - provide a fullZoom API in nsIDOMWindowUtils, and use this rather than inferring zoom from CSS to device pixel ratio. r=roc
2012-09-29 12:35:19 +01:00
Zack Weinberg
61e26db869
Diagnostic instrumentation for bug 536603.
2012-09-23 11:18:10 -04:00
L. David Baron
cf6c5ffdb1
Bug 774169, patch 4: Revert bug 719054 for prefixed -moz-transform but leave it for unprefixed transform. r=bzbarsky
2012-09-18 11:37:14 -07:00
L. David Baron
5a6fcd294a
Bug 774169, patch 2: Add property_database.js entries for property aliases. r=bzbarsky
...
This adds entries for property aliases as though they are shorthands.
This fits with the CSS working group's recent resolution to describe
aliases as shorthands, recorded in
http://lists.w3.org/Archives/Public/www-style/2012Aug/0770.html .
The property_database.js entries themselves are copied from the
non-alias entries for the properties, with these changes:
(1) The property name is changed to the prefixed form
(2) The domProp entry is changed to the prefixed form
(3) Adding alias_for entries for each property.
(4) When type is CSS_TYPE_LONGHAND in the target of the alias, type for
the alias is CSS_TYPE_SHORTHAND_AND_LONGHAND and a subproperties
entry is added with the target of the alias.
There are also some indentation fixes to the copied entries in
property_database.js (made before they were copied, and thus affecting
the original as well).
2012-09-18 11:37:14 -07:00
L. David Baron
bf141c929e
Bug 774169, patch 1: Make the property_database.js-based tests call getComputedStyle() for all properties that are expected to have longhand behavior. r=bzbarsky
...
This currently only affects the testing of overflow, but it will also
affect -moz-transform (and any other aliases implemented the same way)
after the later patches in this bug.
This special-cases text-decoration because text-decoration: inherit causes
the color to inherit in a way that we can't serialize the result (since
it's no longer "foreground"). (This isn't great; we might want to
consider fixing it somehow.)
2012-09-18 11:37:14 -07:00
Anthony Ricaud
86f0e8ccbe
Bug 570326 - Add support for background-size in background shorthand property. r=dbaron
2012-09-16 20:20:15 -04:00
Daniel Holbert
35cf5be123
Bug 666041 patch 4.5: Add support for custom flex container sizes to test_flexbox_layout.html, and give it some testcases that exercise our float-accumulation-error-handling code. r=dbaron (DONTBUILD because this test is currently disabled on trunk)
2012-09-11 18:07:49 -07:00
Gabor Krizsanits
5b5c7e6eab
Bug 737003 - Offer a way to apply user agent stylesheet on a given document; r=bz
2012-09-11 13:51:10 +02:00
Cameron McCormack
7b1c6a96f0
Bug 655877 - Part 23a: Add white-space:-moz-pre-discard-newlines value with white space collapsing behavior like SVG's xml:space="preserve". r=roc,dbaron
2012-09-07 15:42:19 +10:00
L. David Baron
5e63099fb4
Remove last use of enablePrivilege in layout/style mochitests. (Bug 653461, patch 4) r=bzbarsky
2012-09-06 21:16:09 -07:00
Edwin Flores
8a6015cf0d
Bug 719286 - Add support for -moz-objectValue keyword to CSS parser for SVG glyphs r=dbaron
2012-09-06 16:58:47 +12:00
Edwin Flores
582af889e5
Bug 719286 - Add support for -moz-objectFillOpacity and -moz-objectStrokeOpacity to CSS parser for SVG glyphs r=dbaron
2012-09-06 16:58:46 +12:00
Edwin Flores
32d64789ec
Bug 719286 - Add support for objectfill and objectstroke values to CSS parser r=dbaron
2012-09-06 16:58:46 +12:00
Edwin Flores
9840b20db1
Bug 719286 - Add -moz-is-glyph media feature for setting default values for SVG glyphs in the browser SVG style sheet r=dbaron
2012-09-06 16:58:44 +12:00
John Schoenick
6c657c7493
Backout a6f040934c99 (Bug 548133) for reftest orange
2012-09-05 14:58:17 -07:00
John Schoenick
89dd8205be
Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh
2012-09-05 14:02:06 -07:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Matt Brubeck
93de3c87cf
Bug 779527 - Use the physical device resolution for media queries on mobile [r=dbaron]
2012-08-31 13:29:47 -07:00
L. David Baron
d56ce864a2
Make author !important rules override CSS animations. (Bug 783714) r=bzbarsky
...
This was resolved at the CSS Working Group meeting on 2012-08-15.
2012-08-29 18:27:01 -07:00
L. David Baron
6630d395ef
Add some missing values to test as shown by code coverage data on nsComputedDOMStyle.cpp . No bug.
2012-08-29 18:27:01 -07:00
Boris Zbarsky
a06f2bdfbe
Bug 732209 part 6. Allow web pages to access cross-origin stylesheets if the CORS headers say so. r=dbaron,sicking
...
When gaining such access, the web page resets the stylesheet to its principal, because it can now edit the sheet.
2012-08-28 13:10:09 -04: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
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
L. David Baron
62da7d5e53
Treat argument of :-moz-locale-dir() case-insensitively. (Bug 741293) r=smontagu
2012-08-20 22:41:47 -07:00
L. David Baron
77d40fe387
Accept unitless lengths in quirks mode for bottom, just as for left/top/right. (Bug 776591) r=bzbarsky
2012-08-20 19:23:31 -07:00
Daniel Holbert
4bbe6b1e04
Bug 666041 patch 4: Mochitest for flexbox layout. r=dbaron
2012-08-07 14:32:24 -07:00
Simon Montagu
4ae7b52fd9
Implement the new CSS property value unicode-bidi: isolate-override. Bug 774335, r=dbaron
2012-08-07 01:42:46 -07:00
Simon Montagu
e09f58837c
Changes to tests for bug 774335, r=dbaron
2012-08-07 01:42:45 -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
Mike Hommey
4e998b1d36
Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE
2012-08-04 10:38:41 +02:00
Cameron McCormack
6445993a90
Bug 780337 - CSSSupportsRule serialization test fixup. r=burning
2012-08-04 18:08:39 +10:00
Mike Hommey
17fb6cad2d
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 08:48:56 +02:00
Cameron McCormack
d7f2d311ed
Bug 649740 - Implement @supports. r=dbaron,bz
2012-08-02 10:32:12 +10:00
Scott Johnson
79055c4778
Bug 764567: Implement column-fill part of CSS3 multicol spec, now with regression fixes [r=roc].
2012-07-31 11:21:19 -05:00
Aryeh Gregor
dbc2cb2b5f
Bug 734953 - Restore transform: skew() support; r=dbaron
2012-07-30 16:48:02 +03:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
eb683fd0cf
Bug 769193 - Interpolate between transform functions that share common primitives rather than forcing them to fall back to matrix decomposition. r=dbaron
2012-07-20 14:08:37 -04:00
L. David Baron
b0ef978f86
Limit the unitless length quirk to the properties where it's needed, per http://simon.html5.org/specs/quirks-mode#the-unitless-length-quirk . (Bug 774122, patch 2) r=bzbarsky
2012-07-16 09:11:33 -04:00
L. David Baron
cd9afca8b6
Limit the hashless color quirk to the properties where it's needed, per http://simon.html5.org/specs/quirks-mode#the-hashless-hex-color-quirk . (Bug 774122, patch 1) r=bzbarsky
...
This changes test_property_syntax_errors.html in the following ways:
(1) removes the "known failures" handling, since there aren't any
(2) changes it to test syntax errors in both quirks mode and standards
mode, instead of only in standards mode
(3) uses a (new) quirks_values mechanism to property_database.js to
test cases that should be invalid in standards mode but accepted in
quirks mode
2012-07-16 09:11:33 -04:00
L. David Baron
4d855695b1
Make test_visited_reftests report failures instead of using timeout to indicate failure. No bug.
2012-07-16 09:11:32 -04:00
Gavin Sharp
14f6bc6d9d
Backed out changeset 0e6039a2c90a due to reftest bustage:
...
REFTEST TEST-UNEXPECTED-FAIL | file:///c:/talos-slave/test/build/reftest/tests/layout/reftests/transform-3d/translatez-1a.html | image comparison (==)
REFTEST TEST-UNEXPECTED-FAIL | file:///c:/talos-slave/test/build/reftest/tests/layout/reftests/transform-3d/translate3d-1a.html | image comparison (==)
2012-07-16 01:05:23 -07:00
Gavin Sharp
f698d10be2
Backed out changeset ac282e15dc02 (bug 774122)
2012-07-16 01:04:31 -07:00
Gavin Sharp
3050d12ed8
Backed out changeset e3007422b989 (bug 774122)
2012-07-16 01:04:29 -07:00
L. David Baron
60f4694e46
Limit the unitless length quirk to the properties where it's needed, per http://simon.html5.org/specs/quirks-mode#the-unitless-length-quirk . (Bug 774122, patch 2) r=bzbarsky
2012-07-16 01:10:06 -04:00
L. David Baron
dbef7a69c4
Limit the hashless color quirk to the properties where it's needed, per http://simon.html5.org/specs/quirks-mode#the-hashless-hex-color-quirk . (Bug 774122, patch 1) r=bzbarsky
...
This changes test_property_syntax_errors.html in the following ways:
(1) removes the "known failures" handling, since there aren't any
(2) changes it to test syntax errors in both quirks mode and standards
mode, instead of only in standards mode
(3) uses a (new) quirks_values mechanism to property_database.js to
test cases that should be invalid in standards mode but accepted in
quirks mode
2012-07-16 01:10:06 -04:00
L. David Baron
84cf28d71d
Make test_visited_reftests report failures instead of using timeout to indicate failure. No bug.
2012-07-16 01:10:06 -04:00
L. David Baron
4fafab5784
Require animation-duration and transtion-duration to be nonnegative at parse time. (Bug 773102, patch 3) r=bzbarsky
...
I believe there's some other code removal that can be done as a followup
to this patch, but that doesn't have to be done now.
2012-07-13 18:01:34 -07:00
Ehsan Akhgari
54bba54101
Merge backout
2012-07-13 20:12:21 -04:00
Ehsan Akhgari
dc7695ce0e
Backout changeset 4e1480ab5116, changeset 576f7d52de4b, and changeset 2a030d4733a0 (bug 773102) because of test failure
2012-07-13 20:12:02 -04:00
Boris Zbarsky
43d45b95b9
Bug 771594. Allow preference control over what CSS properties we parse. r=dbaron,dholbert
2012-07-13 19:59:05 -04:00
L. David Baron
50635ce7be
Require animation-duration and transtion-duration to be nonnegative at parse time. (Bug 773102, patch 3) r=bzbarsky
...
I believe there's some other code removal that can be done as a followup
to this patch, but that doesn't have to be done now.
2012-07-13 15:06:50 -07:00
L. David Baron
db939a352b
Add support for unprefixed calc(), and prefer serializing to unprefixed form. (Bug 771678) r=bzbarsky
...
This also converts all of the tests in layout/style/test/ to using
calc(), except that it duplicates all of the valid values and some of
the invalid values for 'width' and '-moz-column-rule-width' (which are
the two properties that intentionally have extensive calc() tests) in
property_database.js.
2012-07-13 15:06:50 -07: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
Aryeh Gregor
b29d7e95d1
Bug 719054 - matrix() and matrix3d() with length units should be parse errors; r=dbaron
2012-02-13 11:29:30 -05: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
Emmanuele Bassi
8e11d54d2a
Bug 762303 - Unprefix CSS Transition properties and provide temporary aliases for -moz-transition and exposed subproperties. r=dbaron
2012-07-08 21:25:10 -04:00
Emmanuele Bassi
0eecac73f7
Bug 762302 - Unprefix CSS Animation properties and @keyframes rule and provide temporary aliases for -moz-animation and exposed subproperties. r=dbaron
2012-07-08 21:25:10 -04:00
L. David Baron
22e6bbc578
Add flush before we find our pres context, to fix media queries tests on ringmark. (Bug 753777) r=bzbarsky
2012-07-07 21:41:27 -07:00
L. David Baron
1692448626
Implement dppx units [css3-images] for resolution media query. (Bug 741644) r=bzbarsky
2012-07-07 21:41:27 -07:00
L. David Baron
b91a4250d7
Change our interpretation of resolution units in CSS to match updates to the spec: i.e., device pixels per CSS inch (instead of device pixels per physical inch). (Bug 771390) r=bzbarsky
...
Given that this makes GetResolution work like GetDevicePixelRatio, I
believe this should also fix bug 662061 (on resolution's behavior when
zooming)?
2012-07-07 21:41:27 -07:00
Masatoshi Kimura
98db5a6700
Bug 752187 - Tests. r=dbaron
...
--HG--
rename : layout/reftests/css-gradients/radial-onestopposition-1.html => layout/reftests/css-gradients/radial-onestopposition-1a.html
rename : layout/reftests/css-gradients/repeating-radial-onestopposition-1.html => layout/reftests/css-gradients/repeating-radial-onestopposition-1a.html
2012-07-07 10:27:10 -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
fc1301da05
Bug 696253, patch 7: implement parsing/computation for CSS property 'flex-basis'. 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