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
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
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
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
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
Gurzau Raul
44b16ed498
Backed out 1 changesets (bug 1422466) for build bustage on a CLOSED TREE
...
Backed out changeset 719224b9a2dd (bug 1422466)
2017-12-04 05:34:10 +02:00
Jeff Muizelaar
a49417c5ed
Bug 1422466. Drop a copy from TextDrawTarget::FillGlyphs. r=Gankro
...
We try hard to ensure that the glyph buffers are of the same type.
--HG--
extra : rebase_source : b785541c15ee2d715b549e0c306e5e0669d4ad71
2017-12-02 13:45:57 -05:00
Emilio Cobos Álvarez
99077adb27
No bug: Update test expectations for servo/servo#19462 . r=me
...
MozReview-Commit-ID: F9aTxF73RmP
2017-12-03 22:55:26 +01:00
Brindusan Cristian
d339014f90
Merge mozill-central to autoland. r=merge a=merge on a CLOSED TREE
2017-12-03 12:05:49 +02:00
Ting-Yu Lin
0afec2466e
Bug 1265343 Part 2 - Fix tests after adding 'shape-image-threshold' to style system. r=heycam
...
MozReview-Commit-ID: IJgPOfD33AB
--HG--
extra : rebase_source : be2e9aa67d2b5d41724e9ae9e57a3c5b95de183c
2017-11-28 16:06:21 +08:00
Ting-Yu Lin
b1efbfb25a
Bug 1265343 Part 1 - Add shape-image-threshold to style system. r=heycam
...
devtools/shared/css/generated/properties-db.js is generated by running
"./mach devtools-css-db"
MozReview-Commit-ID: 1U4yoQTDwxi
--HG--
extra : rebase_source : 16049b4253ae9a3f6e24cc30896ed53f65ebaf7a
2017-11-27 15:01:25 +08:00
Ian Moody
1fe91d8a29
Bug 1391044 - Preserve newlines in textarea placeholders. r=bz
...
MozReview-Commit-ID: 7h1dXSd4Ci7
--HG--
extra : rebase_source : 9fe03a61f12b04dae0778d1aa0b3c95ee3fb3d8f
2017-12-02 00:11:39 +00:00
Emilio Cobos Álvarez
b564f2695b
Bug 1422524: Avoid calling nsAttrValue::Type twice in the common case. r=xidorn
...
MozReview-Commit-ID: JCnUrlYCWv3
--HG--
extra : rebase_source : be6dbb175202e4298cfceb96be2b3ee097fd3cd6
2017-12-02 20:36:53 +01: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
Ciure Andrei
48e5c9892f
Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE
2017-12-02 12:19:55 +02:00
Emilio Cobos Álvarez
2b97da363f
Bug 1417200: Stop using -moz-border-*-colors in forms.css. r=xidorn
...
On a CLOSED TREE, since the servo patch got in.
This removes one px of "padding" in:
<progress style="-moz-appearance: none"></progress>
But it'd be worse to not be able as an author to override those somehow.
MozReview-Commit-ID: EFZIBHaUskM
2017-12-01 23:25:17 +01:00
Emilio Cobos Álvarez
13a91fa9f6
Bug 1417200: Make -moz-border-colors chrome only. r=xidorn
...
On a CLOSED TREE, since the servo patch managed to get in.
This also makes the border longhand no longer reset them.
MozReview-Commit-ID: KNais1e5FnE
2017-12-01 23:25:01 +01:00
Emilio Cobos Álvarez
0194a97476
Bug 1422319: Upstream :any-link reftest to WPT. r=xidorn
...
MozReview-Commit-ID: KOYqClzV8eo
--HG--
extra : rebase_source : 36b2d0f5d36e7b06e492316fac3a754247c859fb
2017-12-01 15:57:01 +01:00
Gurzau Raul
da2beafe7e
Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE
2017-12-01 12:59:28 +02:00
Emilio Cobos Álvarez
5604b99826
Bug 1420762: Make StyleSheets notify directly to their StyleSets. r=heycam
...
This also makes the rule map not process all the stylesheets for the document,
which would be a mess with shadow DOM.
Far from the final, ideal state, but hey, progress.
MozReview-Commit-ID: 7TrifME9VZ
2017-12-01 08:46:39 +01:00
Brindusan Cristian
6a74eec204
Merge inbound to mozilla-central r=merge a=merge
2017-12-01 00:22:25 +02:00
Brindusan Cristian
6f5b49da3e
Backed out 2 changesets (bug 1420762) for merge conflicts r=merge a=merge
...
Backed out changeset ba350c82d823 (bug 1420762)
Backed out changeset 00287b88254b (bug 1420762)
2017-12-01 00:20:10 +02:00
Emilio Cobos Álvarez
36470e4ff6
Bug 1420762: followup: Make nsCSSPageRule::ChangeDeclaration properly update the document. r=me
...
This causes an assert in nsStyleSet with my previous changes.
MozReview-Commit-ID: 4ASV0n8gOhZ
2017-11-30 15:54:01 +01:00
Emilio Cobos Álvarez
f28656c543
Bug 1420762: Make StyleSheets notify directly to their StyleSets. r=heycam
...
This also makes the rule map not process all the stylesheets for the document,
which would be a mess with shadow DOM.
Far from the final, ideal state, but hey, progress.
MozReview-Commit-ID: 7TrifME9VZ
2017-11-30 15:42:45 +01:00
Olli Pettay
af3373dc1d
Bug 1418002 - Remove HTMLContentElement, r=jessica
2017-11-30 10:57:15 +02:00
Bogdan Tara
df97c78dbf
Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE
2017-11-30 01:10:06 +02:00
Bogdan Tara
d8635b15e4
Merge inbound to mozilla-central r=merge a=merge on a CLOSED TREE
2017-11-30 00:41:09 +02:00
Dorel Luca
f622b80073
Merge mozilla-central to mozilla-inbound r=merge
2017-11-29 12:34:02 +02:00
Dorel Luca
be78e6ea9b
Merge inbound to mozilla-central r=merge a=merge
2017-11-29 12:26:15 +02:00
Andrea Marchesini
b1231ac8b9
Bug 1420419 - Postpone the removing of BlobURL for 5 seconds in order to allow the loading of them in a remote process, r=smaug
2017-11-29 09:40:16 +01:00
Bob Owen
6ea1901fa9
Bug 1419739 Part 2: Clean up resulting (and some existing) unused printing code. r=jwatt
2017-11-29 07:58:49 +00:00
Bob Owen
e17357eb20
Bug 1419739 Part 1: Change selection printing to remove unselected nodes and then print as normal. r=jwatt
...
Prior to this change, we would print a selection by:
* reflowing the whole document into one infinitely long page
* position at the top of the selection to print the first page
* move the position down by a page length each time to print subsequent pages
This has several shortcomings, detailed in the bug.
This approach uses the original document selection to create an inverted
selection in the document cloned for printing, adding an ellipsis when ranges
start or end in text nodes, then deletes that selection from the document prior
to printing.
2017-11-29 07:58:48 +00:00
Mats Palmgren
d848b3123d
Bug 1417711 - [css-grid] An abs.pos. grid container child that only covers removed 'auto-fit' tracks should not span to the end padding edge. r=dholbert
...
MozReview-Commit-ID: INVYIFawiuT
2017-11-29 06:51:41 +01:00
Jeremy Chen
d4489c8a64
Bug 1421197 - use 64-bit for restyle generation counters to avoid overflow issues. r=heycam
...
It is expected to use 64-bit for all the restyle generation counters, since the
getter methods all return uint64_t type at present. However, we're using uint32_t
for the actual counter variables, which means the potential overflow issue is not
avoided.
In this patch, we use 64-bit for the restyle generation counters, so the overflow
issue can be avoided as expected.
MozReview-Commit-ID: 2y2afIcuwvc
--HG--
extra : rebase_source : 3fe64d7d3fc00fa1031eef9f0c15b64405435dfd
2017-11-28 17:42:22 +08:00
Xidorn Quan
783034684d
Bug 1412145 - Drop more backpointers of CSSOM objects in dtor and unlink. r=bz
...
MozReview-Commit-ID: Ftg3WMBBNlO
--HG--
extra : rebase_source : 65834280c2ae9736861096172ca3f1d4e789c7a4
extra : source : ecbc4f545e09e969b8212e77d013a6b46b983763
2017-11-28 17:06:51 -06:00
Edgar Chen
9f4324f41e
Bug 1416999 - Remove document.registerElement; r=smaug
...
MozReview-Commit-ID: HiX07Vbljhk
--HG--
rename : dom/base/test/chrome/registerElement_ep.js => dom/base/test/chrome/custom_element_ep.js
rename : dom/base/test/chrome/frame_registerElement_content.html => dom/base/test/chrome/frame_custom_element_content.html
rename : dom/base/test/chrome/test_registerElement_content.xul => dom/base/test/chrome/test_custom_element_content.xul
rename : dom/base/test/chrome/test_registerElement_ep.xul => dom/base/test/chrome/test_custom_element_ep.xul
rename : dom/base/test/test_document_register.html => dom/base/test/test_custom_element.html
rename : dom/tests/mochitest/webcomponents/test_document_register.html => dom/tests/mochitest/webcomponents/test_custom_element_define.html
rename : dom/tests/mochitest/webcomponents/test_document_register_parser.html => dom/tests/mochitest/webcomponents/test_custom_element_define_parser.html
rename : dom/tests/mochitest/webcomponents/test_template_custom_elements.html => dom/tests/mochitest/webcomponents/test_custom_element_template.html
extra : rebase_source : cd2ebf166e8bd9c49910387c9136d7b83b51598d
2017-11-16 12:23:15 +08:00
Dorel Luca
79499f4044
Merge mozilla-central to autoland r=merge on a CLOSED TREE
2017-11-29 12:31:25 +02:00
Morris Tseng
786900525f
Bug 1419917
- Add nsDisplayTableThemedBackground. r=mattwoodrow
...
MozReview-Commit-ID: D86CXjyro4
--HG--
extra : rebase_source : 24ffa2c27438218463cf01839c8cdb49326e4d9f
2017-11-24 16:19:56 +08:00
JW Wang
496d14a291
Bug 1415441 - Eagerly init gMediaDecoderLog to debug crash. r=cpearce
...
MozReview-Commit-ID: E7ZDdQwZ32
2017-11-08 15:34:19 +08:00
Brad Werth
3b3999ddad
Bug 1421420 - Hold onto a weak reference to the grid container frame across reflow flushes triggered by devtools. r=dholbert
...
MozReview-Commit-ID: 2lkQr1jbnFd
2017-11-28 15:05:48 -08:00
Matt Woodrow
a9f042bcec
Bug 1261175. r=bobowen
...
MozReview-Commit-ID: B9yAN0F01rj
2017-11-14 10:31:36 +13:00
Morris Tseng
95e86e857a
Bug 1421930 - Add crashtest. r=mattwoodrow
...
MozReview-Commit-ID: BXTREZhY3fK
--HG--
extra : rebase_source : e2ec2186e9b1b39aa5c9b2fdd1bc871412ec35e5
2017-11-30 10:36:46 +08:00
Xidorn Quan
2e91996237
Bug 1420946 - Don't try to share style on quirks mode whenever two elements have different id. r=emilio
...
MozReview-Commit-ID: FcHXGUoMMbD
--HG--
extra : rebase_source : fe28186785456d9feca068d217d3b87beeb06867
2017-11-29 17:34:37 -06:00