Commit Graph

13579 Commits

Author SHA1 Message Date
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
Jonathan Watt
3b371902b1 Bug 774095 - Make sure that we call nsSVGEffects::UpdateEffects() on frames that are added after the first reflow. r=dholbert. 2012-07-15 20:42:50 -04:00
Jonathan Watt
9d808ec6cf Bug 774087 - Mark SVG filter primitive frame classes as NS_STATE_SVG_NONDISPLAY_CHILD. r=dholbert. 2012-07-15 20:42:50 -04:00
Jonathan Watt
eb6f0aab92 Bug 773837 part 2 - Fix bug in reftests/svg/filters/feDistantLight-filterRes-01-ref.svg. r=me. 2012-07-15 20:42:49 -04:00
Daniel Holbert
67a78e931c (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
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
9115f02bb5 Bug 774040 - remove unused field. r=roc. 2012-07-15 00:20:24 -04:00
Rafael Ávila de Espíndola
ee5d92ee8a Bug 774039 - remove unused field. r=roc. 2012-07-15 00:18:50 -04:00
Rafael Ávila de Espíndola
4c2f8f408c Bug 774038 - remove unused field. r=roc. 2012-07-15 00:18:01 -04:00
Rafael Ávila de Espíndola
f2824f38d7 Bug 774031 - Remove extra ;. r=roc. 2012-07-15 00:16:47 -04:00
Rafael Ávila de Espíndola
e2ca4c3e0c Bug 774022 - Remove extra ;. r=dbaron. 2012-07-15 00:15:35 -04:00
Rafael Ávila de Espíndola
d64f5bd247 Bug 774025 - Remove extra ;. r=roc. 2012-07-15 00:14:06 -04:00
Matthew Noorenberghe
67280af609 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
37292f8877 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
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
Jonathan Watt
ad2b73f6f5 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
7a283e2bbb 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
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
Jonathan Watt
ac4527f1b9 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
9456baae6c Bug 773196 - Remove -moz prefix from CSS transform properties in SVG reftests. r=me. 2012-07-13 16:12:45 +01:00
Nathan Froyd
c1bc52caeb Bug 772557 - remove libs:: rules from layout/reftests/ makefiles; r=glandium 2012-07-10 14:02:40 -04:00
Jeff Muizelaar
3770f17103 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
cfef187ad4 Back out 0c1f34eb5b93 and 0f987ac28e8c (bug 683243) for Android R2 bustage 2012-07-12 22:27:34 -07:00
Robert O'Callahan
c7d51b4a52 Backout e42786561b60 (bug 772679) for reftest failures. 2012-07-13 17:03:54 +12:00
Robert O'Callahan
977ff1f2be 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
8c17dd8477 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
6d431e1711 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
196d5ba025 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
43a8729734 Bug 772422 - Ignore touch events when selecting text. r=smaug 2012-07-12 14:14:29 -07:00
Wes Johnston
75923210ac Bug 772422 - Tests for selection and touch events. r=smaug 2012-07-12 14:13:34 -07:00
Wes Johnston
d5b0dd84fe Bug 732052 - Allow slide frames to use touch events. r=smaug,enn 2012-07-09 09:55:35 -07: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
Aryeh Gregor
119e020424 Bug 771873 part 1 - Check for reversed indices in Selection::GetIndicesForInterval; r=ehsan 2012-07-12 18:56:30 +03:00