Commit Graph

33523 Commits

Author SHA1 Message Date
Daniel Holbert
3232915300 Bug 748646 patch 1: Put a block's text-overflow markers in PositionedDescendants() before the rest of the block's display items. r=roc 2012-07-22 23:08:20 -07:00
Matt Woodrow
9c6ec8dfc6 Bug 741682 - Remove unnecessary scrollbars from test. r=roc 2012-07-23 15:00:37 +12:00
Matt Woodrow
b489b85891 Bug 539356 - Part 28 - Cached nsDisplayBackground rasterizations with BasicLayers. r=roc 2012-07-23 15:00:36 +12:00
Matt Woodrow
1a5c93fd0e Bug 741682 - Flatten component alpha layers into their parent layer with BasicLayers. r=roc 2012-07-23 15:00:36 +12:00
Matt Woodrow
63a43289be Bug 741682 - Make nsTextBoxFrame::GetComponentAlphaBounds more accurate. r=roc 2012-07-23 15:00:36 +12:00
Matt Woodrow
9cd0f7f2c4 Bug 741682 - Use nsRegion::ScaleToInsidePixels when computing opaque regions of layers. r=roc 2012-07-23 15:00:36 +12:00
Matt Woodrow
fe80bafcc3 Bug 741682 - Add component alpha bounds and opaque regions to display list dumping. r=roc 2012-07-23 15:00:36 +12:00
Ms2ger
cb94cc2ce1 Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE. 2012-07-22 14:02:18 +02:00
Daniel Holbert
a77d92bb74 Bug 776306: When prepending to a display list, only update its 'mTop' pointer if it was empty. r=roc 2012-07-21 22:06:58 -04:00
Robert Longson
d2153b730e Reftest for bug 773595 - Have nsSVGPatternFrame::GetPatternMatrix use the correct attribute. r=jwatt.
--HG--
extra : rebase_source : 212070c3be82c498dd2037ed091fb3d32f766475
2012-07-21 20:24:46 -04:00
Jonathan Watt
48cab57f94 Bug 773595 - Have nsSVGPatternFrame::GetPatternMatrix use the correct attribute. r=longsonr.
--HG--
extra : rebase_source : b261c4e5cda1971ea6877790d97d056e05361373
2012-07-21 20:16:35 -04:00
Jonathan Watt
4b2601630f Bug 776250 - Rename nsISVGChildFrame::UpdateBounds to nsISVGChildFrame::ReflowSVG to make it easier for non-SVG devs to understand the SVG code. r=roc.
--HG--
extra : rebase_source : 9c2d8f3d76dab1a842d6cc5607a13a49703061d6
2012-07-21 20:01:44 -04:00
David Zbarsky
184933b455 Bug 773500 Part 2: nsStyleAnimation should null check z-component of nsCSSValueTriplet r=dbaron 2012-07-21 19:48:33 -04:00
David Zbarsky
71ad884431 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
Jonas Sicking
23c9838514 Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir 2012-07-21 00:29:40 -07:00
Jonathan Watt
cf6659eedd Bug 776089 - switch fuzzy-if arguments to get num pixels vs pixel difference the right way around. r=me. 2012-07-20 18:08:40 -04:00
Ryan VanderMeulen
be774885eb Merge m-c to inbound. 2012-07-20 17:37:53 -04:00
Jonathan Watt
b8e938b76f Bug 776089 - layout/reftests/svg/svg-integration/clipPath-html-05.xhtml and layout/reftests/svg/svg-integration/clipPath-html-05-extref.xhtml are fuzzy after SVG display lists. r=me.
--HG--
extra : rebase_source : 19f5775bac206fd53a7dab8293b904b5933b11c7
2012-07-20 17:28:23 -04:00
Jonathan Watt
631a485340 Bug 776089 - layout/reftests/svg/svg-integration/clipPath-html-05.xhtml and layout/reftests/svg/svg-integration/clipPath-html-05-extref.xhtml are fuzzy after SVG display lists. r=me. 2012-07-20 16:43:34 -04:00
Jonathan Watt
1334f653fb Bug 776089 - layout/reftests/svg/svg-integration/clipPath-html-05.xhtml and layout/reftests/svg/svg-integration/clipPath-html-05-extref.xhtml are fuzzy after SVG display lists. r=me. 2012-07-20 16:38:33 -04:00
Olli Pettay
aa64d464e5 Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey 2012-07-20 19:42:08 +03:00
Chris Jones
fc6d547510 Bug 750977: Implement glue code for asynchronous panning/zooming. r=jlebar,roc,vingtetun
This is a rollup of three separate patches
 - Add nsIDocShell.asyncPanZoomEnabled. r=jlebar
 - Have BrowserElementChild service repaint requests and handle fallback synchronous scrolling (for now). r=jlebar,vingtetun
 - Glue async pan/zoom logic up between compositing, event dispatch, and repaint requests. r=roc

--HG--
rename : b2g/chrome/content/webapi.js => dom/browser-element/BrowserElementScrolling.js
2012-07-19 23:48:27 -07:00
Jonathan Watt
d7fa10301d Bug 775735 - When filters/markers change, update the overflow rect/bounds of referencing frames. r=roc. 2012-07-20 00:54:20 -04:00
Jonathan Watt
613454044e Bug 775697 - Cancel layer transactions that haven't ended after nsDisplaySVGEffects::PaintAsLayer returns. r=roc. 2012-07-20 00:53:55 -04:00
James Willcox
5517ea9fde Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert 2012-07-20 15:20:51 -04:00
Jonathan Watt
d36be8643e Remove unused variable to fix build bustage. no bug. r=me.
--HG--
extra : rebase_source : d0540d8aa9e57358d44a68692fa15172bd7ecefc
2012-07-20 15:12:26 -04:00
Jonathan Watt
c8b3589558 Bug 614732 - Implement display list based painting and hit-testing for SVG. r=roc.
--HG--
extra : rebase_source : 77e55885fbbf428008f5be787ddeb7e561c0d9bd
2012-07-20 14:12:29 -04:00
Jonathan Watt
b96d92727e Bug 614723 - Make sure SVG frames that shouldn't directly display don't create display list items. r=roc.
--HG--
extra : rebase_source : 0b3c9aca661798ea45b6b0ee3b7d0d24fdf2e736
2012-07-20 12:41:29 -04:00
Mats Palmgren
a78a2aa885 Bug 616722 - Make ColumnSetFrame a block margin root. Make the first column a margin root at the top edge, and the last column at the bottom. r=roc 2012-07-20 14:27:04 -04:00
Mats Palmgren
8b5f370306 Bug 774794 - Make the aLineList param for MarkLineDirty mandatory; make nsBlockInFlowLineIterator have a valid mLineList for its mLine. r=roc 2012-07-20 14:27:03 -04:00
David Zbarsky
efedd09aba 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
Wes Johnston
4cee6ddf2b Bug 774987 - Remove a leak and unnecessary copy in touch event handling. r=smaug 2012-07-19 16:36:45 -07:00
Steve Fink
6914108ba0 Backed out changeset afd9e75374e8 from a CLOSED TREE for breaking Windows builds 2012-07-19 14:55:48 -07:00
Cameron McCormack
803f9f3bf4 Bug 774968 - line-height percentage value not computed accurately. r=dbaron
--HG--
extra : rebase_source : 93885c1b2ef72d673a935c135f89cc06bc58136d
2012-07-20 07:03:35 +10:00
James Willcox
08eb1f216b Bug 687267 - Initial support for Flash on Honeycomb r=benwa,vlad 2012-07-19 16:15:40 -04:00
Jonathan Watt
3d3b692947 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
Mounir Lamouri
61d9d40b3d Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar 2012-07-18 15:27:02 -07:00
Aryeh Gregor
b82f9e8e6c Bug 768756 part 2 - Make nsComputedDOMStyle Init infallible and merge into constructor; r=bz 2012-07-06 15:28:33 +03:00
Ed Morley
13b23cc175 Backout e6068bdf8268 (bug 769541) for frequenent intemittent failures in border-radius/clipping-3.html 2012-07-19 11:27:37 +01:00
Ed Morley
c2d155cb67 Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange 2012-07-19 08:29:48 +01:00
Chris Lord
28ca10f26b Bug 769541 - Fix display list creation for positioned descendants of fixed position frames. r=roc
Positioned descendants of positioned frames escape the child display list to
their parent's positioned descendants list when they don't have a z-index set.
This caused their invalidations to be logged against the incorrect layer.

To fix this, wrap each extra positioned descendant of a fixed-position frame
in its own nsDisplayFixedPosition so they receive their own layers.
2012-07-19 06:35:55 +01:00
Mounir Lamouri
f293eab524 Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar 2012-07-18 15:27:02 -07:00
Masayuki Nakano
4c95259d7e Bug 751749 part.2 Support Win key for a modifier of shortcut key and access key r=smaug, enn 2012-07-19 10:28:16 +09:00
David Zbarsky
9a61d96c70 [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Brian Birtles
93ff59eabd Bug 765107 - Reftests for scaled filter drawing; r=bas
--HG--
extra : rebase_source : 27fecbfc7ddb43f892401db9935236eaf00aee2d
2012-07-18 15:15:17 -04:00
Brian Birtles
f393414bcf Bug 765107 - Fix transformed filter drawing with Azure; r=bas
--HG--
extra : rebase_source : bfd4a2a16cbae25db180aed7c84991374a41730b
2012-07-18 15:15:17 -04:00
Matt Woodrow
d275a863dc Bug 773100 - Invalidate the frame bounds instead of deleting the frame property. r=roc 2012-07-18 14:56:42 -04:00
Jonathan Watt
cd139e3be2 Regression test for bug 769942 (DLBI broke invalidation of foreignObjects in filters). r=longsonr.
--HG--
extra : rebase_source : 9042dda0fbb7ae586eb79de6eddc15830c1c7d69
2012-07-18 13:57:54 -04:00
Jonathan Watt
a39402dab5 Bug 770629 (Divs aren't rendered when using CSS 3D transforms) regression test for DLBI. r=mattwoodrow.
--HG--
extra : rebase_source : 7f3a2e56e99e56131852babca3405d957aca0593
2012-07-18 12:50:10 -04:00
Ehsan Akhgari
b9d3334c84 Backout changeset f0be368bb172 (bug 773100) for broken builds across the board 2012-07-18 12:19:20 -04:00
Matt Woodrow
4322843c84 Bug 773100 - Invalidate the frame bounds instead of deleting the frame property. r=roc 2012-07-16 22:28:44 -04:00
Ms2ger
20c8f2a2b0 Bug 539356 - Followup: Fix unused variable warnings; r=mattwoodrow over IRC. 2012-07-18 16:28:53 +02:00
Elika Etemad
5186834e80 Bug 774835: Refactor nsHTMLReflowState::ApplyMinMaxConstraints to separate behavior of width and height. [r=roc]
--HG--
extra : rebase_source : c6a25e9c19c65d86013ddf8afc15026ca02321c4
2012-07-18 10:26:05 -04:00
Ehsan Akhgari
0feb39d4e3 Merge mozilla-central into mozilla-inbound 2012-07-18 09:38:49 -04:00
Jonathan Watt
2bb4db5416 Bug 774133 - Make nsDisplayTransform take account of zooming for SVG transforms. r=roc. 2012-07-18 09:15:13 -04:00
Ed Morley
fcaa2b9642 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-18 13:32:24 +01:00
Ms2ger
b6dab703d1 Bug 772487 - Use CPP_UNIT_TESTS for TestPoisonArea.cpp; r=khuey
--HG--
rename : layout/base/tests/TestPoisonArea.cpp => layout/base/tests/cpp-tests/TestPoisonArea.cpp
2012-07-18 12:36:08 +02:00
Chris Jones
161b9050f9 Bug 745148, part 9: Hook up the pieces and enable direct compositor. r=roc 2012-07-17 16:59:45 -07:00
Chris Jones
791fa8f037 Bug 745148, part 6: Allow layer trees to be given IDs so that the referent can be used in another context. r=ajuma sr=roc 2012-07-17 16:59:45 -07:00
Chris Jones
56cbcae7e6 Bug 745148, part 5: Pass the layer tree to ShadowLayersUpdate(). r=ajuma 2012-07-17 16:59:44 -07:00
Mats Palmgren
60c32db945 Bug 774548. r=roc 2012-07-17 15:56:04 -04:00
Jonathan Watt
87fd77de71 Bug 773450 - Lines don't show up in some Google Maps directions. r=roc. 2012-07-17 15:44:39 -04:00
Matt Woodrow
35ca0069c9 Bug 539356 - Part 7 - Store FrameLayerBuilder objects on the LayerManager instead of nsDisplayListBuilder. r=roc 2012-07-17 13:03:51 -04:00
Matt Woodrow
8f6b3ad35c Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc 2012-07-17 13:03:51 -04:00
Jonathan Watt
523c418951 Bug 539356 - Part 4 - Reinstate the foreignObject registering code so that bug 605265 doesn't slow down SVG in general. r=mattwoodrow 2012-07-17 13:03:51 -04:00
Matt Woodrow
529abd5af3 Bug 539356 - Part 3 - Make GetParentPresContext() succeed when the current PresContext has no frames. r=bz 2012-07-17 13:03:51 -04:00
Boris Zbarsky
5a39a1c779 Bug 607267. Don't style imagemaps as block. r=dbaron,tbsaunde 2012-07-17 12:18:53 -04:00
Fabrice Desré
1ef55968bc Bug 715814 - Implement Web Activities : Activity Object [r=mounir] 2012-07-20 17:41:30 +02:00
Dave Hylands
6c49401e4b Bug 766324 - Add a volume IDL to make volumes scriptable r=qdot 2012-07-16 12:38:18 -04:00
Mats Palmgren
e2a4eca047 Bug 773432 - Don't overlay an image if it's not in the primary selection. r=roc 2012-07-16 12:15:06 -04:00
L. David Baron
1035bd9ac6 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
3547cf232d 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
a9208a1f33 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
d1bb327966 Make test_visited_reftests report failures instead of using timeout to indicate failure. No bug. 2012-07-16 09:11:32 -04:00
Nicholas Cameron
99206643ea Bug 773626; mask sharing hash functions. r=roc 2012-07-16 06:44:15 -04:00
Gavin Sharp
b1ad21b2f2 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
83a09297e1 Backed out changeset ac282e15dc02 (bug 774122) 2012-07-16 01:04:31 -07:00
Gavin Sharp
98c4ef5d6b Backed out changeset e3007422b989 (bug 774122) 2012-07-16 01:04:29 -07:00
Gavin Sharp
baaeab14a2 Backed out changeset 64ff8c2d37f9 (bug 774122) 2012-07-16 01:04:27 -07:00
L. David Baron
a6e6996629 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
0437cc109d 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
95c5727047 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
15e373f633 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
de3e7e0ba9 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
3491c5d24f 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
ed2cc92c28 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
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
Jignesh Kakadiya
c6255b0295 Bug 695813 - Use init list in nsStyleDisplay copy-constructor instead of direct-assignment. r=dbaron 2012-07-06 16:31:54 -07:00
Jonathan Watt
be9eb94c50 Bug 769645 - Use nsDisplayClip to do the content box clipping for nsSVGOuterSVGFrame. r=roc. 2012-07-06 16:44:50 +02:00
Vladimir Vukicevic
55604f3d2f b=766205; HTML video playback occasionally uses RGB frame on mobile (incorrect marking as inactive); r=roc 2012-07-06 09:23:09 -04:00
Gene Lian
1065814f66 Bug 749551 - Alarm API (AlarmHalService). r=cjones 2012-07-06 12:42:36 +02:00
Gene Lian
2500ccecd6 Bug 749551 - Alarm API (Idl and dummy Dom). r=mounir sr=jonas 2012-06-22 15:37:49 +08:00
Aryeh Gregor
230189ca6a Bug 770580 part 2 - Fix crash due to removed null check in Selection::selectFrames; r=ehsan 2012-07-06 09:39:01 +03:00
Aryeh Gregor
7698ba77ed Bug 770580 part 1 - Clarify Selection::selectFrames parameter; r=ehsan 2012-07-06 09:39:01 +03:00
Aryeh Gregor
538ef8bff3 Bug 765595 part 2 - De-COMtaminate nsEditor::mTxnMgr; r=ehsan 2012-06-19 16:23:36 +03:00
Timothy Nikkel
eb8a11b1a8 Bug 771351. Disallow plugins in popup panels gracefully. r=roc 2012-07-05 19:45:23 -05:00
Jonathan Watt
548a272417 Bug 769612 - Move the SVGAutoRenderState::SetPaintingToWindow() call to nsDisplayOuterSVG::Paint and kill nsSVGOuterSVGFrame::Paint. r=dholbert. 2012-07-05 17:18:03 +02:00
Jonathan Watt
b7edafaac5 Bug 769514 - Kill the Mac bitmap fallback code in nsSVGOuterSVGFrame. r=roc. 2012-07-05 17:18:03 +02:00
Mounir Lamouri
870e9d2721 Bug 635498 - Make <input type='number'> behaves like <input type='text'>. r=sicking
--HG--
extra : rebase_source : 0754f845fd6223cd48ca8908ebf642636f0fd9ed
2012-06-10 22:23:17 +02:00
David Rajchenbach-Teller
c4c29fdd2b Bug 750178 - Add an OS.Constants module. r=khuey 2012-07-04 08:30:58 -04:00
Masayuki Nakano
14fad4c3a5 Bug 537230 part.2 Remake the test for selection underlines with CSS3 text-decoration r=roc 2012-07-04 14:59:50 +09:00
Masayuki Nakano
34bdb7d777 Bug 537230 part.1 Paint connection of complex style decoration lines smoothly r=roc 2012-07-04 14:59:50 +09:00
Phil Ringnalda
7b2b8a1c8a Back out ea9410c65673 (bug 769791) for mochitest-chrome bustage 2012-07-03 21:36:45 -07:00
Adam Dane [:hobophobe]
484e6f3083 Bug 769791 - Optimize nsSelection::GetIndicesForInterval for adding ranges to the end. r=smaug 2012-07-03 18:19:42 -05:00
Ehsan Akhgari
497f844a09 Backout changeset ef47dbb6313a (bug 539356) because of performance and correctness regressions 2012-07-03 20:31:07 -04:00
Ehsan Akhgari
202d711270 Backout changeset 3a41b53f8ada (bug 539356) because of performance and correctness regressions 2012-07-03 20:30:11 -04:00
Ehsan Akhgari
0a629a3bf0 Backout changeset eea5704272d0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:28:32 -04:00
Ehsan Akhgari
97259d4a95 Backout changeset 60affaedccc3 (bug 539356) because of performance and correctness regressions 2012-07-03 20:26:55 -04:00
Ehsan Akhgari
94344ff460 Backout changeset bd0a91621ea9 (bug 539356) because of performance and correctness regressions 2012-07-03 20:25:57 -04:00
Ehsan Akhgari
104c7d23eb Backout changeset f83491fc735a (bug 539356) because of performance and correctness regressions 2012-07-03 20:25:37 -04:00
Ehsan Akhgari
cf18ee9122 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Ehsan Akhgari
d49b18b800 Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions 2012-07-03 20:21:03 -04:00
Ehsan Akhgari
e18c7644cd Backout changeset ba840bf34511 (bug 539356) because of performance and correctness regressions 2012-07-03 20:20:24 -04:00
Ehsan Akhgari
881434cf7b Backout changeset 90ab708bab8b (bug 539356) because of performance and correctness regressions 2012-07-03 20:19:49 -04:00
Ehsan Akhgari
12c6e3a4cf Backout changeset 65410094add4 (bug 539356) because of performance and correctness regressions 2012-07-03 20:19:18 -04:00
Ehsan Akhgari
238d1d3b87 Backout changeset ce5e9fefee19 (bug 539356) because of performance and correctness regressions 2012-07-03 20:18:34 -04:00
Ehsan Akhgari
b072071920 Backout changeset d9f3358435ba (bug 539356) because of performance and correctness regressions 2012-07-03 20:17:53 -04:00
Ehsan Akhgari
90c683152d Backout changeset 0c75abcb72ff (bug 539356) because of performance and correctness regressions 2012-07-03 20:17:01 -04:00
Ehsan Akhgari
b1c751a629 Backout changeset 3c553c4b10e9 (bug 539356) because of performance and correctness regressions 2012-07-03 20:15:23 -04:00
Ehsan Akhgari
d61b4e8438 Backout changeset e794d5f88e0c (bug 539356) because of performance and correctness regressions 2012-07-03 20:14:47 -04:00
Ehsan Akhgari
8b3c1f653a Backout changeset cb1ac88bedc2 (bug 539356) because of performance and correctness regressions 2012-07-03 20:14:11 -04:00
Ehsan Akhgari
7e962381f7 Backout changeset ba7021170544 (bug 539356) because of performance and correctness regressions 2012-07-03 20:12:45 -04:00
Ehsan Akhgari
ac450f3382 Backout changeset f7599b247eef (bug 539356) because of performance and correctness regressions 2012-07-03 20:10:16 -04:00
Ehsan Akhgari
2eae9b0480 Backout changeset d14ec506f28f (bug 539356) because of performance and correctness regressions 2012-07-03 20:09:31 -04:00
Ehsan Akhgari
7e5ea88669 Backout changeset 17cc480ae05d (bug 539356) because of performance and correctness regressions 2012-07-03 20:08:53 -04:00
Ehsan Akhgari
8861f4f48e Backout changeset b59fde84e97f (bug 539356) because of performance and correctness regressions 2012-07-03 20:08:35 -04:00
Ehsan Akhgari
8538d26c24 Backout changeset 6234134d4430 (bug 539356) because of performance and correctness regressions 2012-07-03 20:08:19 -04:00
Ehsan Akhgari
3f3e9b2398 Backout changeset 2cf9546ee691 (bug 770001) because DLBI is being backed out 2012-07-03 19:40:24 -04:00
Ehsan Akhgari
27bbe0ea2e Backout changeset 25061ce7382b (bug 770041) because DLBI is being backed out 2012-07-03 19:39:44 -04:00
Ehsan Akhgari
c9e2c1ae49 Backout changeset c862a7dd7851 (bug 769922) because DLBI is being backed out 2012-07-03 19:39:13 -04:00
Ehsan Akhgari
5d271165bb Backout changeset 4e29b12a5d25 (bug 770096) because DLBI is being backed out 2012-07-03 19:38:42 -04:00
Ehsan Akhgari
d57e83e441 Backout changeset 071d6332729b (bug 770058 part 1) because DLBI is being backed out 2012-07-03 19:38:00 -04:00
Ehsan Akhgari
b2823831ae Backout changeset 6266a1336e2d (bug 770058 part 2) because DLBI is being backed out 2012-07-03 19:37:29 -04:00
Daniel Holbert
ad753fe542 Bug 770299: use size_t instead of int for loop iterator in MaskLayerImageCache.h, to fix build warning. r=nrc 2012-07-03 09:01:30 -07:00
Ed Morley
7cff997d09 Backout 3175d72d8a40 (bug 770144) for turning 611498-1.html permaorange 2012-07-03 11:58:04 +01:00
Jonathan Kew
d164a6c88e bug 765906 - reftests for use of synthetic bold with system fallback fonts. r=jdaggett 2012-07-03 11:38:46 +01:00
Jonathan Kew
d05a119289 bug 765906 - don't ignore boldness when using system fallback fonts. r=jdaggett 2012-07-03 11:35:18 +01:00
Ed Morley
e73ef45549 Backout 1dba66cfad9a, ed768b821da1, 23fd9a8d0c9a, 1e90805d96aa, 07425f0e921e (bug 749551) for M3 failures 2012-07-03 11:23:54 +01:00
Gene Lian
73e0766a45 Bug 749551 - Alarm API (AlarmHalService). r=cjones 2012-07-03 11:25:07 +02:00
Gene Lian
3efb0e6aa2 Bug 749551 - Alarm API (Idl and dummy Dom). r=mounir sr=jonas 2012-07-03 11:26:12 +02:00
Matt Woodrow
16e3a3c2bc Bug 770144 - Restrict ThebesLayer invalidations to the visible region. r=roc 2012-07-03 21:07:28 +12:00
Phil Ringnalda
fec7a1197e Back out 921c2e13b45e (bug 770144) for reftest bustage 2012-07-02 21:04:38 -07:00
Matt Woodrow
a8f5323a9f Bug 770144 - Restrict ThebesLayer invalidations to the visible region. r=roc 2012-07-03 14:26:45 +12:00
Robert O'Callahan
94b662155b Bug 770058. Part 2: When the document switches between active and inactive, invalidate all frames. r=mattwoodrow 2012-07-03 14:24:20 +12:00
Robert O'Callahan
eeb0b9d4de Bug 770058. InvalidateFrame doesn't need flags, we can just avoid calling ScheduleRepaint if we find any ancestor frame with a descendant that needs invalidation. r=mattwoodrow 2012-07-03 14:24:14 +12:00
Matt Woodrow
d12a02fd65 Bug 770096 - Prevent crashes when encountering an empty ThebesLayer. r=roc 2012-07-03 14:23:11 +12:00
Matt Woodrow
2dcb0e79f3 Bug 769922 - Add nsDisplayAltFeedback so that alt feedback images get invalidated correclty. r=roc 2012-07-03 13:03:40 +12:00
Matt Woodrow
1c075f3368 Bug 770041 - Revert GetRootPresContext to pre-DLBI behaviour and add GetDisplayRootPresContext for DLBI. r=roc 2012-07-03 13:02:30 +12:00
Ed Morley
eff0157441 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-02 10:03:16 +01:00
Ms2ger
9512d96bf2 Bug 769437 - Remove a check that has been dead since 2005 to fix a build warning; r=mounir 2012-07-02 08:23:56 +02:00
Ms2ger
b47d43e055 Bug 745523 - Part b: Unprefix transforms; r=dbaron
This patch introduces unprefixed 'transform', 'transform-origin', 'perspective',
'perspective-origin', 'transform-style' and 'backface-visibility' properties, and
updates the mochitests in layout/style to use them.
2012-07-02 08:23:54 +02:00
Ms2ger
2b6c403037 Bug 767790 - Remove nsIHTMLDocument::{Get,Set}IsFrameset; r=mounir 2012-07-02 08:22:37 +02:00
Robert O'Callahan
cedd410a70 Backout bug 768775 for now 2012-07-02 14:43:37 +12:00
Robert O'Callahan
f877acef27 Mark gradient tests fuzzy for bug 768775 2012-07-02 13:18:32 +12:00
Robert O'Callahan
7abd565f63 Bug 768775. For linear gradients where the gradient line is parallel to an axis and runs from one edge of a background tile to the other, we can repeat the background by just repeating the gradient instead of drawing individual tiles. r=jrmuizel
--HG--
extra : rebase_source : 81b9a7951ce78f60aa8eaeca4f66f62561133254
2012-07-02 11:46:32 +12:00
Robert O'Callahan
b1e87e032b Bug 770001. When comparing clips, adjust for any change in the ThebesLayer coordinate system. When clips are different, try to accumulate differences intelligently, taking into account that changes in clips outside the bounds of the clipped display item don't matter. r=mattwoodrow
--HG--
extra : rebase_source : d958c629307045f2592ffe658cd1a2e608713cbd
2012-07-02 11:46:21 +12:00
David Zbarsky
d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Aryeh Gregor
ed5ae0b680 Bug 767169 part 1 - Partial cleanup of Selection::selectFrames; r=ehsan 2012-06-28 14:29:56 +03:00
Jonathan Watt
3379f2249a Bug 769902 - Avoid unnecessary precision issues in nsSVGUtils::ObjectSpace. r=longsonr. 2012-06-30 21:21:31 +01:00
Tal Aloni
4096278930 Bug 248239 - Change standards mode height calculations for table cells to use content-box sizing rather than border-box sizing by default (and to honor -moz-box-sizing, which we do not do in quirks mode). Also remove -moz-box-sizing: border-box from default style for caption element (all modes). r=dbaron 2012-06-30 12:01:31 -04:00
Jonathan Watt
73d27475ff Bug 732819 followup - fix test. r=me. 2012-06-30 13:54:01 +01:00
Jonathan Watt
9a0c75c977 Bug 767734 - Give GetCanvasTM knowledge of what the request is for so it can do the right thing when SVG display lists are enabled. r=longsonr. 2012-06-30 12:20:46 +01:00
Jonathan Watt
3b0c752628 Bug 732819 - "ASSERTION: don't think me need this any more" with font-size: 0. r=roc. 2012-06-30 12:20:46 +01:00
Matt Woodrow
847a97d95f Bug 539356 - Part 28 - Cached nsDisplayBackground rasterizations with BasicLayers. r=roc 2012-06-30 15:06:14 +12:00
Matt Woodrow
d9422f4546 Bug 539356 - Part 27 - Make nsImageFrame's overflow include the AltFeedback image if it will use one. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
cdb0e69ed5 Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
6b828656e1 Bug 768766 - Make css-valid tests use MozReftestInvalidate and mark them as fuzzy. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
1c01acc55b Bug 539356 - Part 25 - Invalidate display items that have a changed clip. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
31c89114da Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-06-30 15:06:13 +12:00
Oleg Romashin
5cbefb95a7 Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
150cbb2336 Bug 539356 - Part 19 - Only repaint retained layers after the previous repainted has been drawn to the window. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
a5ce331369 Bug 539356 - Part 18 - Mark frames with only invalid children as an optimization to use when invalidating further frames. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
eb82c6c575 Bug 539356 - Part 14 - Handle multiple widget layer managers retaining data for the same frame. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
5647da5701 Bug 539356 - Part 13 - Only repaint widgets that have had changes since the last paint. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
bcf746ab4e Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
f4ee9e6284 Bug 741682 - Disable component alpha layers with BasicLayers. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
842ed068ce Bug 739671 - Store optimized Color/ImageLayers on the ThebesLayers that they replace. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
aedc1d9411 Bug 539356 - Part 11 - Reimplement empty transactions. r=roc 2012-06-30 15:06:12 +12:00
Matt Woodrow
dbef6fe311 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc 2012-06-30 15:06:11 +12:00
Matt Woodrow
31125260ee Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Matt Woodrow
e7b2e75e9a Bug 539356 - Revert changes made by bug 728983 2012-06-30 15:06:10 +12:00
Matt Woodrow
46e6f3d27b Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc 2012-06-30 15:06:10 +12:00
Matt Woodrow
c238df59ea Bug 539356 - Part 7 - Store FrameLayerBuilder objects on the LayerManager instead of nsDisplayListBuilder. r=roc 2012-06-30 15:06:10 +12:00
Matt Woodrow
831f8a3e50 Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc 2012-06-30 15:06:10 +12:00
Jonathan Watt
212b1c8863 Bug 539356 - Part 4 - Reinstate the foreignObject registering code so that bug 605265 doesn't slow down SVG in general. r=mattwoodrow 2012-06-30 15:06:09 +12:00
Matt Woodrow
a8e0a441c7 Bug 539356 - Part 3 - Make GetParentPresContext() succeed when the current PresContext has no frames. r=bz 2012-06-30 15:06:09 +12:00
Jonathan Kew
a3f6b9f448 bug 769194 - support src:local(...) in @font-face rules on Android/FT2FontList. r=jdaggett 2012-06-29 12:39:44 +01:00
Jonathan Watt
3511c2190f Bug 769103 - Get SVG masks working for HTML elements under CSS transforms. r=roc. 2012-06-28 23:59:05 +01:00
Jonathan Watt
e93280a699 Bug 769306 - Move more code from nsSVGOuterSVGFrame::Paint to nsDisplaySVG::Paint. r=dholbert. 2012-06-28 20:51:31 +01:00
Jonathan Watt
c0fda032aa Bug 769242 - Rename nsDisplaySVG to nsDisplayOuterSVG in preparation for adding other SVG display list item types. r=dholbert. 2012-06-28 20:51:20 +01:00
Jonathan Watt
fca108d98c Bug 769238 - Rename aEffectsFrame to just aFrame in nsSVGIntegrationUtils. r=dholbert. 2012-06-28 20:51:09 +01:00
Ehsan Akhgari
7f1bc8526f Bug 769362 - Mark the rest of the relative position change tests as random on Mac; r=bzbarsky 2012-06-28 15:26:36 -04:00
Jonathan Kew
ab65b50cdb bug 764805 - reftest for style descriptors on src:local font face. r=jdaggett 2012-06-28 10:59:39 +01:00
Ehsan Akhgari
78e6655072 Bug 766843 - Exempt inner table frames from optimized dynamic position change handling, as the required handling is performed for outer table frames; r=bzbarsky 2012-06-27 16:24:01 -04:00
Chris Lord
eb2d0ed405 Bug 758620 - Add fuzzing to fixed-pos reftests. r=roc
Now that fixed position elements are always separate onto their own layers,
they are victims of rounding errors/differences during composition.
This change adds fuzz for the affected platforms/tests.
2012-06-27 16:44:06 +01:00
Chris Lord
737f39fdfa Bug 758620 - Force fixed-position frames to have their own layers. r=roc
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-27 16:43:57 +01:00
Chris Lord
0609d80d0e Bug 758620 - Layout fixed-position frames to the set scroll-port. r=roc
If a scroll position clamping scroll-port size has been set, layout fixed
position frames with respect to this instead of the calculated containing
block size.
2012-06-27 16:43:46 +01:00
Ehsan Akhgari
f4b598bf08 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Aryeh Gregor
6c6dd2829d Bug 766845 part 2 - Make CloneRange() return already_AddRefed<nsRange>; r=smaug 2012-06-25 14:44:11 +03:00
L. David Baron
74cf33b134 Backout changeset 1e2b9cdc486b (Bug 248239) due to failure of tests/MochiKit-1.4.2/tests/test_MochiKit-Style.html . 2012-06-26 18:16:09 -07:00
Tal Aloni
be79a0decf Change standards mode height calculations for table cells to use content-box sizing rather than border-box sizing by default (and to honor -moz-box-sizing, which we do not do in quirks mode). Also remove -moz-box-sizing: border-box from default style for caption element (all modes). (Bug 248239) r=dbaron 2012-06-26 16:24:23 -07:00
Frédéric Wang
89736bf22a Reftest for bug 662756. r=karlt 2012-06-26 15:43:02 -07:00
Frédéric Wang
4853dfd9c9 Bug 662756 - The default value for attributes lspace/rspace of <mo> should be thickmathspace. r=karlt 2012-06-26 15:42:56 -07:00
Daniel Holbert
258620a8a5 Bug 666041 patch 3: Create boilerplate nsFlexContainerFrame class. r=bz 2012-06-26 15:12:13 -07:00
Daniel Holbert
fb1bf70207 Bug 666041 patch 2.5: Add nsCSSFrameConstructor code for detecting when a flex container needs to have its frames rebuilt. r=bz 2012-06-26 15:11:53 -07:00
Daniel Holbert
0432772643 Bug 666041 patch 2: Add "-moz-flex" & "-moz-inline-flex" values for "display" property. r=bz 2012-06-26 15:11:38 -07:00
Ed Morley
46f74afdf1 Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures 2012-06-26 16:13:33 +01:00
Chris Lord
d68b636b06 Bug 758620 - Force fixed-position frames to have their own layers. r=roc
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-26 14:43:11 +01:00
Chris Lord
ad588803ba Bug 758620 - Layout fixed-position frames to the set scroll-port. r=roc
If a scroll position clamping scroll-port size has been set, layout fixed
position frames with respect to this instead of the calculated containing
block size.
2012-06-26 14:42:57 +01:00
Ed Morley
ec0a32e7e2 Merge mozilla-central to mozilla-inbound 2012-06-26 12:12:52 +01:00
Jonathan Watt
f970cf9626 Bug 767823 - Make nsAutoFilterInstance take frame rects and stop using GetCoveredRegion. r=longsonr. 2012-06-26 11:49:23 +01:00
Ed Morley
67022caa2d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-26 09:52:55 +01:00
Nicholas Cameron
162bac1537 Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc 2012-06-26 14:43:31 +12:00
Nicholas Cameron
f1e0596d58 Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
2b4e7781e6 Bug 757347; changes to FrameLayerBuilder. r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
a11036f50f Bug 757347; changes to mask layer user data. r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
244650b5db Bug 757347; Add a cache for image containers. r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
1a825cc2d4 Back out bug 757346
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Jonathan Watt
970e60a384 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Nicholas Cameron
eabed73236 Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
841c20e037 Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
4620356d60 Bug 757347; changes to FrameLayerBuilder. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
efe0b630c3 Bug 757347; changes to mask layer user data. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
9d62b69823 Bug 757347; Add a cache for image containers. r=roc 2012-06-26 09:44:41 +12:00
Jonathan Watt
bb676c03b1 Bug 767996 - Prevent DoApplyRenderingChangeToTree calling nsSVGUtils::InvalidateBounds() and passing in an nsSVGOuterSVGFrame. r=me. 2012-06-25 18:55:30 +01:00
Jonathan Watt
d3ac52e321 Bug 767996 - Add null check to nsSVGUtils::InvalidateBounds. r=me. 2012-06-25 16:17:42 +01:00
L. David Baron
8b759135db Track TEXT_IN_TEXTRUN_USER_DATA separately for inflated and non-inflated text runs. (Bug 718290) r=roc 2012-06-24 16:25:39 -07:00
Jonathan Watt
a73ba1849d Bug 767734, part 1 - Require all callers of nsSVGPathGeometryFrame::GeneratePath to pass in the CTM that should be used. r=longsonr. 2012-06-24 21:12:40 +01:00
Jonathan Watt
80beda3ba7 Bug 738192 follow-up. Re-enable layout/reftests/svg/dynamic-text-04.svg after fixing MarkDirtyBitsOnDescendants. r=me. 2012-06-24 18:02:23 +01:00
Jonathan Watt
b101abb1ed Bug 738192 follow-up. Disable layout/reftests/svg/dynamic-text-04.svg temporarily while I fix it. r=me. 2012-06-24 16:18:29 +01:00
Jonathan Watt
d52239f8d9 Bug 738192 follow-up. Make layout/reftests/svg/dynamic-text-04.svg use MozReftestInvalitade instead of setTimeout to avoid random orange. r=me. 2012-06-24 15:17:19 +01:00
Jonathan Watt
378a935ff3 Bug 738192 - Get rid of the old horrendous "invalidate everything" hack in nsSVGUtils::FindFilterInvalidation(). r=longsonr. 2012-06-24 13:59:26 +01:00
Aryeh Gregor
e39ea69f36 Bug 766795 - Fix asserts when placing cursor in editable detached content; r=roc,ehsan 2012-06-24 09:54:43 +03:00
Jonathan Watt
dcd8f9e561 Bug 767647 followup. Fix unused variable bustage. r=me. 2012-06-23 17:49:37 +01:00
Jonathan Watt
53807bd4e9 Bug 767647 - Stop invalidating once for every SVG descendant of a changed SVG container, and stop invalidating the descendants' rendering observers. r=longsonr. 2012-06-23 17:36:46 +01:00
Jonathan Watt
609c071452 Bug 767697 - Stop invalidating rendering observers of ancestors of SVG frames that only render by reference. r=longsonr. 2012-06-23 15:19:00 +01:00
Jonathan Watt
05e101c7eb Bug 767701 - Add missing nsSVGEffects::InvalidateDirectRenderingObservers() call to the clipPath code. r=longsonr. 2012-06-23 15:18:49 +01:00
Charly Molter ext:(%20and%20Alexandre%20Dumont%20%3CAlexandre%20Dumont%20%3E)
ac1373cebd Bug 716875 - Make nsTextControlFrame inherits from nsContainerFrame instead of nsStackFrame. r=roc,bz 2012-06-23 13:11:00 +02:00
Jonathan Watt
1398fb868a Bug 541270 - Correctly calculate the filter region for SVG filters on HTML to account for zooming. r=dholbert. 2012-06-23 04:01:36 +01:00
Phil Ringnalda
9560bedbc9 Back out 12f76b9a2d78 (bug 541270) for failing to compile 2012-06-22 19:12:35 -07:00
Jonathan Watt
a3c7e68ef9 Bug 541270 - Correctly calculate the filter region for SVG filters on HTML to account for zooming. r=dholbert. 2012-06-23 02:47:10 +01:00
Mats Palmgren
3987613ffd Bug 575294 - s/mFocused/sFocused/. part=5/5 r=smaug 2012-06-23 03:13:56 +02:00
Mats Palmgren
21b1a88e69 Bug 575294. part=4/5 r=roc 2012-06-23 03:13:56 +02:00
Mats Palmgren
8703f3bfcd Bug 575294. part=3/5 r=roc 2012-06-23 03:13:56 +02:00
Mats Palmgren
a287aab1cb Bug 575294. part=2/5 r=smaug,roc 2012-06-23 03:13:56 +02:00
Mats Palmgren
6ad6df9dc5 Bug 726264. r=smaug 2012-06-23 03:13:56 +02:00
Boris Zbarsky
4214241dca Bug 766798. Throw SYNTAX_ERR, not NAMESPACE_ERR, from querySelector(All) on unknown namespaces. r=dbaron 2012-06-22 16:18:50 -04:00
Dão Gottwald
1bd5846b5c Bug 767462 - Allow controlling outside-click event consumption with an attribute. r=enndeakin
--HG--
extra : rebase_source : 0afac7d049f96568390e283cb90f2f1a79ad7c5a
2012-06-22 22:07:26 +02:00
Robert O'Callahan
e5e7516a2f Bug 763838. Update mDestination to match chosen subpixel destination. r=tnikkel 2012-06-22 11:24:06 -05:00
Bas Schouten
edd2ba4a60 Bug 764117 - Part 1: Prefer performance over avoiding seaming in border drawing. r=roc 2012-06-22 16:27:38 +02:00
Bas Schouten
5ec1263f6d Bug 764117 - Part 0: Mark reftest fuzzy on OS X. r=roc 2012-06-22 16:27:38 +02:00