Commit Graph

54429 Commits

Author SHA1 Message Date
Boris Zbarsky
d39ec8ac20 Bug 1336768. Use the right element to get our tree box object from; fixes problem introduced in <https://hg.mozilla.org/integration/mozilla-inbound/rev/d4cafa51586a>. r=smaug 2017-02-06 17:00:41 -05:00
Joel Maher
34ea64d612 Bug 1321707 - Intermittent w3c-css/submitted/ui3/box-sizing-replaced-001.xht skip on android/linux. r=gbrown
MozReview-Commit-ID: 1ERcAhnCt92
2017-02-06 14:32:46 -05:00
Mason Chang
2618be0754 Bug 1322897. Part 2: Reftest fuzzing for skia dwrite grayscale fonts. r=lsalzman 2017-02-06 10:32:04 -05:00
Tom Tung
e185f7bc4c Bug 1220936 - Flush console report to innerWindowID by using nsIDocument and nsILoadGroup. r=bkelly. 2017-02-06 09:19:34 +08:00
Jonathan Watt
ffbfd1bf90 Bug 1333543 - Fix crash in nsRangeFrame::GetValueAtEventPoint on linux. r=mstange 2017-01-17 19:20:37 +00:00
Jonathan Watt
ed3cbebef6 Bug 1335610 - Revert bogus code added to SVGGeometryFrame::PaintSVG in bug 1325865. r=longsonr 2017-01-16 10:04:16 +00:00
Jonathan Watt
28ad9afcfa Bug 1058040, part 11 - Convert DrawImage/DrawImageInternal's SVGImageContext param from pointer to Maybe<>. r=dholbert 2017-01-11 01:48:29 +00:00
Jonathan Watt
e61c653d41 Bug 1058040, part 10 - Allow SVGImageContext to store an SVGContextPaint and have VectorImage propagate it. r=dholbert 2017-01-11 01:48:29 +00:00
Jonathan Watt
527549c4f0 Bug 1058040, part 9 - Add an SVGContextPaint subclass for inheriting context paint into SVG-as-an-image. r=dholbert 2017-01-10 10:28:11 +00:00
Jonathan Watt
43ca85cc9a Bug 1058040, part 8 - Make AutoSetRestoreSVGContextPaint::Init's SVGContextPaint argument const. r=dholbert
This patch is needed because in a later patch we need to pass
VectorImage::Draw's const SVGImageContext to
AutoSetRestoreSVGContextPaint::Init.
2017-01-09 19:12:03 +00:00
Jonathan Watt
de51524080 Bug 1058040, part 7 - Make SVGContextPaint a ref counted class. r=dholbert 2017-01-09 19:12:02 +00:00
Jonathan Watt
927266bad9 Bug 1058040, part 6 - When copying SVGImageContexts use the copy ctor. r=dholbert
Prior to this patch whenever we wanted to pass on a modified SVGImageContext
we would pass on a new object initialized with some of the data of the object
we were given and with the new data we wanted to change.  Unfortunately we
were sometimes failing to faithfully copy member data that we do not want
to modify (because of default arguments).  This patch fixes that by making us
fully copy the object we were given using its copy constructor and then
explicitly override the data we want to change.
2017-01-09 19:12:02 +00:00
Phil Ringnalda
3637182ef8 Merge m-c to m-i 2017-02-05 12:58:04 -08:00
Phil Ringnalda
da9b5c53b7 Merge m-i to m-c, a=merge 2017-02-05 12:56:39 -08:00
L. David Baron
e22752b858 Bug 1209697 followup - Add comment to explain change that might not be clear given existing comments here and in nsChangeHint.h. 2017-02-05 10:26:09 -05:00
Phil Ringnalda
cde93160c2 Merge m-i to m-c, a=merge 2017-02-04 17:05:50 -08:00
cku
386a057848 Bug 1334961 - Turn on clip-path-basic-shapes for paint-on-maskLayer-1c.html. r=mstange
MozReview-Commit-ID: Fohgwy98opM

--HG--
extra : rebase_source : f26eb0b69b6f40a57a54014686aee13b6cfa1b1b
2017-02-05 22:17:45 +08:00
Botond Ballo
a98321305e Bug 1328658 - Notify main thread of a failed attempt to start an APZ scrollbar drag. r=kats,tnikkel
MozReview-Commit-ID: ERm1sVNfoKL

--HG--
extra : rebase_source : 0b57987a2a15533fad577dd2d363ec386f6bfeae
2017-01-27 18:02:22 -05:00
Daniel Holbert
d8d1de0c33 Bug 1336223 followup: Use forward-decl rather than #include to provide mozilla::StyleSheet, in PreloadedStyleSheet.h. (no review)
MozReview-Commit-ID: B7CzULCByvr
2017-02-03 14:00:05 -08:00
Emilio Cobos Álvarez
51e9294d5f Bug 1335987: stylo: Don't use the change hint to decide whether to recreate style contexts. r=bholley
MozReview-Commit-ID: 11Yyq8UE3LP
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-02-03 22:03:34 +01:00
Kartikaya Gupta
6ab3d0e923 Bug 1298218 - Follow-up to skip APZ-requiring reftests if APZ is not present. r=mstange
MozReview-Commit-ID: JvL1gs3GU4m
2017-02-03 14:15:56 -05:00
Jessica Jong
ed17f6c827 Bug 1316330 - Cancel delayed keypress events if last keydown was canceled. r=smaug
--HG--
extra : histedit_source : 7d2215d9c049b01b883e194e0efd0e61845223a3%2C135d6e6cef429efc19bba2c03a0f73fc6441d3a1
2017-02-03 05:16:00 -05:00
Carsten "Tomcat" Book
e95ecef88f merge mozilla-inbound to mozilla-central a=merge 2017-02-03 13:25:24 +01:00
Hiroyuki Ikezoe
fd06930679 Bug 1332657 - Part 5: Adjust crashtest expectations for transform animations. r=heycam
Actually 1328535-1.html does not have transform animations, it has been passed
without these patches.

MozReview-Commit-ID: C0RcxbjiPVY
2017-02-03 14:41:29 +09:00
Hiroyuki Ikezoe
b34254191f Bug 1332657 - Part 4: Adjust reftest expectations for transform animations. r=heycam
MozReview-Commit-ID: A3O4SONRXSu
2017-02-03 14:41:29 +09:00
Hiroyuki Ikezoe
287d10e9c5 Bug 1332657 - Part 2: Implement clone_transform. r=heycam,manishearth
The implementation of clone_transform is an adaptation of set_transform.

MozReview-Commit-ID: ESE1ha0x666
2017-02-03 14:41:29 +09:00
Hiroyuki Ikezoe
c219cb14f4 Bug 1332657 - Part 1: Use more proper function to set nsCSSValue. r=heycam
MozReview-Commit-ID: 94o9qXXUyXN
2017-02-03 14:41:28 +09:00
Mats Palmgren
020af842d8 Bug 1320972 - Allow a max difference of 1 on Android for 722923-1.html. r=me 2017-02-03 14:58:00 -05:00
Wes Kocher
5157f17709 Merge m-c to inbound, a=merge
MozReview-Commit-ID: LWHPArc07kI
2017-02-02 16:45:08 -08:00
Wes Kocher
2dcccc4332 Merge inbound to central, a=merge
MozReview-Commit-ID: 9bhCPrArK3P
2017-02-02 16:39:24 -08:00
Bobby Holley
c35f772b59 Bug 1335863 - Inline common case parent access. r=emilio 2017-02-02 11:24:43 -08:00
Bobby Holley
bd672b2ad1 Bug 1335863 - Inline Gecko_IsHTMLElementInHTMLDocument. r=emilio 2017-02-02 11:24:37 -08:00
Boris Zbarsky
52e939e98d Bug 1334957 part 1. Mark NotifyPaintEvent and all its members as chromeonly. r=smaug 2017-02-01 18:12:38 -05:00
Boris Zbarsky
1a543ff1ad Bug 835981 part 5. Change nsIDOMXULElement::GetBoxObject consumers to nsXULElement. r=peterv 2017-02-02 10:32:58 -05:00
Boris Zbarsky
acd21dac48 Bug 835981 part 3. Switch nsIDOMXULElement::DoCommand consumers to nsXULElement instead. r=peterv 2017-02-02 10:32:57 -05:00
Boris Zbarsky
5e86c194f6 Bug 835981 part 1. Switch nsIDOMXULElement::GetBuilder consumers to nsXULElement instead. r=peterv 2017-02-02 10:32:57 -05:00
Ehsan Akhgari
b583e128e0 Bug 1335070 - Switch the PresShell::Paint profiler marker to use GetPrimaryContentDocument to annotate using the content document; r=tn 2017-02-02 18:22:53 -05:00
Wes Kocher
ad037c851d Merge m-c to autoland, a=merge
MozReview-Commit-ID: 8vGne2PAweU
2017-02-02 16:45:43 -08:00
Mantaroh Yoshinaga
cbf08f5f05 Bug 1322970 - Use primary frame for checking throttle instead of using style context. r=dholbert,hiro
This changeset will skip finding the first SMIL animation function to affect the sandwich from multiple functions if element hasn't primary frame when composing attributes.
This mean that target element's animation don't need to animate in the following cases.
- ancestor elements has display:none attribute.
- target element have display:none attribute.
- ancestor element's tag produces a non-rendering subtree, by definition (like <desc>).

MozReview-Commit-ID: 253qTpBLc8L

--HG--
extra : rebase_source : c6f0eff440fa5448fc28e5283be68b6e33335b9e
2017-02-02 15:23:22 +09:00
Daniel Holbert
38f8eb48f1 Bug 1336223 part 3: Add a missing #include to nsComputedDOMStyle.cpp. r=xidorn
MozReview-Commit-ID: ERFagYJrxeA

--HG--
extra : rebase_source : 93cdd1f05529471a1fcc7b34edb029bf7ac55b89
2017-02-02 15:18:38 -08:00
Daniel Holbert
f2faca025d Bug 1336223 part 2: Add some missing #includes & namespaces to nsMediaList.cpp. r=xidorn
MozReview-Commit-ID: AKOSOtH0NiD

--HG--
extra : rebase_source : 31eeaf1bfb7a0ce8906234ca44e424c72465b353
2017-02-02 15:18:37 -08:00
Daniel Holbert
9992dc8e16 Bug 1336223 part 1: Add some missing #includes to PreloadedStyleSheet.cpp and .h. r=xidorn
MozReview-Commit-ID: 1YKRjJiSUiI

--HG--
extra : rebase_source : 3991ff8ace9f466a07e1dba8aaf49b596458f97a
2017-02-02 15:18:36 -08:00
Carsten "Tomcat" Book
5131dfea4e Merge mozilla-central to mozilla-inbound 2017-02-02 14:28:07 +01:00
Carsten "Tomcat" Book
72823b1e95 merge mozilla-inbound to mozilla-central a=merge 2017-02-02 14:25:20 +01:00
Hiroyuki Ikezoe
52c1c6fc8f Bug 1335914 - Re-use TransformReferenceBox in SetAnimatable(). r=boris
The reason why 'const' is dropped is that TransformReferenceBox will
have cached metrics.

MozReview-Commit-ID: A2cWGG0cXOl

--HG--
extra : rebase_source : 7263b0f4db4493c6a4a2ff443e261bd24c91f0ce
2017-02-02 08:01:40 +09:00
Frédéric Wang
1fdf03a9a3 Bug 1335124 - Remove mathfontSymbol.properties. r=karl
--HG--
extra : rebase_source : 54348cf06a8b149868958c17528074b5287689af
2017-01-30 12:06:00 +01:00
Olli Pettay
619b9713a4 Bug 1110928, trigger ZoneGC after evicting from bfcache, r=mccr8
--HG--
extra : rebase_source : 73a0e07f904b23d8dea77d6a77c1d8be9c3de355
2017-01-23 19:25:13 +02:00
continuation@gmail.com
3c54dab20c Bug 1110928, part 4 - Try to pass a relevant zone to PokeGC. r=smaug
--HG--
extra : rebase_source : 839ac8ef6e0de1a69240f2986c07e1793e750b21
2017-01-23 19:22:26 +02:00
Andrew McCreight
a407d25b5e Bug 1110928, part 2 - Call PokeGC in nsDocumentViewer::PageHide before the call to OnPageHide. r=smaug
This ensures that the document isn't destroyed when we call PokeGC, which will be useful later.

--HG--
extra : rebase_source : 2b2581359f9ddd765596e6f334e0c53e6c6b226d
2017-01-23 19:21:13 +02:00
Andrew McCreight
c77b68df2f Bug 1110928, part 1 - Hoist the LOAD_END PokeGC out of nsJSContext::LoadEnd. r=smaug
nsDocumentViewer knows which document is involved which will help us later.

Also, fix a typo in the comment.

--HG--
extra : rebase_source : 2d78ae196882d056bdf03e014ff928d7769ba81a
2017-01-23 19:20:54 +02:00