Commit Graph

61155 Commits

Author SHA1 Message Date
Mats Palmgren
2265d4509e Bug 1405319 part 2 - Reftests.
MozReview-Commit-ID: 49ntwW5qoFr
2017-11-09 03:00:47 +01:00
Mats Palmgren
25b73f4951 Bug 1405319 part 1 - Don't try to optimize re-positioning of Flexbox/Grid abs.pos. children since they are affected by CSS Align positioning too. r=dholbert
MozReview-Commit-ID: 2KNfvNVCeIN
2017-11-09 03:00:47 +01:00
David Anderson
d3b572527a Don't fallback to DrawTargetCairo in TextureClient. (bug 1413862, r=mattwoodrow) 2017-11-08 16:57:25 -08:00
Sebastian Hengst
a353221537 merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 00:00:16 +02:00
Boris Zbarsky
272cbb590b Bug 1415176. Move getElementsByName from HTMLDocument to Document. r=mccr8
MozReview-Commit-ID: CRfrXC2x97S
2017-11-08 11:13:33 -05:00
Markus Stange
62e25a4903 Bug 1414926 - Make -moz-font-smoothing-background-color changes only cause repaints, not reflows. r=emilio
This case is hit by hovering over menu items, so the optimization is somewhat worthwhile.
As a side-effect, not causing reflows also avoids a XUL <select> popup positioning bug.

MozReview-Commit-ID: AOrijytoHHL

--HG--
extra : rebase_source : c2156eb24171f6d0b0e5476c4a7dbc641a0b5301
2017-11-07 23:01:29 -05:00
Jesse Ruderman
8522e2c85b Bug 963878 - Add crashtest. r=me 2017-11-08 08:47:09 -05:00
Jesse Ruderman
374f3e6be5 Bug 862624 - Add crashtest. r=me 2017-11-08 08:47:08 -05:00
Jesse Ruderman
bcb0e30a2f Bug 849987 - Add crashtest. r=me 2017-11-08 08:47:08 -05:00
Jesse Ruderman
6d57cd2fe2 Bug 750147 - Add crashtest. r=me 2017-11-08 08:47:07 -05:00
Brad Werth
2a43297875 Bug 1412173 Part 1: Implement the Document ignore-opens-during-unload counter required by spec. r=bz
MozReview-Commit-ID: IWfT5c0H3t

--HG--
extra : rebase_source : 9a61f095a8c31ee3ac0f89b413d0cc62eec24292
2017-11-02 11:47:21 -07:00
Emilio Cobos Álvarez
ae4ab8a9df Bug 1415538: Remove dead frame construction code (InsertFirstLineFrames). r=mats
InsertFirstLineFrames has been dead for a long time, and I don't think it's
worth to keep it around. It's in the VCS history anyway.

MozReview-Commit-ID: FetYB6nf38D

--HG--
extra : rebase_source : bc56cdec7a4e45c7ea1d8cf6354a5a6dc349ac29
2017-11-08 11:57:39 +01:00
Milan Sreckovic
1c4ab9e9c2 Bug 1389152: Change LogicalRect from having nsRect as a member variable, and exposing its member variable addresses, to storing four nscoord values separately and doing some operations by creating temporary rectangles to ensure consistency. Add a method to BaseRect to get OriginAndSize at once. r=bas,jfkthame.schouten
MozReview-Commit-ID: FhmSXK7p5c6

--HG--
extra : rebase_source : eb542fac9017852fa812b54aa3b12f0522a1e4be
2017-11-07 09:38:31 -05:00
Emilio Cobos Álvarez
e92c9696de Bug 1415353: Crashtest. r=me
MozReview-Commit-ID: GjeTrTPfSnP
2017-11-08 15:28:38 +01:00
Narcis Beleuzu
e8f9b9e9a8 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-11-08 12:55:21 +02:00
Narcis Beleuzu
218e1676cb Merge inbound to mozilla-central r=merge a=merge 2017-11-08 12:51:09 +02:00
Emilio Cobos Álvarez
eac54e955c Bug 1415149: Simplify nsCSSFrameConstructor::GetRangeInsertionPoint. r=bz
MozReview-Commit-ID: HsICs5TvhGU

--HG--
extra : rebase_source : 2207c64cdffe7475a04419364110fb4133d306c8
2017-11-06 19:08:08 +01:00
Jonathan Watt
256036cf05 Bug 1414070 - Expose whether the URL is a test or reference when telling reftest-content.js to load a URL. r=dholbert
As part of this change, the confusingly named global variable 'state' is
renamed to 'currentURLTargetType', and named "enum" values are assigned
to it rather than raw integers.

MozReview-Commit-ID: FTEOB9wF8Q1
2017-10-23 14:55:27 +01:00
Jonathan Watt
db2545b068 Bug 1414644 - Stop importing XPCOMUtils.jsm into reftest-content.js. r=dholbert
MozReview-Commit-ID: FSLy3R8ZVf2
2017-10-20 12:46:19 +01:00
Jonathan Watt
64c37f30fa Bug 1415217 - Try to replace reftest error 'load failed with unknown reason' with informative messages. r=dholbert
If the reftest harness times out the load of a URL before the 'load' event
has even fired then the error message that we get is 'load failed with unknown
reason'.  This isn't very helpful for people unfamiliar with the harness.  This
change sets an initial error message that notes that we're waiting on the
'load' event, what the timeout delay is, and what URL we are/were waiting on
loading.  This will allow the timeout delay to be compared to log timestamps
and will make it clear whether the timeout occurred for some other URL than
the one we were expecting to load (which would be an error in the harness
logic).

It should now be impossible for the 'load failed with unknown reason' to occur,
but if there is a logic error in the harness code (some race condition?) then
it may still happen.

MozReview-Commit-ID: JOb1kYBpLro
2017-10-19 16:59:32 +01:00
Matt Woodrow
cd1604ef74 Bug 1414397 - Make sure we properly invalidate the entire frame subtree when detecting a caret frame change. r=miko
--HG--
extra : rebase_source : add63296c95ea090ca79ab120bede8038ce4f59e
2017-11-08 15:33:34 +13:00
Matt Woodrow
fca4960b0f Bug 1412110 - Make sure we build a wrap list for the caret frame, since it will have multiple display items. r=miko
--HG--
extra : rebase_source : b59ff089835023c96daa1e1bf1c7f5bde6c75f15
2017-11-08 15:32:27 +13:00
Matt Woodrow
0cd1c74fe2 Bug 1413833 - Don't use WeakFrame for the modified frame list since get slow with large numbers of frames. r=miko
--HG--
extra : rebase_source : c2c2f2c6435ad1b2f246d1339ee548dc60cec4b4
2017-11-08 15:25:44 +13:00
Matt Woodrow
09ea8a23b0 Bug 1413833 - Cap the number of modified frames that we track to avoid the overhead getting too large. r=miko
--HG--
extra : rebase_source : cc26dd15613b9bbe6ca199d21817cbed16143dfe
2017-11-08 15:23:34 +13:00
Kartikaya Gupta
39ed6475dd Bug 1414271 - Update reftests from changes in WR PR 1961. r=jrmuizel
MozReview-Commit-ID: 8pjCxVSHKhM

--HG--
extra : rebase_source : f45a1780d55c1314f2f7ced04fe8eb088ee893ac
2017-11-07 08:34:33 -05:00
Narcis Beleuzu
82324f1ffe Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-08 12:57:37 +02:00
Sebastian Hengst
f5e52adeea merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-07 12:43:06 +02:00
Sebastian Hengst
af670f4147 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-11-07 02:47:30 +02:00
Mats Palmgren
652757273a Bug 1400618 part 6 - Remove the workaround for the broken IsPrimaryFrame() in nsFrame::DestroyFrom since it now works also for NAC frames. r=bz
MozReview-Commit-ID: 1DFyWZBpzwP
2017-11-07 01:20:34 +01:00
Mats Palmgren
c908bacce6 Bug 1400618 part 5 - Destroy the frames before removing the AccessibleCaret anonymous content (to ensure it happens before the UnbindFromTree). r=bz
MozReview-Commit-ID: Kvudz7bJFEZ
2017-11-07 01:20:34 +01:00
Mats Palmgren
a496c4a782 Bug 1400618 part 2 - Remove the nsIFrame::GenConProperty property and make aPostDestroyData deal with unbinding it. r=bz
MozReview-Commit-ID: HJ5OTJ4v4Y1
2017-11-07 01:20:34 +01:00
Mats Palmgren
25cd0c37f7 Bug 1400618 part 1 - Collect NAC / generated content and call DestroyAnonymousContent / UnbindFromTree on those after the frames are destroyed. r=bz
MozReview-Commit-ID: 2trDgeJPw25
2017-11-07 01:20:33 +01:00
Coroiu Cristina
282fd1a852 Merge inbound to mozilla-central r=merge a=merge 2017-11-07 01:04:34 +02:00
Csoregi Natalia
ed2e8dcafe Merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-11-06 12:51:18 +02:00
KuoE0
95dc83229e Bug 1399310 - (Part 2) Add a bunch of test cases for text selection. r=jfkthame
MozReview-Commit-ID: 5e43Sc6vPB7

--HG--
extra : rebase_source : 8058ea983710c3aab486e7dad18850609644e109
2017-11-02 13:06:52 +08:00
Phil Ringnalda
81c6fb1b5b Backed out 2 changesets (bug 1412173) for unexpected passes in wpt's /html/browsers/browsing-the-web/unloading-documents/003.html
Backed out changeset 68de62dd7a9b (bug 1412173)
Backed out changeset 97de1e0cd693 (bug 1412173)

MozReview-Commit-ID: HiASSDNl4DD
2017-11-06 19:32:05 -08:00
Ethan Lin
0d2b959f9f Bug 1410583 - Make sure we paint the whole item for blob image. r=jrmuizel
MozReview-Commit-ID: 84LiyRA2WFC

--HG--
extra : rebase_source : 769128dff81e4610decf2fbe53196a94e7857773
2017-11-06 16:51:16 +08:00
Brad Werth
28b0ab34dc Bug 1412173 Part 1: Implement the Document ignore-opens-during-unload counter required by spec. r=bz
MozReview-Commit-ID: IWfT5c0H3t

--HG--
extra : rebase_source : d0c03ea38bf4d33ca7ac8ee7696936bdb3ea7518
2017-11-02 11:47:21 -07:00
Coroiu Cristina
dc06fb21ec Merge mozilla-central to mozilla-autoland. r=merge a=merge on a CLOSED TREE 2017-11-07 01:13:57 +02:00
Manish Goregaokar
b5061541d9 Bug 1405881 - Add crashtest; r=hiro
MozReview-Commit-ID: BzM8KRn2MWv

--HG--
extra : rebase_source : 288825a0262a051ba379cdd74838c358f70901de
2017-11-06 11:30:49 -08:00
Manish Goregaokar
b8a28fb4e0 Bug 1405881 - Fix animation of -moz-transform matrices with percents ; r=hiro
MozReview-Commit-ID: 4XhKc0K0xmQ

--HG--
extra : rebase_source : 883fd587716a97d38827e576a8d1af808fa22f7e
2017-11-03 16:42:30 -07:00
Markus Stange
06a44912a5 Bug 1414154 - Remove gfxContext::Set/GetFontSmoothingBackgroundColor and TextRunDrawParams::fontSmoothingBGColor. r=lsalzman
MozReview-Commit-ID: BXZP3maOJRi

--HG--
extra : rebase_source : 5ba8b50835d98f78cdf854d914d61f5508edf6e3
2017-11-02 22:31:15 -04:00
Markus Stange
78303f13ce Bug 1414154 - Remove GlyphRenderingOptions. r=lsalzman
MozReview-Commit-ID: JtwnTj1hhPV

--HG--
extra : rebase_source : 2a3e896eec8b6839097baf6e2cccc10eb162827b
2017-11-02 21:42:56 -04:00
Markus Stange
f2f07fc63b Bug 1414147 - Move fontSmoothingBackgroundColor from nsStyleUserInterface to nsStyleFont / nsFont. r=dbaron
MozReview-Commit-ID: 7i0Sy50Badm

--HG--
extra : rebase_source : 28f36f191aa82a0ece87b412b59641f7dc061acf
2017-11-02 17:48:44 -04:00
Sebastian Hengst
1ce13be34a merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DEsdO0kjfDL
2017-11-04 22:55:41 +01:00
Emilio Cobos Álvarez
51708fb131 Bug 1413143: Make font inflation computation less lazy. r=bz,JanH
This makes it a bit more straight-forward to change the system font scale,
preserving the sync MediaFeatureChanged event.

This also avoids notifying media queries when the shell is not initialized.

In particular, the patch in bug 1404545 allows calling MediaFeatureValuesChanged
on a still-initializing pres-shell. This is nasty, and all this initialization
order is kind of a mess, but I'm not reworking it for now...

Also, this drops the invalidation of font-inflation when a doctype is added to
the document. GetViewportInfo() already relies on the doctype not changing, as
noted in a comment.

MozReview-Commit-ID: Knw7dM1B04Y
2017-11-04 12:08:38 +01:00
Sebastian Hengst
d61954557d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Ai6Y5GGfkfT
2017-11-04 10:58:24 +01:00
Geoff Brown
5b5cebded9 Bug 1414063 - Follow-up for lint errors 2017-11-03 12:16:09 -06:00
Geoff Brown
8538ff6458 Bug 1414063 - Increase mochitest/reftest default output timeout to 370 seconds; r=jmaher 2017-11-03 12:08:29 -06:00
Emilio Cobos Álvarez
9951add396 Bug 1413754: Add tests for parsing of non-content-exposed media queries. r=xidorn
MozReview-Commit-ID: 4B8EPLboM4G

--HG--
extra : rebase_source : 1731ca6931c0aa67df918cf576cd4a0dc868c2e1
2017-11-03 16:46:05 +01:00