Commit Graph

39196 Commits

Author SHA1 Message Date
Cameron McCormack
b90dc73fc5 Bug 897763 - Take into account nsChangeHint_{NeedReflow,ClearAncestorIntrinsics} never being inherited for difference calculations on certain style structs. r=dbaron 2014-01-03 13:39:54 +11:00
Nicholas Nethercote
91175eb896 Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Robert O'Callahan
10ddd09c03 Bug 953438 - Change nsIFrame::HasTerminalNewline to HasSignificantTerminalNewline since it doesn't make sense to check for a newline that gets converted to regular whitespace. r=jfkthame 2014-01-02 16:22:12 -05:00
James Kitchener
4721c0729c Bug 953961 - Redundant if condition within nsMathMLTokenFrame::GetMathMLFrameType(). r=fredw 2014-01-02 10:50:14 -05:00
Robert Longson
fb4fe51e0b Bug 955917 - Remove unused functions from nsSVGUtils. r=dholbert 2014-01-02 12:09:07 +00:00
Robert Longson
9fdf63147a Bug 955854 - Remove unused colour space mapping code and move the rest to nsSVGMaskFrame. r=dholbert 2014-01-02 12:01:29 +00:00
Cameron McCormack
f46f8c1436 Bug 955913 - Look up custom property names in a Declaration correctly. r=dbaron 2014-01-02 16:33:57 +11:00
David Zbarsky
df6e7c3bc9 Bug 952977: Switch GetCTM to gfx::Matrix r=nical 2013-12-31 13:44:27 -05:00
Daniel Holbert
5037f08dcd Bug 944909, part 3: add crashtest. (test-only) 2013-12-31 08:47:49 -08:00
Daniel Holbert
79b1b1caf2 Bug 944909 part 2: add comment noting that assertion can be upgraded later. (comment-only) 2013-12-31 08:47:47 -08:00
Mats Palmgren
ad56479784 Bug 944909 part 1: On the final call to FreezeOrRestoreEachFlexibleSize, assert (and enforce) that each flex item ends up frozen. r=dholbert 2013-12-31 08:47:43 -08:00
Ms2ger
fc0c5d7215 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
David Zbarsky
b8cd8b0930 Bug 952977: Switch GeneratePath to gfx::Matrix r=nical 2013-12-30 16:42:32 -05:00
David Zbarsky
3344050b5f Bug 952977: Switch nsSVGImageFrame to gfx::Matrix r=nical 2013-12-30 16:42:26 -05:00
Mats Palmgren
a73ca835cc Bug 946929 - Part 2, adding more temporary diagnostic code. r=roc 2013-12-30 11:17:33 +00:00
David Zbarsky
198efa3a31 Bug 952977 bustage fix 2013-12-30 02:24:47 -05:00
David Zbarsky
e357f0c9be Bug 952977: Switch GetViewBoxTransform to gfx::Matrix r=nical 2013-12-30 01:50:17 -05:00
David Zbarsky
1957b209f5 Bug 952977: Switch GetMarkerTransform to gfx::Matrix r=nical 2013-12-30 01:50:08 -05:00
David Zbarsky
641e051120 Bug 952977: Switch GetBBoxContribution to gfx::Matrix r=nical 2013-12-30 01:50:07 -05:00
Robert O'Callahan
54a2b48649 Bug 945203. Part 8: Add FrameLayerBuilder support for capturing nsDisplayEventRegions data into ThebesLayers. r=mattwoodrow
--HG--
extra : rebase_source : e61c1bcfa700ac88523fb34eab7c6afd470d0d68
2013-12-17 01:16:24 +13:00
Robert O'Callahan
4732dc025c Bug 945203. Part 7: Add ScaleRegionToOutsidePixels. r=mattwoodrow
--HG--
extra : rebase_source : 1c54863818607c45d04249e5df407b3fb3af40dd
2013-12-17 01:11:59 +13:00
Robert O'Callahan
6191abbe99 Bug 945203. Part 6: Move ThebesLayerData to the top level so it can be referenced elsewhere .r=mattwoodrow
--HG--
extra : rebase_source : d0df9b439b454a1c6bef1a8f33f2f96754077ff1
2013-12-17 01:11:01 +13:00
Robert O'Callahan
4827243c03 Bug 945203. Part 5: Remove anonymous namespace. r=mattwoodrow
--HG--
extra : rebase_source : c8a35bed286161a339d4d68d4c0d21fb1c391ab2
2013-12-17 01:04:03 +13:00
Robert O'Callahan
6947f1f4f7 Bug 945203. Part 4: Add nsDisplayEventRegions and build it when painting. r=mats
--HG--
extra : rebase_source : 26b71b6a18681e8fc48c6082c8df6263c1bd3739
2013-12-17 00:22:11 +13:00
David Zbarsky
56c69a7b3f Bug 952977: Switch IsSVGTransformed to gfx::Matrix r=nical 2013-12-29 18:35:53 -05:00
David Zbarsky
c706f9f1f9 Bug 952977: Switch ScaleAndTranslate to gfx::Matrix r=nical 2013-12-29 18:35:53 -05:00
David Zbarsky
2cf593acab Bug 952977: Switch SVGIntegrationUtils to gfx::Matrix r=nical 2013-12-29 18:35:52 -05:00
Jonathan Kew
9067ab3480 backout changeset 8b6f20bda157 (bug 735577 followup 1) for build failure 2013-12-29 22:48:13 +00:00
Jonathan Kew
ed012895e7 bug 735577 - followup 2 - additional comments describing ISize/BSize in nsHTMLReflow{Metrics,State}.h. r=roc 2013-12-29 22:04:28 +00:00
Jonathan Kew
9d097b2e05 bug 735577 - followup 1 - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc 2013-12-29 22:04:02 +00:00
Jonathan Kew
7260967d47 bug 953247 - use binary search instead of linear scan to find tab-width records. r=roc 2013-12-29 11:32:21 +00:00
Jonathan Kew
bb2ffaffbc bug 735577 - pt 4.2 - convert width and height fields in nsHTMLReflowMetrics to logical coordinates. r=smontagu 2013-12-27 18:00:04 +00:00
Jonathan Kew
a7837e1ffa bug 735577 - pt 4.1 - use accessor functions for some physical-coordinate fields in nsHTMLReflowMetrics, in preparation for logicalization. r=smontagu 2013-12-27 17:59:52 +00:00
Jonathan Kew
f79588b6f3 bug 735577 - pt 3.3 - provide logical-coordinate APIs in nsHTMLReflowState, parallel to the existing physical APIs. r=smontagu 2013-12-27 17:59:38 +00:00
Jonathan Kew
954a119d07 bug 735577 - pt 3.2 - update the rest of layout code to use the new accessors on nsHTMLReflowState. r=smontagu 2013-12-27 17:59:21 +00:00
Jonathan Kew
478577ada4 bug 735577 - pt 3.1 - make width/height/offset/margin fields in nsHTMLReflowState private, and provide accessor functions. r=smontagu 2013-12-27 17:59:02 +00:00
Jonathan Kew
86d6ec26b2 bug 735577 - pt 2 - add GetWritingMode() method to nsIFrame. r=smontagu 2013-12-27 17:58:46 +00:00
Jonathan Kew
3a4e628dd9 bug 735577 - pt 1 - introduce mozilla::WritingMode and logical-coordinate Point/Size/Margin/Rect classes. r=smontagu 2013-12-27 17:58:37 +00:00
David Zbarsky
80f65de35f Backout b04bd18e5692 for reftest failure 2013-12-26 15:13:57 -05:00
Robert Longson
7460be5255 Bug 953064 - Add MOZ_STACK_CLASS and MOZ_GUARD_OBJECT_NOTIFIER to various classes. r=dholbert 2013-12-26 18:49:49 +00:00
David Zbarsky
2b8f74cd56 Bug 952977: Switch PrependSVGTransform to gfx::Matrix r=nical 2013-12-26 13:06:54 -05:00
Benjamin Peterson
27b5bb20c9 Backed out changeset 84a3ca9be2eb (bug 940040) for linux bustage 2013-12-24 22:12:43 -06:00
Neil Rashbrook
0367bdbf8c Bug 940040 Pressing and releasing "Alt" should not open the File menu on Linux r=enndeakin 2013-12-25 00:10:24 +00:00
Gavin Sharp
0c3c92e2ae Bug 379975 - crashtest. 2013-12-23 16:51:58 +00:00
bzbarsky@mit.edu
09adf43a53 Bug 375299 - crashtest. 2013-12-23 16:51:58 +00:00
Martijn Wargers
fb313d622c Bug 374420 - crashtest. 2013-12-23 16:51:58 +00:00
Martijn Wargers
61b6c7eedb Bug 374090 - crashtest. 2013-12-23 16:51:57 +00:00
Martijn Wargers
339be66828 Bug 373919 - crashtest. 2013-12-23 16:51:57 +00:00
Martijn Wargers
aeb2dde695 Bug 373533 - crashtests. 2013-12-23 16:51:57 +00:00
Martijn Wargers
dd00b7ce93 Bug 370967 - crashtest. 2013-12-23 16:51:57 +00:00
Martijn Wargers
20f9dc2ba4 Bug 370174 - crashtests. 2013-12-23 16:51:57 +00:00
Martijn Wargers
29c61ca56a Bug 369547 - crashtests. 2013-12-23 16:51:57 +00:00
Martijn Wargers
fcffa3ed10 Bug 317876 - crashtest. 2013-12-23 16:51:57 +00:00
Martijn Wargers
e15a9debfc Bug 290743 - crashtest. 2013-12-23 16:51:57 +00:00
Martijn Wargers
eb727c6ac8 Bug 275625 - crashtest. 2013-12-23 16:51:56 +00:00
Patrick Reiter Horn
6e233a465c Bug 255468 - crashtest. 2013-12-23 16:51:56 +00:00
Robert Longson
159c018097 Bug 939775 - Remove UpdateTextFragmentTrees and nsSVGMutationObserver. r=dholbert 2013-12-23 09:40:50 +00:00
Daniel Holbert
12c8ad6e3a Bug 952857: Fix some typos in reftests that cause JavaScript errors in output. (test-only, no review) 2013-12-22 13:00:28 -08:00
Daniel Holbert
37444b82b9 (no bug) Convert DOS line endings to UNIX line endings, in reftest files 690643-1*. (test-only, whitespace-only, DONTBUILD) 2013-12-22 13:11:58 -08:00
Cameron McCormack
178b8fa7cb Bug 952338 - Temporarily avoid passing in sheet to ParsePropertyWithVariableReferences to avoid a crash. rs=sfink 2013-12-22 15:00:08 +11:00
Olli Pettay
f166efb4c2 Bug 899910, random failure in test_leaf_layers_partition_browser_window.xul (windows only), r=tn
--HG--
rename : mobile/android/base/resources/xml-v11/preferences_search.xml => mobile/android/base/resources/xml/preferences_search.xml
extra : rebase_source : 02620212a533367a47bd112cddb716e7b84a903f
2013-12-21 03:26:53 +02:00
William Chen
a77e9ae737 Bug 887538 - Implement web components shadow element. r=mrbkap 2013-12-20 22:43:58 -08:00
Wes Kocher
53c4b1ac6a Merge inbound to m-c 2013-12-20 18:42:04 -08:00
Daniel Holbert
1bdeb67c5f Bug 946835 part 7: Add vertical variants of existing reftests for checking the baseline of a multi-line flex container. (no review)
--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-line-horiz-1-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-line-vert-1-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-line-horiz-1.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-line-vert-1.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-line-horiz-2-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-line-vert-2-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-line-horiz-2.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-line-vert-2.html
2013-12-20 15:07:58 -08:00
Daniel Holbert
c07d47e936 Bug 946835 part 6: In reftests flexbox-baseline-multi-line-horiz-*, increase some sizes from 18px (arbitrary) to 20px (half the container width) to make upcoming vertical variants simpler. (no review) 2013-12-20 15:07:56 -08:00
Robert Longson
2b4ee5d7ba Bug 940193 - rename nsSVGTextFrame2 to SVGTextFrame. r=dholbert
--HG--
rename : layout/svg/nsSVGTextFrame2.cpp => layout/svg/SVGTextFrame.cpp
rename : layout/svg/nsSVGTextFrame2.h => layout/svg/SVGTextFrame.h
2013-12-20 16:38:51 +00:00
Carsten "Tomcat" Book
8ba68170dd Backed out changeset 70befb4cf2f4 (bug 878935) for mochitest -4 and bc test failures 2013-12-20 12:42:54 +01:00
Carsten "Tomcat" Book
76b3c9c6c0 merge fx-team to mozilla-central 2013-12-20 10:22:29 +01:00
Cameron McCormack
fbaa80f98d Bug 952270 - Null check result of GetPathForLengthOrPositionMeasuring in nsSVGTextFrame2::GetTextPath. r=longsonr 2013-12-20 15:26:28 +11:00
Wes Kocher
b27e63c236 Merge m-c to inbound 2013-12-19 19:51:23 -08:00
Wes Kocher
56d9fc8c65 Merge fx-team to m-c 2013-12-19 19:09:04 -08:00
Wes Kocher
3f7a546e4f Merge inbound to m-c 2013-12-19 18:58:45 -08:00
Brad Lassey
bdfab24d3e Backed out changeset 93d8c8703f4d 2013-12-19 17:49:05 -05:00
Kartikaya Gupta
7951bd2cf8 Bug 946408 - Always layerize a scrollable element if it's focused. r=kats,tn 2013-12-16 14:53:06 -05:00
Kartikaya Gupta
a1a0eea188 Bug 946408 - Small refactoring for readability. r=tn 2013-12-16 14:53:02 -05:00
Brian Birtles
733a6f94da Bug 946540 part 2 - Reftest for motion paths with inflection points outside (0,1); r=longsonr 2013-12-19 08:52:37 +09:00
L. David Baron
bbd8a11e3c Bug 782610 followup: Add a version of css-supports-027 that does not use @-moz-document. (We already have css-supports-026 to pair with css-supports-028.)
--HG--
rename : layout/reftests/w3c-css/submitted/conditional3/css-supports-027.xht => layout/reftests/w3c-css/submitted/conditional3/css-supports-046.xht
2013-12-18 17:05:54 -05:00
Daniel Holbert
2e9579e077 Bug 951843: Fix some flexbox-items-as-stacking-contexts-* reftests to link to a subsection of flexbox spec, & clarify the reftest titles. test-metadata-only, DONTBUILD 2013-12-18 13:38:54 -08:00
Daniel Holbert
fd62309c56 Bug 946835 followup: drop <link> tags that the w3c test harness doesn't like in reference cases. (test-metadata-only, no review, DONTBUILD) 2013-12-18 13:04:32 -08:00
L. David Baron
1e5359e313 Bug 826582 followup: remove link rel=help from test references, since it's considered an error in the CSS WG test suite management system. No review. 2013-12-18 15:35:04 -05:00
Robert O'Callahan
2f559956a1 Bug 950427. Don't descend into subdocuments at all in elementFromPoint. r=mats
--HG--
extra : rebase_source : 59ce23c3ab81afc624921e4543fe48dd7ae47ce2
2013-12-18 18:37:24 +13:00
Daniel Holbert
2e5284f31f Bug 946835 part 5: Add reftest for finding baseline of multi-line flex container, with baseline-aligned items on first line and flex-wrap:wrap-reverse. r=mats
--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-line-horiz-3-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-line-horiz-4-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-line-horiz-3.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-line-horiz-4.html
2013-12-18 10:34:48 -08:00
Daniel Holbert
8d8da19952 Bug 946835 part 4: Add reftest for finding baseline of multi-line flex container, with baseline-aligned items on first line and flex-wrap:wrap. r=mats 2013-12-18 10:34:47 -08:00
Daniel Holbert
c63a12abc0 Bug 934123: When measuring flex items, pass the same flags into ReflowChild and FinishReflowChild. r=mats 2013-12-18 10:34:46 -08:00
L. David Baron
0028f18972 Bug 951765: Make CSS variables reftests point to TR draft rather than dev.w3.org draft so the CSS WG test system understands them. No review. 2013-12-18 13:24:04 -05:00
Wes Kocher
01cddd87c4 Merge m-c to fx-team 2013-12-19 19:53:30 -08:00
Daniel Holbert
d8219757a9 Bug 951755: Fix some flexbox reftests to point to official flexbox spec instead of dev spec. (test-only, metadata-only) DONTBUILD 2013-12-18 10:07:38 -08:00
Gijs Kruitbosch
c9bcd44acf Bug 950336 - add a pref to disable onbeforeunload, r=bz
--HG--
extra : rebase_source : 37eaa4764a662837ae12354b9cde0e2d17a4c90d
2013-12-18 14:56:40 +00:00
Mats Palmgren
7293495624 Bug 950467, part 3 - Remove the unused aFrame param from nsFontFaceList::AddFontsFromTextRun. r=roc 2013-12-18 13:25:54 +00:00
Mats Palmgren
30da68c20f Bug 950467, part 2 - Only call GetFontFacesForText for the first text continuation, but with aFollowContinuations=true, and optimize GetFontFacesForText for that case. r=roc 2013-12-18 13:25:54 +00:00
Mats Palmgren
626f9af8d7 Bug 950467, part 1 - Iterate continuations only at the outermost level, recursing into each. r=roc 2013-12-18 13:25:54 +00:00
Phil Ringnalda
d12a89d025 Back out f55504b0184f (bug 950427) for mochitest-4 and mochitest-oth bustage (at least)
CLOSED TREE
2013-12-17 23:22:20 -08:00
Robert O'Callahan
4e5e1fbf10 Bug 950427. Don't descend into subdocuments at all in elementFromPoint. r=mats 2013-12-18 18:37:24 +13:00
Timothy Nikkel
9e366145a2 Bug 951467. Give scroll layer items the bounds of the scroll port, not the bounds of the display port. r=roc
The bounds of the scroll port match what will actually be drawn on the screen.

The bounds of the contained content (sized to the display port) are still accessible via mList.GetBounds, and similarly the visible rect of the contained content is mList.GetVisibleRect. The external bounds/visible rect are GetBounds and GetVisibleRect on the nsDisplayScrollLayer object itself.

We implement nsDisplayScrollInfoLayer::GetBounds solely so that it continues to return an empty rect because we expect active empty layers to have empty visible rects.

We no longer have to set our mVisibleRect in nsDisplayScrollLayer::ComputeVisibility because nsDisplayList::ComputeVisibilityForSublist now does it correctly for us (like other items).

We also have to teach ContainerState::ProcessDisplayItems to not set the visible region for scroll layers because it has the external visible region, not the larger internal display port sized visible region. We instead let BuildContainerLayer set the visible region of the layer.
2013-12-17 23:02:56 -06:00
Matt Woodrow
b9a51038c4 Bug 946929 - Add some debug logging to IsDOMPaintEventPending. r=mats 2013-12-18 14:58:57 +13:00
Matt Woodrow
26e54b6c6a Bug 950490 - Don't apply the transform twice when doing blurring in user-space. r=roc 2013-12-18 14:58:21 +13:00
Ryan VanderMeulen
f7385ac1e9 Merge m-c to inbound. 2013-12-17 16:20:31 -05:00
Ryan VanderMeulen
f0ceb6aaa5 Merge b2g-inbound to m-c. 2013-12-17 16:17:49 -05:00
Kartikaya Gupta
0ea9aefa0c Bug 950487 - Remove unnecessary UpdateCompositionBounds function on APZC. r=Cwiiis 2013-12-17 14:25:57 -05:00
Olli Pettay
8c23327abc Bug 867505 - Intermittent test_bug536567_perwindowpb.html, r=ehsan
--HG--
extra : rebase_source : eeda74ec9f14c82944e1d2797596f61880deeaca
2013-12-19 15:02:08 +02:00