Commit Graph

56947 Commits

Author SHA1 Message Date
Sebastian Hengst
96c3a2f3bf Bug 1341102 - Fix the reftest expectation for text-shadow from bug 1361304. r=expectation-update 2017-05-07 11:01:51 +02:00
Xidorn Quan
bd05606389 Bug 1341102 - Fix the reftest expectation again.
MozReview-Commit-ID: 6u28ETnJRtJ
2017-05-06 22:38:02 +10:00
Xidorn Quan
bdf79974ef Bug 1341102 - Fix the test expectation.
MozReview-Commit-ID: 4PbLm9hzcSd
2017-05-06 20:57:54 +10:00
Xidorn Quan
b41c1c16ec Bug 1341102 - Update test expectation.
MozReview-Commit-ID: LEONyGYe0Ll
2017-05-06 19:11:02 +10:00
Xidorn Quan
aa5784a8cf Bug 1362302 part 2 - Fix stylo issue after changing counter style names to nsIAtom. r=manishearth
Only counter() and counters() functions are affected so far, since
list-style-type hasn't been hooked with counter-style yet.

MozReview-Commit-ID: EAuT3KvPpNY

--HG--
extra : rebase_source : ed561f7f644d638af6d8bcb57182946f5ee1a7f2
2017-05-05 21:56:57 +10:00
Xidorn Quan
98f239480d Bug 1362302 part 1 - Use nsIAtom for counter style names. r=dbaron
MozReview-Commit-ID: 5VK6BgGRVRs

--HG--
extra : rebase_source : 104a28eddeb7984bd9f691693cf8debc1387fb87
2017-05-06 11:34:35 +10:00
Bobby Holley
a8f10f24ec Bug 1362549 - Assert against accessing the attributes of a snapshot that doesn't have attributes saved. r=emilio
MozReview-Commit-ID: 8BsnTF6uIGM
2017-05-05 18:13:30 -07:00
Manish Goregaokar
553554e53e Bug 1341102 - Update test expectations ; r=manishearth
MozReview-Commit-ID: KzgHlffYEjM
2017-05-05 17:01:40 -07:00
Wes Kocher
bc7b598309 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 8QMHmu81oVt
2017-05-05 14:18:13 -07:00
Wes Kocher
efab9f9365 Merge inbound to m-c a=merge
MozReview-Commit-ID: KSYtdX2VPce
2017-05-05 14:03:31 -07:00
Manish Goregaokar
b640a06ad6 Bug 1358634 - Update test expectations for fallback fonts ;r=manishearth
MozReview-Commit-ID: GHUfkmJNgqG
2017-05-05 12:28:41 -07:00
Manish Goregaokar
08fe0e004f Bug 1358634 - Handle fallback to default variable font in case of nonexistant generic ; r=heycam
MozReview-Commit-ID: GHUfkmJNgqG
2017-05-05 12:26:00 -07:00
Emilio Cobos Álvarez
e464dadceb Bug 1361766: Move MathML content state changes outside of reflow. r=xidorn
This also adds assertions to ensure attributes and state don't change during
layout or frame construction.

MozReview-Commit-ID: BANcpxnRsYS

--HG--
extra : rebase_source : 5d1bc424d3ed90fda3047d3c92c09251346b7bec
2017-05-02 22:42:26 +02:00
Neil Deakin
38846a0f8f Bug 1358713, when a popup's anchor does not have a frame originally, don't have the popup update its position to follow it, r=tn 2017-05-05 11:13:56 -04:00
Carsten "Tomcat" Book
170faef00b Merge mozilla-central to mozilla-inbound 2017-05-05 15:25:16 +02:00
Carsten "Tomcat" Book
fdc689ba16 merge mozilla-inbound to mozilla-central a=merge 2017-05-05 15:17:26 +02:00
Cameron McCormack
53bb158a26 Bug 1341102 - Adjust test expectations. r=me 2017-05-05 16:53:03 +08:00
Morris Tseng
16ab02aa27 Bug 929484 - Turn on some passed tests. r=mstange
MozReview-Commit-ID: A0gsDnCETCU
2017-05-05 14:30:16 +08:00
Morris Tseng
104664213e Bug 929484 - Create nsDisplayTableBackgroundImage to avoid display item collision when processing background image of table. r=mattwoodrow
MozReview-Commit-ID: LR3Lta3MHt5
2017-05-05 14:30:16 +08:00
Morris Tseng
e60d34dd29 Bug 929484 - Create nsDisplayTableFixedPosition to avoid display list collision when processing background image of table. r=mattwoodrow
MozReview-Commit-ID: 2DKdqk5kbHt
2017-05-05 14:30:16 +08:00
Morris Tseng
c09ed5d520 Bug 929484 - Remove nsTableBorderBackground displayitem and nsTablePainter. r=mstange
MozReview-Commit-ID: 1HmfGyBqWnf
2017-05-05 14:30:15 +08:00
Morris Tseng
b16599bc8f Bug 929484 - Draw each table's background on their own display item. r=mstange
This patch do following things:
1. Create nsDisplayTableBorderCollapse that draws all collapse border of
table.
2. Don't use nsDisplayTableBorderBackground.
3. Let column and column group frame generate display items.
4. When traversing the table, also traverse the column and column group
frames.
5. For each type of table frame (col group, col, row group, row and
cell), draw their own background.

MozReview-Commit-ID: 1s2VLv6G8xi
2017-05-05 14:30:15 +08:00
Thinker K.F. Li
70bcac7cb4 Bug 1342009 - Provide a shortcut in BuildDisplayListForChild. r=mattwoodrow 2017-05-04 02:06:00 +08:00
Nicholas Nethercote
ea25e62e3c Bug 1360471 (part 4) - Use a bitfield to represent profiler features. r=mstange.
Currently the profiler mostly uses an array of strings to represent which
features are available and in use. This patch changes the profiler core to use
a uint32_t bitfield, which is a much simpler and faster representation.
(nsProfiler and the profiler add-on still use the array of strings, alas.) The
new ProfilerFeature type defines the values in the bitfield.

One side-effect of this change is that profiler_feature_active() now can be
used to query all features. Previously it was just a subset.

Another side-effect is that profiler_get_available_features() no longer incorrectly
indicates support for Java and stack-walking when they aren't supported. (The
handling of task tracer support is unchanged, because the old code handled it
correctly.)
2017-05-01 14:23:34 +10:00
Cameron McCormack
193a0517ae Bug 1361985 - Adjust test expectations. r=me 2017-05-05 14:50:07 +08:00
Henri Sivonen
c18a3863eb Bug 1269490 - Merge nsHtml5Atoms into nsGkAtoms. r=wchen
MozReview-Commit-ID: EcfnXkFuJy3

--HG--
extra : rebase_source : eb4ba2c1b95a9ccabdcdecf65f3b757691f033b8
2017-04-20 11:47:02 +03:00
KuoE0
5b7d28dcc5 Bug 1356072 - Update stylo-failures. r=xidorn
MozReview-Commit-ID: 4FBnwJfh2Uc

--HG--
extra : rebase_source : c35d186ba0f9dbe787bf727586bf8795f8b6b498
2017-04-27 17:54:18 +08:00
Anthony Ramine
a2e7b85307 Bug 1361985 - Add Servo bindings for GridTemplateAreasValue. r=Manishearth
MozReview-Commit-ID: fi5j076kwH

--HG--
extra : rebase_source : 380b1a60a5385d762ee2f73bb089aaefb86c0c53
2017-05-04 12:24:01 +02:00
Xidorn Quan
efabd6a029 Bug 1341102 - Update test expectation for servo/servo#16728.
MozReview-Commit-ID: LhpyLLtoVB6
2017-05-05 23:42:05 +10:00
Botond Ballo
515525ceb3 Bug 1357903 - Clip event regions when combining them to a containing PaintedLayerData. r=mstange
MozReview-Commit-ID: 9Z3ITH5raXl

--HG--
extra : rebase_source : 31c2bcf700282c096e36c0606e257f395fc2d010
2017-04-28 20:32:05 -04:00
Jonathan Kew
4b5525bbf7 Bug 1362167 - Use strongly-typed enum classes instead of generic uint16_t fields for the gfxShapedText and gfxTextRun flags. r=jrmuizel 2017-05-04 22:27:05 +01:00
Jonathan Kew
6fc5313103 Bug 1362167 - Split gfxShapedText.mFlags into two 16-bit flags fields, and arrange storage more compactly to reduce size of gfxShapedWord and gfxTextRun objects. r=jrmuizel 2017-05-04 22:25:16 +01:00
Andreas Farre
7cd708c02f Bug 1322184 - Measure time spent in content JS that causes delay in paint. r=billm, data-r=bsmedberg
MozReview-Commit-ID: Iz31CKSnDdc

--HG--
extra : rebase_source : e0db2419ee2ef868d2f4d1b47d45547e55bd2036
2017-05-02 08:10:00 -04:00
Carsten "Tomcat" Book
9e9042963b Backed out changeset 93acd240b578 (bug 929484) for reftest failures in border-separate-opacity-table-column-group.html 2017-05-04 17:00:20 +02:00
Carsten "Tomcat" Book
44f55ecb9b Backed out changeset 3dc8c2aea9bf (bug 929484) 2017-05-04 16:59:59 +02:00
Carsten "Tomcat" Book
dec7071863 Backed out changeset e41fa1543360 (bug 929484) 2017-05-04 16:59:57 +02:00
Carsten "Tomcat" Book
2121f93271 Backed out changeset 9c8ade5137ae (bug 929484) 2017-05-04 16:59:54 +02:00
Carsten "Tomcat" Book
7c935d0dcc Backed out changeset 7c902365910c (bug 929484) 2017-05-04 16:59:52 +02:00
Morris Tseng
c6a90cc4b2 Bug 929484 - Turn on some passed tests. r=mstange
MozReview-Commit-ID: A0gsDnCETCU
2017-05-04 17:32:09 +08:00
Morris Tseng
ce6058327d Bug 929484 - Create nsDisplayTableBackgroundImage to avoid display item collision when processing background image of table. r=mattwoodrow
MozReview-Commit-ID: LR3Lta3MHt5
2017-05-04 17:32:08 +08:00
Morris Tseng
771096bf03 Bug 929484 - Create nsDisplayTableFixedPosition to avoid display list collision when processing background image of table. r=mattwoodrow
MozReview-Commit-ID: 2DKdqk5kbHt
2017-05-04 17:32:08 +08:00
Morris Tseng
087ad6539a Bug 929484 - Remove nsTableBorderBackground displayitem and nsTablePainter. r=mstange
MozReview-Commit-ID: 1HmfGyBqWnf
2017-05-04 17:32:08 +08:00
Morris Tseng
a1fbf1c8a6 Bug 929484 - Draw each table's background on their own display item. r=mstange
This patch do following things:
1. Create nsDisplayTableBorderCollapse that draws all collapse border of
table.
2. Don't use nsDisplayTableBorderBackground.
3. Let column and column group frame generate display items.
4. When traversing the table, also traverse the column and column group
frames.
5. For each type of table frame (col group, col, row group, row and
cell), draw their own background.

MozReview-Commit-ID: 1s2VLv6G8xi
2017-05-04 17:32:08 +08:00
Carsten "Tomcat" Book
237cea8312 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : browser/base/content/test/general/accounts_testRemoteCommands.html => browser/base/content/test/sync/accounts_testRemoteCommands.html
rename : browser/base/content/test/general/browser_fxa_web_channel.html => browser/base/content/test/sync/browser_fxa_web_channel.html
rename : browser/base/content/test/general/content_aboutAccounts.js => browser/base/content/test/sync/content_aboutAccounts.js
extra : amend_source : 38d33daae77f06915b30cab5327a6aa7ef0ef4ac
2017-05-04 10:57:00 +02:00
Cameron McCormack
6f1279b74e Bug 1341102 - Fix mistaken annotation. r=me 2017-05-04 13:32:24 +08:00
Iris Hsiao
fa6e98e026 Merge mozilla-central to autoland 2017-05-04 13:22:44 +08:00
Cameron McCormack
06b764cb6c Bug 1341102 - Update expectations for servo/servo#16568 and servo/servo#16713. 2017-05-04 12:03:35 +08:00
Iris Hsiao
e71485e5b0 merge mozilla-inbound to mozilla-central a=merge 2017-05-04 11:18:36 +08:00
Hiroyuki Ikezoe
43a902cb19 Bug 1361632 - Adjust reftest expectation for -moz-appearance. r=bholley. a=merge
MozReview-Commit-ID: 6sqyA5TCHjk

--HG--
extra : rebase_source : 4957d93a55717850594dabc2650cecf060022f75
extra : amend_source : 6ee8241b984e300386da617fa9304b288989fdb7
2017-05-04 06:39:30 +09:00
Boris Zbarsky
f11ddd537b Bug 1361274. There's no need to update link :visited state when doing querySelectorAll, since querySelectorAll ignores that state anyway. r=smaug
In our current setup, in which links with an href attribute always match either
:link or :visited, no matter whether that attribute's value is a valid URI,
changes to the attribute always put the element into either the "match nothing"
state or the "match :link" state, via calls to Link::ResetLinkState.

The only thing FlushPendingLinkUpdates is needed for is (lazily, in case it
turns out to not be needed because the element got removed from the DOM anyway)
registering a history observer to switch the link state to :visited as needed.

This means that selector matching consumers that would never expose :visited
state to start with don't need to worry about calling FlushPendingLinkUpdates.
2017-05-03 16:54:25 -04:00