Commit Graph

19769 Commits

Author SHA1 Message Date
Mats Palmgren
f51c2930dd 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
9b8e245bf9 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
David Zbarsky
4611bb78dd Bug 952977: Switch GeneratePath to gfx::Matrix r=nical 2013-12-30 16:42:32 -05:00
David Zbarsky
59faaf84bd Bug 952977: Switch nsSVGImageFrame to gfx::Matrix r=nical 2013-12-30 16:42:26 -05:00
Mats Palmgren
e26a311a53 Bug 946929 - Part 2, adding more temporary diagnostic code. r=roc 2013-12-30 11:17:33 +00:00
David Zbarsky
b6f38b957a Bug 952977 bustage fix 2013-12-30 02:24:47 -05:00
David Zbarsky
c6c8fbea9a Bug 952977: Switch GetViewBoxTransform to gfx::Matrix r=nical 2013-12-30 01:50:17 -05:00
David Zbarsky
7d24c2a5fc Bug 952977: Switch GetMarkerTransform to gfx::Matrix r=nical 2013-12-30 01:50:08 -05:00
David Zbarsky
2ba3c734ce Bug 952977: Switch GetBBoxContribution to gfx::Matrix r=nical 2013-12-30 01:50:07 -05:00
Robert O'Callahan
5056e8e227 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
9626c36371 Bug 945203. Part 7: Add ScaleRegionToOutsidePixels. r=mattwoodrow
--HG--
extra : rebase_source : 1c54863818607c45d04249e5df407b3fb3af40dd
2013-12-17 01:11:59 +13:00
Robert O'Callahan
78c442b875 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
56c6c3532c 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
ddd88c039d 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
ca9e9d862a Bug 952977: Switch IsSVGTransformed to gfx::Matrix r=nical 2013-12-29 18:35:53 -05:00
David Zbarsky
42fb1763e1 Bug 952977: Switch ScaleAndTranslate to gfx::Matrix r=nical 2013-12-29 18:35:53 -05:00
David Zbarsky
87464ff53e Bug 952977: Switch SVGIntegrationUtils to gfx::Matrix r=nical 2013-12-29 18:35:52 -05:00
Jonathan Kew
44092e5161 backout changeset 8b6f20bda157 (bug 735577 followup 1) for build failure 2013-12-29 22:48:13 +00:00
Jonathan Kew
a9564bfb2f 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
142559cff2 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
01d8beaed6 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
2ce24c662c 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
afd9fd3b50 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
b4cbc916ae 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
b9938a1edc 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
aaf1a8ebb4 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
4fba63bd9e bug 735577 - pt 2 - add GetWritingMode() method to nsIFrame. r=smontagu 2013-12-27 17:58:46 +00:00
Jonathan Kew
38d7ae6afa 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
40af6136a8 Backout b04bd18e5692 for reftest failure 2013-12-26 15:13:57 -05:00
Robert Longson
68759d6543 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
6a26b7bdac Bug 952977: Switch PrependSVGTransform to gfx::Matrix r=nical 2013-12-26 13:06:54 -05:00
Benjamin Peterson
4fa886601f Backed out changeset 84a3ca9be2eb (bug 940040) for linux bustage 2013-12-24 22:12:43 -06:00
Neil Rashbrook
67833857f4 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
376ead95e1 Bug 379975 - crashtest. 2013-12-23 16:51:58 +00:00
bzbarsky@mit.edu
01a8fa2044 Bug 375299 - crashtest. 2013-12-23 16:51:58 +00:00
Martijn Wargers
8bb94d33ec Bug 374420 - crashtest. 2013-12-23 16:51:58 +00:00
Martijn Wargers
f7047815bd Bug 374090 - crashtest. 2013-12-23 16:51:57 +00:00
Martijn Wargers
eb27182a02 Bug 373919 - crashtest. 2013-12-23 16:51:57 +00:00
Martijn Wargers
6d3b97ddcd Bug 373533 - crashtests. 2013-12-23 16:51:57 +00:00
Martijn Wargers
05b98143d3 Bug 370967 - crashtest. 2013-12-23 16:51:57 +00:00
Martijn Wargers
f85681949f Bug 370174 - crashtests. 2013-12-23 16:51:57 +00:00
Martijn Wargers
5870d42245 Bug 369547 - crashtests. 2013-12-23 16:51:57 +00:00
Martijn Wargers
a4d8937d99 Bug 317876 - crashtest. 2013-12-23 16:51:57 +00:00
Martijn Wargers
4090c11380 Bug 290743 - crashtest. 2013-12-23 16:51:57 +00:00
Martijn Wargers
8fcec9243b Bug 275625 - crashtest. 2013-12-23 16:51:56 +00:00
Patrick Reiter Horn
2100ca9d80 Bug 255468 - crashtest. 2013-12-23 16:51:56 +00:00
Robert Longson
69c440b163 Bug 939775 - Remove UpdateTextFragmentTrees and nsSVGMutationObserver. r=dholbert 2013-12-23 09:40:50 +00:00
Daniel Holbert
31815a4f08 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
50691b2b31 (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
b17eca87e8 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
c3da96d885 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
fa4b20986a Bug 887538 - Implement web components shadow element. r=mrbkap 2013-12-20 22:43:58 -08:00
Wes Kocher
6bc4f795b0 Merge inbound to m-c 2013-12-20 18:42:04 -08:00
Daniel Holbert
0f667cdf93 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
dafb611128 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
abcd22038e 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
369d47d00e Backed out changeset 70befb4cf2f4 (bug 878935) for mochitest -4 and bc test failures 2013-12-20 12:42:54 +01:00
Carsten "Tomcat" Book
cf1d8f33dd merge fx-team to mozilla-central 2013-12-20 10:22:29 +01:00
Cameron McCormack
0c7098d167 Bug 952270 - Null check result of GetPathForLengthOrPositionMeasuring in nsSVGTextFrame2::GetTextPath. r=longsonr 2013-12-20 15:26:28 +11:00
Wes Kocher
62489cc3a1 Merge m-c to inbound 2013-12-19 19:51:23 -08:00
Wes Kocher
f8ab24ed0d Merge fx-team to m-c 2013-12-19 19:09:04 -08:00
Wes Kocher
8572872387 Merge inbound to m-c 2013-12-19 18:58:45 -08:00
Brad Lassey
7660bbfd17 Backed out changeset 93d8c8703f4d 2013-12-19 17:49:05 -05:00
Kartikaya Gupta
a5a9461806 Bug 946408 - Always layerize a scrollable element if it's focused. r=kats,tn 2013-12-16 14:53:06 -05:00
Kartikaya Gupta
1f3e408aa4 Bug 946408 - Small refactoring for readability. r=tn 2013-12-16 14:53:02 -05:00
Brian Birtles
93cc05a0ff 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
16dcd1ffea 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
e07d4e5d93 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
498df6de91 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
4a815e6c77 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
aeb166a207 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
e0169c9844 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
27763af769 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
14af714e46 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
a7720ac691 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
fd7afdc87f Merge m-c to fx-team 2013-12-19 19:53:30 -08:00
Daniel Holbert
1a56fb80ba 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
6ad6762fd0 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
a35100a386 Bug 950467, part 3 - Remove the unused aFrame param from nsFontFaceList::AddFontsFromTextRun. r=roc 2013-12-18 13:25:54 +00:00
Mats Palmgren
63dfd6652d 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
da6bb4a3fa 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
47bb18469f 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
9454d623f6 Bug 950427. Don't descend into subdocuments at all in elementFromPoint. r=mats 2013-12-18 18:37:24 +13:00
Timothy Nikkel
a969eaf546 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
ba7c24034b Bug 946929 - Add some debug logging to IsDOMPaintEventPending. r=mats 2013-12-18 14:58:57 +13:00
Matt Woodrow
0fe6699181 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
01e5988548 Merge m-c to inbound. 2013-12-17 16:20:31 -05:00
Ryan VanderMeulen
2184455416 Merge b2g-inbound to m-c. 2013-12-17 16:17:49 -05:00
Kartikaya Gupta
95529e3ebf Bug 950487 - Remove unnecessary UpdateCompositionBounds function on APZC. r=Cwiiis 2013-12-17 14:25:57 -05:00
Olli Pettay
6c03134c6b Bug 867505 - Intermittent test_bug536567_perwindowpb.html, r=ehsan
--HG--
extra : rebase_source : eeda74ec9f14c82944e1d2797596f61880deeaca
2013-12-19 15:02:08 +02:00
Ehsan Akhgari
ce9c4676d6 Bug 949445 - Part 2: Move Selection to WebIDL; r=bzbarsky 2013-12-17 09:12:33 -05:00
Ehsan Akhgari
161bc424ea Bug 949445 - Part 1: Move selectionLanguageChange to nsISelectionPrivate; r=bzbarsky 2013-12-17 09:12:17 -05:00
Ehsan Akhgari
22ed390f77 Bug 950659 - Remove nsIDOMMediaQueryList and nsIDOMMediaQueryListListener; r=bzbarsky
X-Git-Commit-ID: 8584a27a3b3f2a749273cf6c56057b0276854f3b
2013-12-17 08:40:06 -05:00
Mats Palmgren
b1a72337a4 Bug 947158 - Drain the overflow list on inlines before traversing children for bidi processing. r=smontagu 2013-12-17 13:30:25 +00:00
Mats Palmgren
a69abfa957 Bug 947158 - Implement DrainSelfOverflowList for nsInlineFrame and nsFirstLineFrame. r=bz 2013-12-17 13:30:24 +00:00
Cameron McCormack
28e4314585 Bug 950497 - Make self-referencing CSS variables invalid even if they have fallback. r=dbaron 2013-12-17 16:16:42 +11:00
Bill McCloskey
56351ad02f Bug 673569 - Let each frame script have its own anonymous scope (r=smaug,Waldo,mrbkap,bsmedberg) 2013-11-23 21:32:45 -08:00
Gregory Szorc
158ed8b3ec Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.

--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Daniel Holbert
c8eb245f55 Bug 946273 part 3: Add reftests for box-sizing on vertical flex container and on flex items in vertical container. r=mats
--HG--
rename : layout/reftests/flexbox/flexbox-box-sizing-on-container-horiz-1-ref.html => layout/reftests/flexbox/flexbox-box-sizing-on-container-vert-1-ref.html
rename : layout/reftests/flexbox/flexbox-box-sizing-on-container-horiz-1.html => layout/reftests/flexbox/flexbox-box-sizing-on-container-vert-1.html
rename : layout/reftests/flexbox/flexbox-box-sizing-on-items-horiz-1-ref.html => layout/reftests/flexbox/flexbox-box-sizing-on-items-vert-1-ref.html
rename : layout/reftests/flexbox/flexbox-box-sizing-on-items-horiz-1a.html => layout/reftests/flexbox/flexbox-box-sizing-on-items-vert-1a.html
rename : layout/reftests/flexbox/flexbox-box-sizing-on-items-horiz-1a.html => layout/reftests/flexbox/flexbox-box-sizing-on-items-vert-1b.html
2013-12-19 15:37:14 -08:00
Daniel Holbert
54072e4c8a Bug 946273 part 2: Add reftest for box-sizing on flex items with "flex-basis" set, instead of "width". r=mats
--HG--
rename : layout/reftests/flexbox/flexbox-box-sizing-on-items-horiz-1a.html => layout/reftests/flexbox/flexbox-box-sizing-on-items-horiz-1b.html
2013-12-19 15:37:12 -08:00
Daniel Holbert
391b406a36 Bug 946273 part 1: Add reftests for box-sizing on horizontal flex container and on flex items with "width" set in horizontal container. r=mats 2013-12-19 15:37:11 -08:00
Ryan VanderMeulen
c173096f45 Merge inbound to m-c. 2013-12-16 16:58:27 -05:00
Kartikaya Gupta
831e00fbf5 Bug 949132 - Use the FrameMetrics flag on the layers update to update APZC scroll offset instead of tracking it in widget code. r=Cwiiis 2013-12-16 12:04:46 -05:00
Kartikaya Gupta
8109167828 Bug 949132 - Add a flag to FrameMetrics indicating a non-APZ scroll (original patch by mstange). r=tn 2013-12-16 12:04:45 -05:00
Carsten "Tomcat" Book
618641b52a Merge mozilla-central to b2g-i on a CLOSED TREEx 2013-12-16 16:25:31 +01:00
Morris Tseng
a8015cda79 Bug 930056 - Force invalidate frame when displayitem is remote type. r=mattwoodrow 2013-12-16 08:37:34 -05:00
Boris Zbarsky
5636812c55 Bug 950657. Give WebIDL callbacks an operator== that does the right thing. r=smaug 2013-12-16 13:06:35 -05:00
Matt Woodrow
adff6f24ed Bug 913503 - Fix reversed if() condition to fix bustage. 2013-12-16 21:05:20 +13:00
Matt Woodrow
7e4d69c48b Bug 913503 - Update windowed plugin positions before we schedule a composite with OMTC. r=roc 2013-12-16 18:38:42 +13:00
Matt Woodrow
4b38430d54 Bug 948848 - Fold transform scale factors down to leaf layers even for temporary layer managers since it can make a difference for clips that are snapped to pixel boundaries. r=roc 2013-12-16 18:37:47 +13:00
Phil Ringnalda
6a3b0ac1a2 Bug 934301 - Disable test_bug450930.xhtml for constant failures
--HG--
extra : rebase_source : 9d1dc6c2ff2875272abb0af06d6eb769065e5777
2013-12-15 21:14:50 -08:00
Corey Ford
8fef1f973b Bug 950418 - Enable sticky pref for sticky-legend-1.html reftest. r=dholbert 2013-12-14 20:00:23 -08:00
Ehsan Akhgari
b5e08b6467 Bug 950523 - Part 2: Move MediaQueryList to WebIDL bindings; r=bzbarsky 2013-12-16 09:03:34 -05:00
Ehsan Akhgari
c5d408b3c9 Bug 950523 - Part 1: Rename nsDOMMediaQueryList to mozilla::dom::MediaQueryList; r=bzbarsky
--HG--
rename : layout/style/nsDOMMediaQueryList.cpp => layout/style/MediaQueryList.cpp
rename : layout/style/nsDOMMediaQueryList.h => layout/style/MediaQueryList.h
2013-12-16 09:03:19 -05:00
Jonathan Watt
2a85c0d764 Bug 944704, part 5 - Reftest for stroke-dasharray on circle. r=Bas 2013-12-14 11:09:36 +00:00
Masatoshi Kimura
3f45c76316 Bug 941300 - Make circle radial-gradient invalid if two radii values are given. r=dbaron 2013-12-14 13:22:48 +09:00
Mike Hommey
883bf3234f Bug 949334 - Use FINAL_LIBRARY for webrtc. r=gps 2013-12-14 11:38:53 +09:00
Chris Lord
7977706b6f Bug 936500 - Always build layers for nsDisplayScrollLayer. r=tn
APZC information is associated with layers, and having those layers suddenly
disappear because they became occluded, or their displayports are off-screen
has undesired effects.
2013-12-13 19:37:34 +00:00
Benoit Girard
ecabcc60cf Bug 941095 - Part 2: Disable subpixelaa + component alpha. r=mattwoodrow
--HG--
extra : rebase_source : 7e3a0d3710fb29b47615cc0254135d3b44637ed8
2013-12-13 13:53:18 -05:00
Mats Palmgren
137a315ce4 Bug 949932 - Null-check the new StickyScrollContainer in case we don't have any scroll frame ancestors, e.g. in a position:fixed sub-tree. r=roc 2013-12-13 12:46:59 -05:00
Quentin Headen
f6422adfc0 Bug 731667 - Rewrite mtable implementation to avoid use of _moz-* attributes - tests. r=fredw 2013-12-13 12:43:17 -05:00
Quentin Headen
ad2e63374b Bug 731667 - Rewrite mtable implementation to avoid use of _moz-* attributes - remove legacy code. r=karlt 2013-12-13 12:42:57 -05:00
Quentin Headen
0e6f91c6bf Bug 731667 - Rewrite mtable implementation to avoid use of _moz-* attributes - implement parsing and rendering. r=karlt, r=bz 2013-12-13 12:42:43 -05:00
Tor Arvid Lund
af7e76f848 Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical 2013-12-13 18:32:02 +01:00
Jonathan Watt
c11f4f2126 Bug 944704 follow-up to mark zoomed-svg-with-viewBox-01.svg very slightly fuzzy on windows. r=orange 2013-12-13 13:43:58 +00:00
Jonathan Watt
1084f6fc6e Bug 944704 follow-up to mark zoomed-svg-with-viewBox-01.svg very slightly fuzzy on windows. r=orange 2013-12-13 13:41:46 +00:00
Jonathan Watt
28074a3adf Bug 944704, part 3 - Fix stroke dashing for SVG ellipses so that the dashing starts from the correct point and progresses in the correct direction. r=Bas 2013-12-13 12:14:37 +00:00
Simon Montagu
eb40f12e94 Add NS_FRAME_IS_BIDI bit even when short-circuiting bidi resolution. Bug 942690, r=roc 2013-12-13 12:09:26 +02:00
Jonathan Watt
6c8fbf340c Bug 944442 - DeCOMify imgIContainer::GetFrame. r=seth
--HG--
extra : rebase_source : 612c1923f3ed8a01fc30f2d306b4682e585e53fe
2013-12-13 08:34:24 +00:00
Brian Birtles
dc0d4cd8d9 Bug 948245 part 2 - Allow the min attribute to extend the active duration; r=dholbert
The min attribute on an animation element can extend the active duration making
it longer than the "repeat duration" (the amount of the time the animation runs
including all repeats). For the remaining time after the repeat duration has
completed until the end of the active duration the animation should apply its
fill behavior.

Previously this was not implemented and min could not extend the active
duration. Allowing this effectively introduces an additional kind of state where
we are both within the active interval but not animating. In this case we
set the animation function (referred to as the "client" for historical reasons)
to inactive so that effectively the timing model is active but the animation
model is inactive.

(In the future we will come up with something a little easier to understand when
we rework this in terms of Web Animations components.)
2013-12-13 13:41:52 +09:00
Wes Kocher
aa49cfcd54 Merge inbound to m-c 2013-12-12 19:12:51 -08:00
Kartikaya Gupta
0fa48bbcb2 Bug 933264 - Add functions to print nsDisplayListSet instance. r=tn 2013-12-12 13:27:07 -05:00
Olli Pettay
e18f86c2b3 Bug 899910 - Intermittent TEST-UNEXPECTED-FAIL | layout/base/tests/chrome/test_leaf_layers_partition_browser_window.xul, r=tn
--HG--
extra : rebase_source : 58d21857e892a875acbea32d653f243ba9c75ad6
2013-12-12 00:09:29 +02:00
Ryan VanderMeulen
cb5b5eee51 Merge m-c to inbound on a CLOSED TREE. 2013-12-11 22:39:20 -05:00
Dale Harvey
7870fd7c06 Bug 942929 - Use longtapup event to handle firing clicks when longtap not handled. r=kats 2013-12-12 00:39:06 +00:00
Ryan VanderMeulen
ec34e0fb19 Merge inbound to m-c. 2013-12-11 13:32:11 -05:00
Ryan VanderMeulen
106d512427 Merge b2g-inbound to m-c. 2013-12-11 13:24:26 -05:00
Henri Sivonen
b9f48db958 Bug 946647 - Remove bidi options from nsIMarkupDocumentViewer as dead code. r=smontagu. 2013-12-11 15:47:50 +02:00
Cameron McCormack
8287d4f96a Bug 773296 - Part 28: Avoid some crashes in the inspector when variables are present. r=roc 2013-12-12 13:09:47 +11:00
Cameron McCormack
ef496057e2 Bug 773296 - Part 27: Support 'unset' in CSS variables. r=dbaron 2013-12-12 13:09:47 +11:00
Cameron McCormack
0a1eedfeea Bug 773296 - Part 26: Tests. r=dbaron 2013-12-12 13:09:47 +11:00
Cameron McCormack
930a09233d Bug 773296 - Part 25: Parse variable declarations in @supports conditions. r=dbaron
Since we cannot parse and discard a white space token after the ':' in a
custom property declaration, we instead explicitly skip over it when
parsing a non-custom property's value.
2013-12-12 13:09:46 +11:00
Cameron McCormack
57f7c4a4c8 Bug 773296 - Part 24: Recognize variables in CSS.supports("var-blah", "whatever") calls. r=dbaron 2013-12-12 13:09:46 +11:00
Cameron McCormack
44dcde583f Bug 773296 - Part 23: Support variables in CSSStyleDelcaration methods. r=dbaron
This adds support for custom properties on the remainder of the
CSSStyleDeclaration methods.

A shorthand that was specified using a variable reference is serialized
to its originally specified value, rather than by concatenating the
serializations of its longhand components.

A shorthand that was not specified using a variable references but which
has a component longhand that was is serialized to the empty string.
2013-12-12 13:09:46 +11:00
Cameron McCormack
5ecac4b650 Bug 773296 - Part 22: Expose variables through the nsComputedDOMStyle indexed getter. r=dbaron
This exposes the names of the custom properties on a computed style
object through its indexed property getter, just after all of the
built-in properties.
2013-12-12 13:09:45 +11:00
Cameron McCormack
c3394f6440 Bug 773296 - Part 21: Factor out style context getting from nsComputedDOMStyle::GetCSSPropertyValue. r=dbaron
This just factors out some code from
nsComputedDOMStyle::GetCSSPropertyValue into a
UpdateCurrentStyleSources and ClearCurrentStyleSources function.
These will will be needed in nsComputedDOMStyle::IndexGetter so that it
can have up to date information on how many custom properties there are
on the node.
2013-12-12 13:09:45 +11:00
Cameron McCormack
3f1a2f68a3 Bug 773296 - Part 20: Return variables from getComputedStyle().get{,CSS}Property(). r=dbaron 2013-12-12 13:09:45 +11:00
Cameron McCormack
3fdf3d9eee Bug 773296 - Part 19: Compare style structs even for the same rule node when variables have changed. r=dbaron
This makes updates work correctly when variable values change.
Rather than handling nsStyleVariables with a DO_STRUCT_DIFFERENCE,
we explicitly compare the two nsStyleVariables objects in
nsStyleContext::CalcStyleDifference before looking at the other
style structs.  This is because we need to force those other
style structs to be compared if variable values are changing.
nsStyleVariables::CalcDifference still returns 0, since the change in
variable values themselves doesn't require any updates.
2013-12-12 13:09:45 +11:00
Cameron McCormack
ba08f38dc0 Bug 773296 - Part 18: Add error reporting for invalid variable references. r=dbaron
This adds CSS parser error reporting for parsing of custom properties
and normal properties that have variable references.

When re-parsing a normal property that had a variable reference, we
report any parse error to be at the beginning of the property value.
This is because it is difficult to keep track of where exactly each
variable substitution came from to point to the particular value
that would have caused the parse error.  For example, with this:

  :root {
    var-a: 1px 2px;
    var-b: 3px var(a);
  }
  p {
    margin: var(a) var(b);
  }

we would end up resolving the value of 'margin' to:

  "  1px 2px  3px  1px 2px"

In this string, the parse error occurs when we encounter the final
"2px", but by this point we don't know where that value came from.
So instead we just point to the line on which 'margin' was declared.

We extend ErrorReporter with an OutputError overload that takes the
specific line and column number to use in the error report to get this
right, and we store the line and column number for each token stream
we parse on the nsCSSValueTokenStream object.
2013-12-12 13:09:44 +11:00
Cameron McCormack
9ee3123e5b Bug 773296 - Part 17: Resolve property values that have variable references at computed value time. r=dbaron
This re-parses property values at computed value time if
they had a specified value that was a token stream.  We add
a function nsRuleNode::ResolveVariableReferences that looks
at all the values in the nsRuleData and calls in to a new
nsCSSParser::ParsePropertyWithVariableReferences function if they have a
token stream value.

We add a nsCSSExpandedDataBlock::MapRuleInfoInto function that will
take the re-parsed property value and copy it back into the nsRuleData.

nsRuleNode::ResolveVariableReferences returns whether any variables
were attempted to be resolved, so that nsRuleNode::WalkRuleTree wil
recompute the rule detail in case any became 'inherit'.
2013-12-12 13:09:44 +11:00
Cameron McCormack
ff1a22b1fb Bug 773296 - Part 16a: Followup to move to using nsCSSValueSharedList in OMTA code. r=roc 2013-12-12 13:09:44 +11:00
Cameron McCormack
6f8dcf77b4 Bug 773296 - Part 16: Add a ref-counted list nsCSSValue unit and use it for tranform lists; hold a strong reference to one on nsStyleDisplay. r=dbaron
This adds a new eCSSUnit_SharedList type for nsCSSValue, which is a
reference counted object that contains an nsCSSValueList.  We need this
so that nsStyleDisplay::mSpecifiedTransform can hold a strong reference
to a specified transform list value.  When 'transform' is specified
using a variable reference, the resulting nsCSSValue does not stick
around in the Declaration object, so we wouldn't be guaranteed that
it lives long enough for nsStyleDisplay to keep referencing it.
2013-12-12 13:09:44 +11:00
Cameron McCormack
c9f98a4a96 Bug 773296 - Part 15: Factor out mapping of a single property from an nsCSSCompressedDataBlock to an nsRuleData. r=dbaron
This factors out the part of nsCSSCompressedDataBlock::MapRuleInfoInto
that starts image loading and maybe-copies an nsCSSValue into
an nsRuleData.  We will need this functionality for mapping re-parsed
properties that had variable references into an nsRuleData, which
will be done from an nsCSSExpandedDataBlock.
2013-12-12 13:09:43 +11:00
Cameron McCormack
b6a267e600 Bug 773296 - Part 14: Add an nsCSSProps::IsInherited function. r=dbaron
Add a helper function to nsCSSProps to look up whether a given
nsCSSProperty lives in a style struct for inherited properties.
2013-12-12 13:09:43 +11:00
Cameron McCormack
a0619a17d7 Bug 773296 - Part 13: Parse properties that use variable references and store them as eCSSUnit_TokenStream values. r=dbaron
This adds functionality to nsCSSParser to recognise properties with
variable references and store their recorded token stream as an
eCSSUnit_TokenStream nsCSSValue.
2013-12-12 13:09:43 +11:00
Cameron McCormack
b3d54fbac2 Bug 773296 - Part 12: Record whether we are parsing an @supports condition. r=dbaron
This stores on the nsCSSParser whether we are somewhere in the middle
of parsing an @supports condition.  Because @supports condition parsing
uses the scanner recording function (to save its conditionText), and
variable reference containing values also need it, we can't do both at
once.  Luckily, if we're parsing an @supports condition, we don't really
need to store the token stream text; we only need to know if it was
valid, and we don't need its actual value later.  So we use this flag
later to see if we can skip turning on scanner recording while parsing
variable reference containing values.
2013-12-12 13:09:42 +11:00
Cameron McCormack
199e5af323 Bug 773296 - Part 11: Give nsCSSParser and nsCSSScanner the ability to save/restore their current input state. r=dbaron
This adds functions to nsCSSParser and nsCSSScanner that let us save the
current input position (and corresponding information like line/column
number) and parser pushback, and be able to restore it later.  We'll use
this when rewinding the scanner after we first encounter a property with
a variable reference and go back to reparse it as a token stream.
2013-12-12 13:09:42 +11:00
Cameron McCormack
18286576a6 Bug 773296 - Part 10: Add a new eCSSUnit_TokenStream type for storing unparsed CSS values. p=ebassi,heycam r=dbaron
Patch co-authored by Emmanuele Bassi <ebassi@gmail.com>

This adds a new nsCSSValue unit type to represent an unparsed
stream of CSS tokens as a specified value.  This is what properties
that have a variable reference get as their specified value.

On the nsCSSValueTokenStream object that is used when mUnit ==
eCSSUnit_TokenStream, we store two property IDs: first, the property
ID for the longhand that this token stream value is the value for.  We
pass this back in to nsCSSParser::ParseProperty at computed value time,
when we need to re-parse the property.  Second is the shorthand property
ID, if we used a variable reference in a shorthand.  In such a case, we
store the token stream value for each of the corresponding longhand
properties.  This is because shorthands don't actually get any storage
in an nsRuleData, and because any of the longhands might be overwritten
by subsequent declarations, we need to keep the token stream somewhere.

We also store other information on the nsCSSValueTokenStream required by
the CSS parser (base URI, etc.).
2013-12-12 13:09:42 +11:00
Cameron McCormack
abd5cd702d Bug 773296 - Part 9: Give nsCSSScanner the ability to remember when it encounters a "var(" token. r=dbaron
This is the first part of handling variable references in regular
properties.  We have the scanner set a flag whenever it returns a "var("
token, so that when we come to the end of parsing a property that
failed, we know that it is because of a variable reference.
2013-12-12 13:09:42 +11:00
Cameron McCormack
589b3b4774 Bug 773296 - Part 8: Resolve and compute CSS variables. r=dbaron
We add a new class CSSVariableResolver whose job is to take the
inherited computed variables and the specified variable declarations and
to perform cycle removal and resolution of the variables, storing the
result in the CSSVariableValues object on an nsStyleVariables.  We use
CSSVariableResolver in nsRuleNode::ComputeVariablesData.

The variable resolver does this:

  1. Asks the CSSVariableValues and CSSVariableDeclarations objects
     to add their variables to it.
  2. Calls in to a new nsCSSParser function
     EnumerateVariableReferences that informs the resolver which
     other variables a given variable references, and by doing so,
     builds a graph of variable dependencies.
  3. Removes variables involved in cyclic references using Tarjan's
     strongly connected component algorithm, setting those variables
     to have an invalid value.
  4. Calls in to a new nsCSSParser function ResolveVariableValue
     to resolve the remaining valid variables by substituting variable
     references.

We extend nsCSSParser::ParseValueWithVariables to take a callback
function to be invoked when encountering a variable reference.  This
lets EnumerateVariableReferences re-use ParseValueWithVariables.

CSSParserImpl::ResolveValueWithVariableReferences needs different
error handling behaviour from ParseValueWithVariables, so we don't
re-use it.

CSSParserImpl::AppendImpliedEOFCharacters is used to take the
value returned from nsCSSScanner::GetImpliedEOFCharacters while
resolving variable references that were declared using custom
properties that encountered EOF before being closed properly.

The SeparatorRequiredBetweenTokens helper function in nsCSSParser.cpp
implements the serialization rules in CSS Syntax Module Level 3:

https://dvcs.w3.org/hg/csswg/raw-file/3479cdefc59a/css-syntax/Overview.html#serialization
2013-12-12 13:09:41 +11:00
Cameron McCormack
0d9fb33ac3 Bug 773296 - Part 7: Add a field to nsStyleVariables to store computed variable values. r=dbaron
This defines a class CSSVariableValues which is used to store
computed variable values.  We store them a bit differently from
CSSVariableDeclarations -- here we have a hash table of variable names
to integer IDs, and then an array of variables where the array index
is the ID.  This is because later on we'll want a stable order for the
variables to return from DOM APIs.

In addition to the string value of the variable, we store the type
of the first and last token of the variable value.  This information
will be used when resolving entire variable reference containing
values, to determine when to insert "/**/" before and after a resolved
var(blah) token.

We add a CSSVariableValues member to nsStyleVariables.
2013-12-12 13:09:41 +11:00
Cameron McCormack
923fe40ec1 Bug 773296 - Part 6: Add enum to represent types of CSS tokens involved in serialization. r=dbaron
This adds an enum to nsCSSScanner.h that represents the types of tokens
we need to consider when pasting together two adjacent tokens during
serialization or variable resolution.  For example with:

  var-a:orange;
  var-b:red;
  color:var(a)var(b);

we need to generate the string "orange/**/red" to parse for the value of
'color'.
2013-12-12 13:09:41 +11:00
Cameron McCormack
1d90c6a110 Bug 773296 - Part 5: Map variables on a Declaration to nsRuleData. r=dbaron
This adds a CSSVariableDeclarations object to nsRuleData and adds a
MapRuleInfoInto function to CSSVariableDeclarations so the can copy
variable declarations into a nsRuleData's object.  We call that from
Declaration::Map{Normal,Important}RuleInfoInto.

We make HasImportantData return true if we have important variables
but no important non-custom properties on a declaration, since that
is used to determine whether we have a rule node for important
declarations.  This means MapImportantRuleInfoInto can no longer
assume that mImportantData is non-null.
2013-12-12 13:09:41 +11:00
Cameron McCormack
8a80d29205 Bug 773296 - Part 4: Add style struct to store CSS variables. r=dbaron
This adds an nsStyleVariables on which computed variable values
will be stored.  We don't actually have any properties assigned to
nsStyleVariables; eCSSPropertyExtra_Variables which we added earlier
isn't a real property.  To avoid compiler errors for gVariableFlags
being a zero length array, we stick a dummy entry in there.

nsRuleNode::ComputeVariablesData does nothing for the moment.

nsStyleVariable nsChangeHint calculations always return 0, as later
we will compare the actual properties that reference variables to
see what changes are required for them.
2013-12-12 13:09:40 +11:00
Cameron McCormack
52ae26eb58 Bug 773296 - Part 3: Allow more than 27 style structs. r=dbaron
This bumps up nsStyleContext::mBits to a uint64_t so that it can fit
another style struct.  If we're going to need to keep at least 27 style
structs, it might be better to split mBits up into two uint32_ts: one
for the flags and one for the style struct bits.
2013-12-12 13:09:40 +11:00
Cameron McCormack
5edbefbd77 Bug 773296 - Part 2: Parse CSS variable declarations and store them on Declaration objects. p=ebassi,heycam r=dbaron
Patch co-authored by Emmanuele Bassi <ebassi@gmail.com>

This defines a CSSVariableDeclarations class that holds a set of
variable declarations.  This is at the specified value stage, so values
can either be 'initial', 'inherit' or a token stream (which is what you
normally have).  The variables are stored in a hash table.  Although
it's a bit of a hack, we store 'initial' and 'inherit' using special
string values that can't be valid token streams (we use "!" and ";").

Declaration objects now can have two CSSVariableDeclarations objects
on them, to store normal and !important variable declarations.  So that
we keep preserving the order of declarations on the object, we inflate
mOrder to store uint32_ts, where values from eCSSProperty_COUNT onwards
represent custom properties.  mVariableOrder stores the names of the
variables corresponding to those entries in mOrder.

We also add a new nsCSSProperty value, eCSSPropertyExtra_variable, which
is used to represent any custom property name.
nsCSSProps::LookupProperty can return this value.

The changes to nsCSSParser are straightforward.  Custom properties
are parsed and checked for syntactic validity (e.g. "var(a,)" being
invalid) and stored on the Declaration.  We use nsCSSScanner's
recording ability to grab the unparsed CSS string corresponding to
the variable's value.
2013-12-12 13:09:40 +11:00
Emmanuele Bassi
2ecde08892 Bug 773296 - Part 1: Add a preference for CSS variables. r=dbaron 2013-12-12 13:09:40 +11:00
Cameron McCormack
695b54e296 Bug 909170 - Add some tests for @supports conditions with tokens after a declaration's priority. r=dbaron 2013-12-12 13:09:39 +11:00
Alexander Surkov
41e7c3ad7c Bug 559761 - make <input type=number> accessible, r=tbsaunde, smaug
--HG--
rename : accessible/tests/mochitest/value/test_range.html => accessible/tests/mochitest/value/test_number.html
2013-12-10 22:19:26 -05:00
Jonathan Watt
f8f9233117 Bug 946184 - Make sure that we reframe the nsIAnonymousContentCreator if any nsIAnonymousContentCreator::ContentInfo created content needs reframing. r=bz 2013-12-11 11:41:51 +00:00
Jonathan Watt
2dc144a988 Bug 948475 - Implement HTMLInputElement.select() for <input type=number> (contrary to the HTML5 spec) since content needs it. r=smaug 2013-12-11 11:41:51 +00:00
Daniel Holbert
33ac0ac009 Bug 948654: Uncomment lines to make 'align-content' and 'flex-wrap' inherit through scroll frames to scrolled flex containers. r=mats
--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-3-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-4-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-3.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-4.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-3-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-5-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-3.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-5.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-3-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-4-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-3.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-4.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-3-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-5-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-3.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-5.html
2013-12-10 22:31:38 -08:00
Cameron McCormack
d1d5dcf5d8 Bug 947082 - List parent style context in frame tree dumps. r=mats 2013-12-11 17:13:20 +11:00
Jonathan Watt
25a2974cc7 Bug 948549 - Make <input type=number> behave and look disabled when the 'disabled' attribute is set or it's inside a disabled fieldset. r=smaug 2013-12-11 02:13:06 +00:00
Wes Kocher
b7e717b615 Merge m-c to b2g-inbound 2013-12-10 17:14:14 -08:00
Ryan VanderMeulen
6fb3114a62 Merge m-c to inbound. 2013-12-10 15:48:16 -05:00
Ryan VanderMeulen
e58ec03427 Merge b2g-inbound to m-c. 2013-12-10 15:38:44 -05:00
Ryan VanderMeulen
4560ff8be7 Bug 933264 - Add fuzz to the reftest on OSX 10.6. r=tn
CLOSED TREE
2013-12-10 15:21:46 -05:00
Daniel Holbert
59884b6080 (no bug) fix typo in comment within reftest reference case 'flexbox-overflow-vert-3-ref.html'. DONTBUILD because comment-only 2013-12-10 16:59:28 -08:00
Nicholas Cameron
d58229b635 Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Ehsan Akhgari
d4490ee3c7 Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg 2013-12-10 18:10:01 -05:00
Bobby Holley
517f4b36f3 Bug 937317 - Remove unnecessary AutoSystemCaller usage. r=bz
See bug 937317 comment 38.
2013-12-11 17:51:58 -08:00
Bobby Holley
a7395d2ec6 Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-11 17:51:58 -08:00
Benoit Girard
67bca7c4a8 Bug 948531 - Layerize elements with transition or animation immediately. r=mattwoodrow 2013-12-11 15:48:06 -05:00
Ryan VanderMeulen
66b0cd57b1 Backed out changeset d8fb025ca7d2 (bug 948531) for suspicion of causing OSX 10.6 debug mochitest-5 orange.
CLOSED TREE
2013-12-11 18:47:03 -05:00
Benoit Girard
3ab22db671 Bug 948531 - Layerize elements with transition or animation immediately. r=mattwoodrow
--HG--
extra : rebase_source : 06725514680d5041c547149f6ecd758061936a4e
2013-12-11 15:48:06 -05:00
Matt Woodrow
533d84ea6d Bug 948221 - Part 7: Convert SurfaceFromElement to Moz2D. r=roc,Bas,bjacob 2013-12-12 10:05:27 +13:00
Matt Woodrow
3c1166d0d1 Bug 948221 - Part 2: Remove SFE_WANT_NEW_SURFACE since it's never used. r=roc 2013-11-27 14:05:02 +13:00
Kartikaya Gupta
7582e1a784 Bug 814435 - Prevent scrollbars from fading out while user is scrolling. r=botond 2013-12-09 22:14:55 -05:00
Kartikaya Gupta
9f80972019 Bug 814435 - Always layerize overlay scrollbars on B2G. r=tn 2013-12-09 22:14:54 -05:00
Kartikaya Gupta
1af8763544 Bug 814435 - Annotate layers for scrollbars as such. r=tn, BenWa 2013-12-09 22:14:53 -05:00
Dan Minor
e108a063d1 Bug 945273 - Update reftest manifests for pandaboards; r=gbrown 2013-12-06 14:56:37 -05:00
Gijs Kruitbosch
5ca31f1d25 Bug 943217 - fix moz-document error message, r=dbaron 2013-11-26 10:36:52 +01:00
Nicholas Cameron
a96fda05ae Bug 945088. Use the correct device offset in gfxContext. r=mattwoodrow 2013-12-09 21:04:44 +13:00
Birunthan Mohanathas
759ab69b0a Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
2a97f4dc0d Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Phil Ringnalda
617e2b2636 Backed out 7 changesets (bug 946958, bug 865033)
Backed out changeset 6dd0a6cb9ab3 (bug 946958)
Backed out changeset 498152aec5b1 (bug 946958)
Backed out changeset 7d035322f51d (bug 946958)
Backed out changeset 99f8ad7561ef (bug 946958)
Backed out changeset 4639c5abea80 (bug 946958)
Backed out changeset 9d1a4d83eccf (bug 865033)
Backed out changeset 41839e4026bc (bug 865033)
2013-12-08 18:43:45 -08:00
Nicholas Cameron
d8b85a8d7f Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Phil Ringnalda
cce5e27704 Merge m-c to m-i 2013-12-08 17:32:55 -08:00
Jonathan Watt
9b47b8e150 Bug 947728 part 2 - Make |-moz-appearance:number-input| the UA style sheet default for <input type=number>, and make the value 'textfield' hide the spinner. r=roc 2013-12-08 23:26:07 +00:00
Jonathan Watt
83950e2b2e Bug 947728 part 1 - Introduce a new 'number-input' value for -moz-appearance that behaves exactly as 'textfield' does. r=roc 2013-12-08 23:23:28 +00:00
Jonathan Watt
b9c0b3f28e Bug 947718 - Work around bug 946184 for Aurora. r=bz 2013-12-08 21:27:28 +00:00
Jonathan Watt
7af003defb Bug 940760 - Make the CSS pseudo-class :focus apply to <input type=number>, fixing B2G forms styling. r=smaug 2013-12-08 21:26:42 +00:00
Mats Palmgren
d42a6f768c Bug 942017 - Reftest. 2013-12-08 01:11:50 +00:00
Mats Palmgren
0f1db44812 Bug 942017 - Only let the bullet frame affect the line height when line-height:normal. r=jfkthame 2013-12-08 01:11:50 +00:00
Cameron McCormack
e300109eb9 Fix some comments; no bug. (DONTBUILD) 2013-12-09 10:14:00 +11:00
Matt Woodrow
af8e5172d6 Bug 926268 - Don't include the full frame bounds in nsDisplayBorder if we're only painting one side. r=roc 2013-12-09 12:01:30 +13:00
Daniel Holbert
1d635642ef Bug 896050 late-breaking non-functional followup: drop unnecessary semicolon after closing curly-brace of "while" loop. 2013-12-08 11:31:23 -08:00
Masayuki Nakano
d8ea1bc1d3 Bug 930374 part.4 Fix new orange of test_bug448987.html on Mac since it doesn't set tab navigation setting r=smaug 2013-12-09 00:51:17 +09:00
Jan Gerber
baa27de9ee Bug 947160 remove MOZ_VP8_ENCODER. r=kinetik
- Encoder is always built, remove MOZ_VP8_ENCODER.
  - Rename MOZ_VP8* to MOZ_VPX*
  - Enable multi-res encoding via libvpx configure.
2013-12-06 05:16:00 -08:00
Timothy Nikkel
f160b8855d Bug 933264. Reftest. 2013-12-10 12:05:18 -06:00
Timothy Nikkel
76f3bda08c Bug 933264. If we have to flatten scroll layer items make sure to clip their child items properly. r=roc
The scroll layer item has the clip induced by the scroll frame, but the scrolled items are only clipped to the (larger) display port so we can async scroll the display port area. But if we can't merge all the scroll layer items then we can't render the expanded display port content so we have to clip the scrolled items to the scroll frame by propagating the clip on the scroll layer item to its children.
2013-12-10 12:05:18 -06:00
Andrew McCreight
181bd0add7 Bug 943373, part 2 - Use MOZ_THIS_IN_INITIALIZER_LIST in SVG-ish stuff. r=birtles 2013-12-10 08:07:21 -08:00
Martin Stransky
2b7ca13346 Bug 941595 - Build with system-cairo is broken. r=glandium 2013-12-10 10:37:03 -05:00
Phil Ringnalda
f251c5eb20 Merge m-c to m-i 2013-12-07 11:21:52 -08:00
Phil Ringnalda
e2e1627d17 Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test 2013-12-07 11:08:56 -08:00
Timothy Nikkel
b9f79ea143 Bug 947467. Active transform layers should obey ancestor clipping if we don't need to prerender non-visible parts of them. r=roc 2013-12-07 12:33:09 -06:00
Robert O'Callahan
6f9e8fc89d Bug 938772. Don't give the anonymous poster <img> an empty 'src' attribute if we don't have a 'poster' attribute. r=cpearce 2013-12-04 14:06:16 +13:00
Xidorn Quan
a85b5ede33 Bug 946895 - Add missing values of list-style-type for property_database.js 2013-12-11 12:55:43 -08:00
Adam Casey
2c3bb0dff5 Bug 874919 - Added a check to DoGetWidth/Height so the width/height properties of getComputedStyle now return correct values on inline SVG elements. r=bz 2013-12-11 14:13:48 -05:00
Bill McCloskey
c4c1d8233a Bug 948238 - Read browser.tabs.remote once at startup and never again (r=bsmedberg) 2013-12-12 14:13:20 -08:00
Ben Turner
5e46d041d5 Bug 939182 - Add 'eventWasProcessed' argument to nsIThreadObserver::afterProcessNextEvent(), r=bsmedberg.
--HG--
extra : transplant_source : %5E%80p%D6%C6A%23%0AZ%06%23%16%155%DB%CE%F5%5CEx
2013-10-23 05:01:20 -07:00
Scott Johnson
9a2073d82c Bug 878935, Part 2: Pause painting while reflow-on-zoom is in progress to provide a better user experience. r=kats,dbaron
--HG--
extra : rebase_source : 7eb13d00208cef8e696ec6e9a1cdc2739a994d9a
2013-10-01 14:52:13 -05:00
Scott Johnson
88e9ce7a3e Bug 878935, Part 1: Add a "freeze" counter to nsRefreshDriver to keep track of how many times it was frozen. r=dbaron
--HG--
extra : rebase_source : 135e5d52fc7fe38bdf57ca2d103ff372d9011873
2013-12-19 16:38:35 -05:00
Scott Johnson
af7bb001ab Bug 878935, Part 2: Pause painting while reflow-on-zoom is in progress to provide a better user experience. [r=kats,dbaron] 2013-10-01 14:52:13 -05:00
Scott Johnson
6300413eee Bug 878935, Part 2: Pause painting while reflow-on-zoom is in progress to provide a better user experience. [r=kats,dbaron] 2013-10-01 14:52:13 -05:00
Cameron McCormack
2a67aeb60a Bug 914072 - Have nsCSSScanner store any implied characters at EOF needed for correct serialization. r=dbaron 2013-12-07 12:25:07 +11:00
Daniel Holbert
8933c3f602 (no bug) Drop bogus 'flex-wrap' / 'flex-direction' declarations from non-flex-container style rules, in reftest reference cases. (test-only) 2013-12-06 15:06:13 -08:00
Ehsan Akhgari
7ea6fce31c Bug 924972 - Try to increase the timeout in test_reftests_with_caret.html for emulator b2g runs 2013-12-06 17:26:56 -05:00
Daniel Holbert
90002db2bc Bug 946269: Rename nsFlexContainerFrame::ComputeFlexContainerCrossSize to ComputeCrossSize. implicit-rs=mats 2013-12-06 13:38:49 -08:00
Trevor Saunders
907dfc4528 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Daniel Holbert
212da3b54c Bug 946835 part 3: Add reftest for baseline alignment in multiple lines in a 'flex-wrap:wrap-reverse" flex container. r=mats
--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-2-ref.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-3-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-2.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-3.xhtml
2013-12-12 13:25:55 -08:00
Daniel Holbert
4a6f32a50c Bug 946835 part 2: Add reftest for baseline alignment in multiple lines in a 'flex-wrap:wrap" flex container. r=mats
--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-1-ref.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-2-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-1.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-2.xhtml
2013-12-12 13:25:53 -08:00
Daniel Holbert
9fdd8d2769 Bug 946835 part 1: Add reftest to test all the possible values of the "flex-flow" shorthand. r=mats 2013-12-12 13:25:52 -08:00
Trevor Saunders
81260b0a39 bug 947022 - type nsIPresShell::mForwardingContainer and nsPresContext::mContainer r=bz 2013-11-20 14:18:25 -05:00
Robert O'Callahan
c19c09f778 Bug 945634. The fixed-pos anchor point should be in the layer's coordinate system, whose 0,0 is the top-left of the fixed-pos frame. r=mattwoodrow 2013-12-13 01:33:02 +13:00
Masatoshi Kimura
552c10d5cd Bug 948914 - Remove redundant default style for <pre> element from quirk.css. r=dbaron 2013-12-12 20:39:19 +09:00
Trevor Saunders
504c05cb4a bug 931399 - shutdown DocAccessibles in nsDocumentViewer::Destroy r=bz 2013-12-06 16:03:40 -05:00
Bobby Holley
4cd4da5181 Bug 937317 - Remove unnecessary AutoSystemCaller usage. r=bz
See bug 937317 comment 38.
2013-12-06 12:01:43 -08:00
Bobby Holley
4d56f0a83d Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-06 12:01:42 -08:00
Jan Gerber
bca185af77 Bug 833023 - Enable VP9 playback in HTML media elements. r=kinetik 2013-12-03 16:21:00 -08:00
Carsten "Tomcat" Book
098790cabc Backed out changeset bbd9375c5f50 (bug 938772) mochitest 5 timeout failures 2013-12-06 15:58:22 +01:00
Robert O'Callahan
b60d603e72 Bug 938772. Don't give the anonymous poster <img> an empty 'src' attribute if we don't have a 'poster' attribute. r=cpearce
--HG--
extra : rebase_source : 22b84f86e54cac3304345586ecfab0037633cc36
2013-12-04 14:06:16 +13:00
Jonathan Watt
811e91f1d5 Bug 935508 follow-up - Put back the |height:100%| on ::-moz-number-wrapper in forms.css.
--HG--
extra : rebase_source : 191dad15f5c4e00146b29dace462eeb5fcbba878
2013-12-06 12:15:57 +00:00
Jonathan Watt
f6de1562e9 Bug 935008 - Partial backout of effddcf29fa7 (bug 922942) for SVG perf regressions. 2013-12-06 09:59:36 +00:00
Daniel Holbert
c06aea536e Bug 939901 followup 2: Fix incorrect <link rel="match"> tags in flexbox-break-request-* testcases. testcase-only, DONTBUILD because doesn't affect testcase's rendering 2013-12-06 01:42:38 -08:00
Daniel Holbert
d58173d407 Bug 939901 followup 1: Drop testcase-only <link> headers from reference cases. testcase-only, DONTBUILD because doesn't affect testcase's rendering 2013-12-06 01:42:33 -08:00
Cameron McCormack
7be68c05f3 Bug 925626 - Parse general_enclosed in @supports conditions properly. r=dbaron 2013-12-06 19:13:26 +11:00
Carsten "Tomcat" Book
f0d2b953c5 Backed out changeset 374e44c835a8 (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:41:42 +01:00
Carsten "Tomcat" Book
cd4f26eb48 Backed out changeset a0906b92810e (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:41:32 +01:00