Commit Graph

33187 Commits

Author SHA1 Message Date
Daniel Holbert
68ef128b1a (no bug) Fix typo in parameter name, in documentation for nsIFrame::InsertFrames and nsIFrame::AppendFrames. Comment-only, DONTBUILD 2012-07-15 16:21:00 -04:00
Ed Morley
c86dfc36ed Backout 6ceeca8b4b73 (bug 772332), ce5629b973e4, 1dcff1db63b4, 108d06ef7755 & 7bf6519b3f43 (bug 768756) for bustage 2012-07-15 11:42:31 +01:00
Aryeh Gregor
d3819f192a 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
530ddac475 Bug 774040 - remove unused field. r=roc. 2012-07-15 00:20:24 -04:00
Rafael Ávila de Espíndola
8432e91d7a Bug 774039 - remove unused field. r=roc. 2012-07-15 00:18:50 -04:00
Rafael Ávila de Espíndola
145fda4306 Bug 774038 - remove unused field. r=roc. 2012-07-15 00:18:01 -04:00
Rafael Ávila de Espíndola
ad9204e4f5 Bug 774031 - Remove extra ;. r=roc. 2012-07-15 00:16:47 -04:00
Rafael Ávila de Espíndola
2c8174a582 Bug 774022 - Remove extra ;. r=dbaron. 2012-07-15 00:15:35 -04:00
Rafael Ávila de Espíndola
94a8a8035f Bug 774025 - Remove extra ;. r=roc. 2012-07-15 00:14:06 -04:00
Matthew Noorenberghe
6ad5ac7bec Bug 639362 - Display text/cache-manifest data as text. r=bz
--HG--
extra : rebase_source : e8e30229a029b68b199efe7f0fba71dc142de980
2012-07-13 23:13:20 -07:00
Chris Lord
be15aa7a6e Bug 772079 - Fix ThebesLayerInvalidRegion being destroyed too soon. r=roc
A comment in ApplyThebesLayerInvalidation says that it preserves the content
of ThebesLayerInvalidRegion, in case there are multiple container layers for
the same frame. SetHasContainerLayer, however, immediately clears said property.

This was causing invalidations to be lost since Bug 758620 on fixed-position
elements, as they were being separated out onto their own layers but were still
merged in the root scroll layer. This is tracked in Bug 769541.

This fixes the problem by storing the new invalid region in DisplayItemDataEntry
and clearing/setting the ThebesLayerInvalidRegion property in the
UpdateDisplayItemData callback from FrameLayerBuilder::WillEndTransaction.
2012-07-14 08:49:05 +01:00
L. David Baron
461f51a68f 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
1405c24d0f Add VARIANT_NONNEGATIVE_DIMENSION. (Bug 773102, patch 2) r=bzbarsky 2012-07-13 18:01:34 -07:00
L. David Baron
4e05bcf328 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
d39a53a02a Merge backout 2012-07-13 20:12:21 -04:00
Ehsan Akhgari
9999b284f0 Backout changeset 4e1480ab5116, changeset 576f7d52de4b, and changeset 2a030d4733a0 (bug 773102) because of test failure 2012-07-13 20:12:02 -04:00
Boris Zbarsky
496f1a1325 Bug 771594. Allow preference control over what CSS properties we parse. r=dbaron,dholbert 2012-07-13 19:59:05 -04:00
Jonathan Watt
d1a353d909 Bug 769970 - Get SVG patterns working under HTML elements with CSS transforms applied. r=roc. 2012-07-14 00:18:38 +01:00
Jonathan Watt
0a34a7ccc0 Bug 773837 - Fix bug in reftests/svg/filters/feDistantLight-filterRes-01.svg. r=me. 2012-07-14 00:18:35 +01:00
L. David Baron
4a10b99da8 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
2296f8a8cc Add VARIANT_NONNEGATIVE_DIMENSION. (Bug 773102, patch 2) r=bzbarsky 2012-07-13 15:06:50 -07:00
L. David Baron
b03cc425f6 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
db7d82c836 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
006e865944 Backout changeset e62e0d2137b6 (bug 773500) because of mochitest-4 bustage 2012-07-13 16:02:06 -04:00
David Zbarsky
2acab54bc4 [Bug 773500] nsStyleAnimation checks for common units of nsCSSValuePair/Triplet are screwy r=dbaron 2012-07-13 11:49:31 -07:00
Aryeh Gregor
dde10d9130 Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan 2012-07-13 09:33:42 +03:00
Jonathan Watt
5e83401dfe Bug 773197 - Add some tests for SVG clipPath on HTML elements under CSS transforms. r=me. 2012-07-13 16:12:49 +01:00
Jonathan Watt
8fbde86593 Bug 773196 - Remove -moz prefix from CSS transform properties in SVG reftests. r=me. 2012-07-13 16:12:45 +01:00
Nathan Froyd
5df58d6ecf Bug 772557 - remove libs:: rules from layout/reftests/ makefiles; r=glandium 2012-07-10 14:02:40 -04:00
Jeff Muizelaar
ba4ec6e202 Bug 683243. Add a 16 bit pipeline. r=BenWa
This is to support dithering 16 bit gradients with decent performance.
2012-07-11 12:58:17 -04:00
Phil Ringnalda
c6b792f900 Back out 0c1f34eb5b93 and 0f987ac28e8c (bug 683243) for Android R2 bustage 2012-07-12 22:27:34 -07:00
Robert O'Callahan
211bbff855 Backout e42786561b60 (bug 772679) for reftest failures. 2012-07-13 17:03:54 +12:00
Robert O'Callahan
f17986705c Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel 2012-07-13 16:01:41 +12:00
Robert O'Callahan
6b234af011 Bug 771822. Fire overflow/underflow events as will-paint observers, to avoid having them trigger flushing at unnecessary times. r=bz 2012-07-13 16:01:41 +12:00
Jeff Muizelaar
2209d71abe Bug 683243. Add a 16 bit pipeline. r=BenWa
This is to support dithering 16 bit gradients with decent performance.

--HG--
extra : rebase_source : cffa90d5959211c8c1953867d85c7799ed52d662
2012-07-11 12:58:17 -04:00
Tal Aloni
36815deeaa Bug 338554 - Honor -moz-box-sizing on table cells in standards mode (we ignore it in quirks mode). r=dbaron 2012-07-12 19:28:52 -04:00
Wes Johnston
f86250d05c Bug 772422 - Ignore touch events when selecting text. r=smaug 2012-07-12 14:14:29 -07:00
Wes Johnston
cb19f30e62 Bug 772422 - Tests for selection and touch events. r=smaug 2012-07-12 14:13:34 -07:00
Wes Johnston
1936e3ec67 Bug 732052 - Allow slide frames to use touch events. r=smaug,enn 2012-07-09 09:55:35 -07:00
David Keeler
6f37861531 bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
Aryeh Gregor
98c0f7c228 Bug 771873 part 1 - Check for reversed indices in Selection::GetIndicesForInterval; r=ehsan 2012-07-12 18:56:30 +03:00
Anant Narayanan
d41330f695 Bug 691234: Part 1/3: Move MediaEngine files and tweak interface; r=roc
--HG--
rename : content/media/MediaEngine.h => content/media/webrtc/MediaEngine.h
rename : content/media/MediaEngineDefault.cpp => content/media/webrtc/MediaEngineDefault.cpp
rename : content/media/MediaEngineDefault.h => content/media/webrtc/MediaEngineDefault.h
2012-06-19 17:29:43 -07:00
Mike Hommey
125aebf06d Bug 763651 - Link the javascript engine against zlib. r=khuey 2012-07-12 08:30:59 +02:00
Anant Narayanan
62a0ced060 Backout 431ab4d097c9, bustage 2012-07-11 21:45:20 -07:00
Anant Narayanan
31deb2aeba Bug 691234: Part 1/3: Move MediaEngine files and tweak interface; r=roc
--HG--
rename : content/media/MediaEngine.h => content/media/webrtc/MediaEngine.h
rename : content/media/MediaEngineDefault.cpp => content/media/webrtc/MediaEngineDefault.cpp
rename : content/media/MediaEngineDefault.h => content/media/webrtc/MediaEngineDefault.h
2012-06-19 17:29:43 -07:00
Daniel Holbert
be4d25c573 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
Jonathan Watt
1a49fcfa1a Bug 772017, part 2 - Have the visual overflow rect for SVG frames include non-rendering stroke when 'pointer-events' demands it. r=roc. 2012-07-11 12:25:27 +01:00
Aryeh Gregor
c62c7edaec Bug 719054 - matrix() and matrix3d() with length units should be parse errors; r=dbaron 2012-02-13 11:29:30 -05:00
Ehsan Akhgari
92998ad05e Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more layout parts); r=roc 2012-07-11 00:03:55 -04:00
Brian Birtles
26993a50be Bug 707733 - Extend timeout for deferred-anim-1.xhtml; r=dholbert 2012-07-11 12:21:50 +09:00
Wes Johnston
6528e0253a Backout a7d1108f70fb, e32603f16465, 142b9df4d021, 2012-07-10 16:20:09 -07:00
Jonathan Watt
e66c1cc566 Bug 772406 - Make nsSVGGlyphFrame::UpdateBounds reuse GetBBoxContribution. r=roc. 2012-07-11 00:01:50 +01:00
Scott Johnson
780e089606 Bug 758079: Inflate margin of numeric list elements to prevent cut-off text during font inflation. [r=dbaron] 2012-07-10 10:46:07 -05:00
Jonathan Watt
278d6fb643 Bug 772246 - nsSVGUtils::GetPostFilterVisualOverflowRect should not offset the returned rect by the frame's position. r=roc. 2012-07-10 13:09:08 +01:00
Cameron McCormack
161eb9c7c2 Bug 772355 - Use nsStyleDisplay::IsFloating in a couple of places rather than inspecting mFloats. r=roc 2012-07-10 20:34:42 +10:00
Ehsan Akhgari
7caf761704 Bug 763223 - convert the assertion added in bug 157681 to a warning; r=dbaron 2012-06-18 20:58:08 -04:00
Jonathan Kew
dc6c283e2e backout changeset d9d5d1bd766c (bug 769194) because of crashiness. 2012-07-09 22:47:48 +01:00
Jonathan Watt
b32b8d13ce Bug 771042, part 3 - Enable the reftests/svg/smil/motion tests. r=birtles. 2012-07-09 18:41:14 +01:00
Jonathan Watt
f57eb2db46 Bug 771042, part 2 - Fix bug in reftests/svg/smil/motion/animateMotion-rotate-2.svg. r=me. 2012-07-09 18:41:14 +01:00
Jonathan Watt
05947e196b Bug 771042, part 1 - Fix invalidation of animateMotion. r=birtles. 2012-07-09 18:41:12 +01:00
Nathan Froyd
bfff055672 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
Wes Johnston
b8fc760a2e Bug 732052 - Allow slide frames to use touch events. r=smaug,enn 2012-07-09 09:55:35 -07:00
Jonathan Watt
8b8c9b9f9e Bug 772017 - Have the visual overflow rect for SVG frames include 'none' stroke when 'pointer-events' demands it. r=roc. 2012-07-09 12:55:16 +01:00
Emmanuele Bassi
0bfd16993e 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
4b04164545 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
Cameron McCormack
6cf6e17a5e Bug 771874 - Make nsTextFrame::TrimmedOffsets::GetEnd const. r=roc 2012-07-09 11:09:51 +10:00
Cameron McCormack
6f599d230a Bug 771879 - Minor code formatting tweaks. r=roc 2012-07-09 11:09:50 +10:00
Cameron McCormack
71c5025969 Bug 771883 - Minor nsTextFrame::GetCaretColorAt refactoring. r=roc 2012-07-09 11:09:50 +10:00
Jonathan Watt
f234ac813a 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
Jonathan Watt
357cbc427f Bug 771935 - SVGs that are larger than the browser content area should scroll. r=roc. 2012-07-09 01:55:34 +01:00
Brian Birtles
f5007f0194 Bug 555392 - Extend timeout for deferred-tree-1.xhtml; r=dholbert 2012-07-09 08:47:08 +09:00
Benoit Girard
c9a0c8bbde Bug 771219 - Restore display items when drawing a thebes layer. r=roc 2012-07-06 13:57:47 -04:00
Cameron McCormack
0b69821bc1 Bug 769115 - Calculate marker orientation correctly for arc endpoints. r=jwatt 2012-07-08 21:36:07 +10:00
Jonathan Watt
bf8eebac20 Bug 771795 - Stop over-invalidating SVG. r=heycam. 2012-07-08 08:29:57 +02:00
L. David Baron
5f644a10e6 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
88843c851b Implement dppx units [css3-images] for resolution media query. (Bug 741644) r=bzbarsky 2012-07-07 21:41:27 -07:00
L. David Baron
c51fdbf971 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
8fc4a02cfc 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
31691a2ce9 Bug 752187 - Part 12: Implement serializing unprefixed computed values. r=dbaron 2012-07-07 10:27:09 -04:00
Masatoshi Kimura
364cab6dd4 Bug 752187 - Part 11: Implement serializing unprefixed gradients. r=dbaron 2012-07-07 10:27:09 -04:00
Masatoshi Kimura
85d5ae2b8f Bug 752187 - Part 10: Implement rendering unprefixed gradients. r=dbaron 2012-07-07 10:27:08 -04:00
Masatoshi Kimura
2a19870d92 Bug 752187 - Part 9: Implement unprefixed radial-gradient parsing. r=dbaron 2012-07-07 10:27:08 -04:00
Masatoshi Kimura
6eab3cff50 Bug 752187 - Part 8: Implement unprefixed linear-gradient parsing. r=dbaron 2012-07-07 10:27:08 -04:00
Masatoshi Kimura
b27adf13d6 Bug 752187 - Part 7: Add aIsLegacy parameter to parsing functions. r=dbaron 2012-07-07 10:27:08 -04:00
Masatoshi Kimura
63ae4a505b Bug 752187 - Part 6: Rename mIsToCorner to mIsLegacySyntax. r=dbaron 2012-07-07 10:27:08 -04:00
Masatoshi Kimura
efb32159fe Bug 752187 - Part 5: Remove "to" corner parsing from ParseRadialGradient. r=dbaron 2012-07-07 10:27:08 -04:00
Masatoshi Kimura
50849b0c34 Bug 752187 - Part 4: Remove aIsRadial parameter. r=dbaron 2012-07-07 10:27:07 -04:00
Masatoshi Kimura
5a7d5c802c Bug 752187 - Part 3: Separate linear gradient parsing and radial gradient parsing. r=dbaron 2012-07-07 10:27:07 -04:00
Masatoshi Kimura
dae5f81a1a Bug 752187 - Part 2: Separate legacy gradient line parsing. r=dbaron 2012-07-07 10:27:07 -04:00
Masatoshi Kimura
813653738b Bug 752187 - Part 1: Separate color stops parsing. r=dbaron 2012-07-07 10:27:07 -04:00
Phil Ringnalda
37152dd897 Bug 752752 - Set prefs in the reftest harness to prevent updating and prefetching data about addons, to avoid leaking, r=Unfocused,dbaron 2012-05-25 21:29:35 -07:00
Jeff Muizelaar
6d2bb0d368 Bug 764188 - Expose a global frame tree generation number. r=dbaron
This generation number will be incremented every time that the frame
tree for a presshell changes. Callers need to deal with the case where
this value overflows. We use this to avoid a bunch of Android
screenshotting.
2012-07-04 11:42:29 -04:00
Daniel Holbert
7321212d1b Bug 696253, patch 8: implement parsing/computation for CSS shorthand property 'flex'. r=dbaron 2012-07-06 17:06:23 -07:00
Daniel Holbert
131f2b5d0d Bug 696253, patch 7: implement parsing/computation for CSS property 'flex-basis'. r=dbaron 2012-07-06 17:06:23 -07:00
Daniel Holbert
c7782ae98e 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
0dd40b90f7 Bug 696253, patch 5: implement parsing/computation for CSS property 'align-self'. r=dbaron 2012-07-06 17:06:21 -07:00
Daniel Holbert
85e8349a15 Bug 696253, patch 4: implement parsing/computation for CSS property 'align-items'. r=dbaron 2012-07-06 17:06:21 -07:00
Daniel Holbert
9e077e40c9 Bug 696253, patch 3: implement parsing/computation for CSS property 'flex-direction'. r=dbaron 2012-07-06 17:06:20 -07:00
Daniel Holbert
4fe6be60d1 Bug 696253, patch 2: implement parsing/computation for CSS property 'order'. r=dbaron 2012-07-06 17:06:19 -07:00
Daniel Holbert
e193caf93a Bug 696253, patch 1: implement parsing/computation for CSS property 'justify-content'. r=dbaron 2012-07-06 17:06:19 -07:00