Commit Graph

2365 Commits

Author SHA1 Message Date
David Zbarsky
0ce84fc37e Bug 773500 Part 2: nsStyleAnimation should null check z-component of nsCSSValueTriplet r=dbaron 2012-07-21 19:48:33 -04:00
David Zbarsky
71be33bfa0 Bug 773500 Part 1:Store z-component of transform-origin as 0 rather than null when it is omitted. r=dbaron 2012-07-21 19:48:19 -04:00
Ryan VanderMeulen
2661c4efbe Merge m-c to inbound. 2012-07-20 17:37:53 -04:00
Olli Pettay
e9cea4305c Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey 2012-07-20 19:42:08 +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
Cameron McCormack
e6e89e5e75 Bug 774968 - line-height percentage value not computed accurately. r=dbaron
--HG--
extra : rebase_source : 93885c1b2ef72d673a935c135f89cc06bc58136d
2012-07-20 07:03:35 +10:00
Jonathan Watt
2e72406ef8 Bug 775304 - Don't visit the descendant frames for the nsChangeHint_UpdateEffects hint. r=roc, r=dbaron.
--HG--
extra : rebase_source : 11996bd6194d62f98eba81d5e3a13d29eaacd62b
2012-07-19 15:44:04 -04:00
Aryeh Gregor
7070a755d7 Bug 768756 part 2 - Make nsComputedDOMStyle Init infallible and merge into constructor; r=bz 2012-07-06 15:28:33 +03:00
Boris Zbarsky
051c2fee44 Bug 607267. Don't style imagemaps as block. r=dbaron,tbsaunde 2012-07-17 12:18:53 -04:00
L. David Baron
bbbde4afb0 Disable the unitless length quirk inside of calc(). (Bug 774122, patch 3) r=bzbarsky
I noticed this bug because the new assertions in ParseVariant,
introduced in the previous patch, are stricter and would assert without
this fix.
2012-07-16 09:11:33 -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
Gavin Sharp
9fb446b9bb Backed out changeset 64ff8c2d37f9 (bug 774122) 2012-07-16 01:04:27 -07:00
L. David Baron
b6e2f191d0 Disable the unitless length quirk inside of calc(). (Bug 774122, patch 3) r=bzbarsky
I noticed this bug because the new assertions in ParseVariant,
introduced in the previous patch, are stricter and would assert without
this fix.
2012-07-16 01:10:06 -04: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
Ed Morley
53c5da4c5a Backout 6ceeca8b4b73 (bug 772332), ce5629b973e4, 1dcff1db63b4, 108d06ef7755 & 7bf6519b3f43 (bug 768756) for bustage 2012-07-15 11:42:31 +01:00
Aryeh Gregor
336965c636 Bug 768756 part 2 - Make nsComputedDOMStyle Init infallible and merge into constructor; r=bz 2012-07-06 15:28:33 +03:00
Rafael Ávila de Espíndola
e2ca4c3e0c Bug 774022 - Remove extra ;. r=dbaron. 2012-07-15 00:15:35 -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
L. David Baron
9296ad61b2 Add VARIANT_NONNEGATIVE_DIMENSION. (Bug 773102, patch 2) r=bzbarsky 2012-07-13 18:01:34 -07:00
L. David Baron
6fbdd2a91a Rename VARIANT_POSITIVE_LENGTH to VARIANT_POSITIVE_DIMENSION since it also applies to times and frequencies. (Bug 773102, patch 1) r=bzbarsky 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
ebd9a1a4a9 Add VARIANT_NONNEGATIVE_DIMENSION. (Bug 773102, patch 2) r=bzbarsky 2012-07-13 15:06:50 -07:00
L. David Baron
ac37feeb7e Rename VARIANT_POSITIVE_LENGTH to VARIANT_POSITIVE_DIMENSION since it also applies to times and frequencies. (Bug 773102, patch 1) r=bzbarsky 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
Ehsan Akhgari
56e83249f2 Backout changeset e62e0d2137b6 (bug 773500) because of mochitest-4 bustage 2012-07-13 16:02:06 -04:00
David Zbarsky
1b13be7e5c [Bug 773500] nsStyleAnimation checks for common units of nsCSSValuePair/Triplet are screwy r=dbaron 2012-07-13 11:49:31 -07:00
Aryeh Gregor
b0041eadcc Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan 2012-07-13 09:33:42 +03:00
David Keeler
12645e6e65 bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -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
Jonathan Watt
8b34895f35 Bug 769742 - Account for nsSVGOuterSVGFrames' border/padding offset by giving nsSVGOuterSVGFrame an anonymous child to wrap its real children. r=roc. 2012-07-09 02:04:56 +01: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
Masatoshi Kimura
05f231229e Bug 752187 - Part 12: Implement serializing unprefixed computed values. r=dbaron 2012-07-07 10:27:09 -04:00
Masatoshi Kimura
780a1d99a0 Bug 752187 - Part 11: Implement serializing unprefixed gradients. r=dbaron 2012-07-07 10:27:09 -04:00