Commit Graph

61608 Commits

Author SHA1 Message Date
Jeremy Chen
548ee3ec09 Bug 1423509 - cleanup for BuildTextRunsScanner::SetupLineBreakerContext. r=jfkthame
The textBreakPoints variable and its related logic are copied from
BuildTextRunForFrames, however, they are not used in
SetupLineBreakerContext at all. Remove the variable allocation and the
unnecessary while loop.

MozReview-Commit-ID: 1AsA6V7aGMh

--HG--
extra : rebase_source : 408b1e4a44e7a7f41be9cafdb72392ed5f518f37
2017-12-06 17:18:07 +08:00
Gurzau Raul
f5f1c3f294 Merge inbound to mozilla-central r=merge a=merge 2017-12-06 11:53:55 +02:00
Narcis Beleuzu
7a627826a6 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-12-06 01:47:41 +02:00
shindli
784125e422 Backed out 4 changesets (bug 1422839) for landing stylo changes on inbound r=backout a=backout
Backed out changeset ff9d1a10cb0b (bug 1422839)
Backed out changeset fc039432e4a6 (bug 1422839)
Backed out changeset 83101ef21e45 (bug 1422839)
Backed out changeset 436d10234366 (bug 1422839)

--HG--
extra : source : 3942ce38b1f62fbc3154e42281d31cbed1e81ce0
2017-12-05 17:00:33 +02:00
Cosmin Sabou
08218515b9 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-06 00:09:01 +02:00
Kartikaya Gupta
e323f51349 Bug 1422317 - Update reftest results from changes in WR PR 2150. r=jrmuizel
MozReview-Commit-ID: 7CidECWLM4R

--HG--
extra : rebase_source : 5ec0402ba57c667cf532a21e9ba8870fceddf3a9
2017-12-05 11:52:33 -05:00
Ya-Chieh Wu
c3cfcede43 Bug 1405929 - reftest for border collapsed table. r=dbaron
MozReview-Commit-ID: Aq2j70scWp
2017-12-04 20:54:00 +02:00
Ya-Chieh Wu
5dffeb8db8 Bug 1405929 - Make sure that we join two BEnd borders when they are on the same rowIndex. r=dbaron
MozReview-Commit-ID: J9q8sUX2MPB
2017-11-30 19:18:00 +02:00
Mats Palmgren
2979853676 Bug 1422839 part 4 - Reftest for 'overflow-clip-box' properties. r=test-only 2017-12-04 16:28:00 +02:00
Mats Palmgren
a6f45575c3 Bug 1422839 part 1 - Add internal overflow-clip-box-block/-inline properties and make overflow-clip-box a shorthand. r=dholbert 2017-12-04 16:25:00 +02:00
Noemi Erli
47b9c00fdc Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-05 15:52:10 +02:00
shindli
2e08acdf88 Merge inbound to mozilla-central r=merge a=merge 2017-12-05 11:58:51 +02:00
Bogdan Tara
28f65f2044 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-04 22:47:53 +02:00
Jeff Muizelaar
644c528356 Bug 1422466. Drop a copy from TextDrawTarget::FillGlyphs. r=Gankro
We try hard to ensure that the glyph buffers are of the same type.
2017-12-04 13:01:55 -05:00
Boris Chiou
570057e075 Bug 1408303 - Part 3: Move several Servo parsers into ServoCSSParser helper class. r=heycam
We have ServoCSSParser class, and I think it's better to move those
Servo FFI into this class to avoid including ServoBindings.h everywhere.

MozReview-Commit-ID: 6orXtddp9ZU

--HG--
extra : rebase_source : 6da4158c4fec606aaee49fddee3192f94d6c85a3
2017-12-01 17:35:47 +08:00
Boris Chiou
c27700de6c Bug 1408303 - Part 2: Use the Servo parser for FontFaceSet Web API. r=heycam
MozReview-Commit-ID: Os4PwogPL1

--HG--
extra : rebase_source : 058f0354bfe55b86dd05ba365e19d73c0bce4418
2017-12-05 13:51:05 +08:00
Boris Chiou
cdef5f3e01 Bug 1408303 - Part 1: Use the Servo parser for font descriptors Web API. r=heycam
MozReview-Commit-ID: J8kZUxavUGt

--HG--
extra : rebase_source : f52c567e6679d8c3ef001a891e842ffb015c0396
2017-12-05 13:48:23 +08:00
Noemi Erli
449829ebb2 Merge mozilla-central to mozilla-autoland. r=merge a=merge 2017-12-05 16:31:06 +02:00
Emilio Cobos Álvarez
360e05f6eb Bug 1422641: Inline Gecko_GetSMILOverrideDeclarationBlock. r=Manishearth,xidorn
MozReview-Commit-ID: E8cM7zRZHn1
2017-12-05 14:20:26 +01:00
Emilio Cobos Álvarez
0deac30454 Bug 1422636: Inline Gecko_Namespace. r=xidorn
MozReview-Commit-ID: FFdmaYCDxnv
2017-12-05 14:20:18 +01:00
Emilio Cobos Álvarez
08252773dc Bug 1422633: Inline the Rust bits of GetDocumentState too. r=xidorn
MozReview-Commit-ID: 9zvZF72ljS
2017-12-05 14:20:11 +01:00
Jessica Jong
bdf8958759 Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio
--HG--
rename : layout/reftests/webcomponents/basic-insertion-point-1-ref.html => layout/reftests/webcomponents/basic-slot-5-ref.html
rename : layout/reftests/webcomponents/basic-insertion-point-1.html => layout/reftests/webcomponents/basic-slot-5.html
rename : layout/reftests/webcomponents/basic-insertion-point-2-ref.html => layout/reftests/webcomponents/basic-slot-6-ref.html
rename : layout/reftests/webcomponents/basic-insertion-point-2.html => layout/reftests/webcomponents/basic-slot-6.html
2017-12-04 16:06:42 +08:00
Jessica Jong
306e4bafc3 Bug 1409975 - Part 2: Include slots in the flat tree. r=smaug,emilio
We should consider slot as a parent in ChildIterator: if slot's
`assignedNodes` is not empty, use `assignedNodes`, otherwise, use direct
children as fallback content.
Also, GetFlattenedTreeParentNodeInternal should be changed to use
`assignedSlot` instead of `DestInsertionPoints`.
2017-12-04 16:06:37 +08:00
Nicholas Nethercote
3da37cfebe Bug 1421541 - Overhaul the prefs phase code. r=glandium
This code is used to detect too-early accesses of prefs in content processes.

The patch makes the following changes.

- New terminology: "early" prefs are those sent via the command line; "late"
  prefs are those sent via IPC. Previously the former were "init" prefs and the
  latter didn't have a clear name.

- The phase tracking and checking is now almost completely encapsulated within
  Preferences.cpp. The only exposure to outside code is via the
  AreAllPrefsSetInContentProcess() method, which has a single use.

- The number of states tracked drops from 5 to 3. There's no need to track the
  beginning of the pref-setting operations, because we only need to know if
  they've finished. (This also avoids the weirdness where we could transition
  from END_INIT_PREFS back to BEGIN_INIT_PREFS because of the way -intPrefs,
  -boolPrefs and -stringPrefs were parsed separately.)

MozReview-Commit-ID: IVJWiDxdsDV

--HG--
extra : rebase_source : 8cee1dcbd40847bf052ca9e2b759dd550350e5a1
2017-11-30 09:14:32 +11:00
Mats Palmgren
770892c224 Bug 1416350 - Part 5: Correct the expected results for grids that have leading implicit tracks. r=bwerth
MozReview-Commit-ID: EOOeZri6dbZ

--HG--
extra : rebase_source : af698787d525021de0e8b9c54006abb76c5e3e7a
extra : histedit_source : 943c0525a4f19dc52963a914093f4f4a55e73369
2017-12-01 08:58:53 -08:00
Brad Werth
0b154c2e34 Bug 1416350 - Part 4: Add a reftest of repeat:auto-fit grids with leading implicit tracks. r=mats
MozReview-Commit-ID: 1faRQExChjS

--HG--
extra : rebase_source : 5c71399fe654e8cf93720ac8ac2dd85c89aeb2d8
extra : histedit_source : 4a61a5259917b1d23f89ed175ab5b81c888f1efe
2017-11-17 11:30:08 -08:00
Morris Tseng
370148757e Bug 1418177 - Add crashtest. r=mattwoodrow
MozReview-Commit-ID: EADOkkqo6Dj
2017-12-05 16:47:27 +08:00
Morris Tseng
04ac2e0d6f Bug 1418177 - Add nsDisplayTableBlendMode and nsDisplayTableBlendContainer. r=mattwoodrow
MozReview-Commit-ID: G4dwfweH8D3
2017-12-05 16:47:26 +08:00
Brad Werth
7fd0630c3b Bug 1416350 - Part 1: Correctly account for removed 'auto-fit' tracks also when there are leading implicit tracks. r=mats
MozReview-Commit-ID: 5aJucB3BM59

--HG--
extra : rebase_source : 249eaee7ee637933e14d8884f6190afba0169dfb
extra : histedit_source : 5840d8ae82ace6b05b508b1664cad1162a1851cc
2017-11-09 17:21:23 -08:00
Andrew Osmond
cc5c98e1d3 Bug 1420648 - Ensure WebRender computes the snapped image decode size the same as the fallback path. r=tnikkel 2017-12-01 07:18:53 -05:00
Alex Gaynor
8cb6e552a8 Bug 1414834 - re-land print IPC changes from bug 1319423; r=bobowen
With this patch print IPC no longer requires the child process to create files.
Instead files are opened by the parent and a file descriptor is sent to the
child. This will allow us to sandbox child processes more aggressively.

MozReview-Commit-ID: GQWTYLV01kj

--HG--
extra : rebase_source : 9b91e9b01708d73915a49684c2cec96457650e45
2017-11-03 14:37:15 -04:00
Andreea Pavel
2157e91c44 Backed out 4 changesets (bug 1420117) for mochitest failures layout/style/test/test_counter_descriptor_storage.html r=backout on a CLOSED TREE
Backed out changeset 2560a150250d (bug 1420117)
Backed out changeset 5cceea9740eb (bug 1420117)
Backed out changeset 83b36cccea28 (bug 1420117)
Backed out changeset f7292e7fee0e (bug 1420117)
2017-12-05 02:16:59 +02:00
Cameron McCormack
6502647d1b Bug 1420117 - Part 4: Use Servo CSS parser in nsCSSCounterStyleRule::SetDescriptor. r=xidorn
MozReview-Commit-ID: GNJMe4kGQPB

--HG--
extra : rebase_source : 43d3459ecd71bc47208584c49ebb63f2ad84894d
2017-11-24 17:26:57 +08:00
Cameron McCormack
80af0291bd Bug 1420117 - Part 3: Add a ServoCSSParser::ParseCounterStyleDescriptor method. r=xidorn
MozReview-Commit-ID: LHBZ4j1Ji9R

--HG--
extra : rebase_source : 800a6271bd524403a9f4dbfb9c9a07dc4e85db8d
2017-11-24 17:26:41 +08:00
Cameron McCormack
dd506a9a7d Bug 1420117 - Part 2: Use Servo CSS parser in nsCSSCounterStyleRule::SetName. r=xidorn
MozReview-Commit-ID: aZDekSDgq4

--HG--
extra : rebase_source : b52e64eb15cc699423f2a652e07b1f54005e51df
2017-11-24 15:53:00 +08:00
Cameron McCormack
726b719558 Bug 1420117 - Part 1: Add a ServoCSSParser::ParseCounterStyleName method. r=xidorn
MozReview-Commit-ID: DAaUi5lLrFS

--HG--
extra : rebase_source : 5b53cbfc9a1286e7ece3a62fb20b536de28a73d6
2017-11-24 15:52:26 +08:00
Kartikaya Gupta
0edbe1a512 Bug 1422950 - Move the area calculation to the display item constructor to hit the ToReferenceFrame fastpath. r=mstange
MozReview-Commit-ID: 6ROpprO26JV

--HG--
extra : rebase_source : 93c024d56eb4c28ce2c5491a7b1038d335c92f1a
2017-12-04 15:47:29 -05:00
Nazım Can Altınova
0177b1a524 Bug 1421645 - Hide accidentally exposed subgrid behind prefs r=emilio,xidorn
It was exposed during stylo implementation but it should be behind
`layout.css.grid-template-subgrid-value.enabled` pref.

MozReview-Commit-ID: DqrU6zYgdES

--HG--
extra : rebase_source : 14859f5912faff9cf2daf9b10409114e853bab6d
2017-12-05 22:11:10 +03:00
Mats Palmgren
fb87f7ff8e Bug 1422839 part 4 - Reftest for 'overflow-clip-box' properties. r=mats
on a CLOSED TREE
MozReview-Commit-ID: GXqmSaB0AwI
2017-12-05 21:10:04 +01:00
Mats Palmgren
1025f3b9fe Bug 1422839 part 1 - Add internal overflow-clip-box-block/-inline properties and make overflow-clip-box a shorthand. r=dholbert
MozReview-Commit-ID: axoDaWnOJQ
2017-12-05 21:08:41 +01:00
Narcis Beleuzu
1f7fdd5826 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-06 01:49:19 +02:00
Boris Zbarsky
887ce3941a Bug 1419270 part 2. Use getter or setter specific NeedsSubjectPrincipal annotations more. r=qdot
MozReview-Commit-ID: KBwjFh3TMUg
2017-12-05 16:03:18 -05:00
Boris Zbarsky
77d6a0dd53 Bug 1418558 part 4. Add MOZ_CAN_RUN_SCRIPT annotations to nsGenericHTMLElement methods that can call GetPrimaryFrame. r=mystor
MozReview-Commit-ID: HxFFC85qgOD
2017-12-05 11:18:16 -05:00
shindli
210abdb358 Backed out 4 changesets (bug 1422839) for landing stylo changes on inbound r=backout on a CLOSED TREE
Backed out changeset ff9d1a10cb0b (bug 1422839)
Backed out changeset fc039432e4a6 (bug 1422839)
Backed out changeset 83101ef21e45 (bug 1422839)
Backed out changeset 436d10234366 (bug 1422839)
2017-12-05 17:00:33 +02:00
Dorel Luca
bea662dd30 Merge mozilla-central to autoland r=merge
--HG--
rename : layout/reftests/webcomponents/basic-insertion-point-1-ref.html => layout/reftests/webcomponents/basic-slot-5-ref.html
rename : layout/reftests/webcomponents/basic-insertion-point-1.html => layout/reftests/webcomponents/basic-slot-5.html
rename : layout/reftests/webcomponents/basic-insertion-point-2-ref.html => layout/reftests/webcomponents/basic-slot-6-ref.html
rename : layout/reftests/webcomponents/basic-insertion-point-2.html => layout/reftests/webcomponents/basic-slot-6.html
extra : rebase_source : 483a0fb85738c5459165efca8ec6bc971e31b4c2
2017-12-04 12:49:40 +02:00
Emilio Cobos Álvarez
f14389a065 Bug 1422654: stylo: Avoid restyling XBL-bound element if the binding doesn't have stylesheets. r=heycam
MozReview-Commit-ID: An2McUbpCLk

--HG--
extra : rebase_source : 1c869057d032773fbfd426d6f392cc936c81029c
2017-12-04 02:47:54 +01:00
Emilio Cobos Álvarez
8e7a2e8d51 Bug 1422634: followup: fix typo in the comment. r=comment-only
DONTBUILD

MozReview-Commit-ID: FG6XfLAKGcs
2017-12-04 11:40:46 +01:00
Emilio Cobos Álvarez
b8ef336994 Bug 1422634: Avoid sheet notifications to dereference a null restyle manager. r=heycam
MozReview-Commit-ID: 2BLUCEqnRDG

--HG--
extra : rebase_source : 00c701e6842d984f1508be93f77c1f8aebd96090
2017-12-04 11:22:33 +01:00
Makoto Kato
ded9cb4ade Bug 1032671 - Part 5. Add reftest for emoji. r=jfkthame
Windows 7 doesn't have mono symbol font for emoji code mapping.  And fontconfig
doesn't have better option for this.  So I except to these platforms.

MozReview-Commit-ID: 7TB1guyzBVS

--HG--
extra : rebase_source : 4a014a26618471cf8bee635bae961321c98a162e
2017-11-18 20:15:05 +09:00
Ethan Lin
87408bd0b0 Bug 1422013 - Invalidate image items for webrender. r=mattwoodrow
MozReview-Commit-ID: 701MZhcrf4l

--HG--
extra : rebase_source : 8bed0e5f812570685cf04f5b371da885294513e0
2017-12-04 11:12:25 +08:00