Carsten "Tomcat" Book
7333917288
Merge mozilla-central to mozilla-inbound
2016-10-06 12:28:03 +02:00
Jonathan Kew
3cc319fde5
Bug 924851 - patch 1 - Move definition of nsBidiLevel/nsBidiDirection and frame bidi properties from nsBidi.h to nsIFrame.h, in preparation for removal of nsBidi. r=xidorn
2016-10-06 09:49:14 +01:00
Carsten "Tomcat" Book
6636b09ddd
merge mozilla-inbound to mozilla-central a=merge
2016-09-30 12:02:16 +02:00
Daniel Holbert
8ee9cc8def
Bug 1306213: When resolving a flex item's "align-self: auto", use the flex container (not style-context parent) as the "align-items" source. r=mats
...
(Normally, the style-context parent will *be* the flex container's style
context, so this patch won't change behavior at all. But if a flex container
has a "display:table" child, then there's an extra style context in the
inheritance chain (due to how style inheritance works for nsTableWrapperFrame).
And we don't want that extra style context to mess up the ability of a flex
container's "align-items" property to actually align the flex items.)
MozReview-Commit-ID: GFyxhEwM68S
--HG--
extra : rebase_source : 4be8ac901e10de20747ed44b889d234646d4b2fd
2016-09-28 23:53:20 -07:00
Xidorn Quan
e92fe57924
Bug 1266621 part 5 - Convert border-color to store complex color. r=heycam
...
MozReview-Commit-ID: 19sl9f3EVgt
--HG--
extra : rebase_source : fba71e92cf7d23728a7c963ae12027e7aee7e986
2016-09-27 20:16:35 +10:00
Xidorn Quan
6972756593
Bug 1266621 part 3 - Convert outline-color to store complex color. r=heycam
...
MozReview-Commit-ID: 70tre2pYqi3
--HG--
extra : rebase_source : 18ff94f359dde9cd174e2991b7dd848686058057
2016-09-27 20:44:19 +10:00
Xidorn Quan
cc1649886e
Bug 1266621 part 1 - Convert text-decoration-color to store complex color. r=heycam
...
MozReview-Commit-ID: LEGICgvgQDY
--HG--
extra : rebase_source : 6c68c6e26648354d4d5515e199fdf07711eca726
2016-09-27 20:19:48 +10:00
Cameron McCormack
a98e3ac042
Bug 1305376 - Use nsTArray for cursor image list storage. r=xidorn
...
MozReview-Commit-ID: 2uRGInQmNYU
--HG--
extra : rebase_source : 2b18874f61ebbb1c25aa2e1fab74c1e2577d9f2b
2016-09-29 10:55:55 +08:00
Kartikaya Gupta
3ac8695431
Bug 1305579
- If we fail to restore the scroll position while there's a reflow pending, hold on to it and try again later. r=tnikkel
...
MozReview-Commit-ID: DNmFJOiNeeW
--HG--
extra : rebase_source : b44d4c04c76a21fe00d8ae460068359550d3d136
2016-09-27 14:40:56 -04:00
Xidorn Quan
a1db43df46
Bug 1279814 followup - Add crashtest for this bug. r=jfkthame
...
MozReview-Commit-ID: HViGSGNbscY
--HG--
extra : source : 0706234a33fd0d5b519700f051554bdcda3dd558
2016-09-28 12:11:18 +10:00
Mats Palmgren
24e5de8ccb
Bug 1255393 part 7 - [css-grid] Update intrinsic max track sizing for span>1 to the latest Grid spec. r=dholbert
...
Step 2.5 "For intrinsic maximums" now use the min-size contribution.
https://hg.csswg.org/drafts/diff/575fb847e29d/css-grid/Overview.bs
https://drafts.csswg.org/css-grid/#algo-content
2016-09-27 17:05:41 +02:00
Mats Palmgren
cd4c23a413
Bug 1255393 part 6 - [css-grid] Update 'auto' min track sizing for span>1 to the latest Grid spec. r=dholbert
...
'auto' tracks now also gets an item's min/max-content contribution
(in 2.2/2.3) when sizing under a min/max-content constraint.
(Previously, 'auto' only got the min-size contribution under 2.1)
https://drafts.csswg.org/css-grid/#algo-content
2016-09-27 17:05:41 +02:00
Mats Palmgren
7a1dca9913
Bug 1255393 part 5 - [css-grid] Remove dead code related to obsolete flex track min-sizing. r=dholbert
2016-09-27 17:05:41 +02:00
Mats Palmgren
9aa8eef809
Bug 1255393 part 4 - [css-grid] Cache min/max-content and min-size contributions better. r=dholbert
2016-09-27 17:05:41 +02:00
Mats Palmgren
9ab65db5db
Bug 1255393 part 3 - [css-grid] Update 'auto' min track sizing for span=1 to the latest Grid spec. r=dholbert
...
Now it returns the min/max-content contribution for intrinsic sizing.
Otherwise, i.e. during Reflow, return the min-size contribution.
(Previously, it always returned the min-size contribution.)
https://drafts.csswg.org/css-grid/#algo-content
2016-09-27 17:05:40 +02:00
Mats Palmgren
0f91dea2f7
Bug 1255393 part 2 - [css-grid] Update MinSize() to reflect the latest spec text for min-size contribution. r=dholbert
...
https://drafts.csswg.org/css-grid/#min-size-contributions
2016-09-27 17:05:40 +02:00
Mats Palmgren
d17a96db4a
Bug 1255393 part 1 - [css-grid] Introduce a SizingConstraint enum type. r=dholbert
2016-09-27 17:05:40 +02:00
Mats Palmgren
534e65315b
Bug 1303643
part 2 - [css-grid] Apply percentages to grid item min-content contributions. r=dholbert
2016-09-29 21:49:54 +02:00
Brad Werth
ac8eac6caa
Bug 1300877 - Expose removed grid auto-fit tracks to devtools API. r=mats, r=ehsan
...
MozReview-Commit-ID: 3E1au3BQyLw
--HG--
rename : dom/grid/test/chrome/test_grid_track_state.html => dom/grid/test/chrome/test_grid_repeats.html
2016-09-21 11:49:29 -07:00
Carsten "Tomcat" Book
f7e4d70ba8
Merge mozilla-central to mozilla-inbound
2016-09-23 12:38:03 +02:00
Joel Maher
58f71c11c8
Backout 472858f465b0 (Bug 1290158) for perf regression.
...
MozReview-Commit-ID: 92eO5YtKLoj
2016-09-23 06:20:33 -04:00
Carsten "Tomcat" Book
a65e4225ef
merge mozilla-inbound to mozilla-central a=merge
2016-09-23 12:05:53 +02:00
Brad Werth
f9e226b0fa
Bug 1278461 - Prevent an assert from tripping when removing an overflowed frame during a partial reflow. r=mats
2016-09-22 12:37:35 -07:00
Daniel Holbert
c31ad35f39
Bug 1304540
part 2: Use nsCOMPtr/RefPtr (and their forget() API) instead of manual NS_ADDREF macros, in a few files within layout. r=mats
...
MozReview-Commit-ID: SrJNtbwc1B
--HG--
extra : rebase_source : 2fd086157bf4d8d16effe18037258a3bf12623fc
2016-09-21 15:41:26 -07:00
Daniel Holbert
2a6754c4c7
Bug 1304540
part 1: minor code-cleanup in the neighborhood of some NS_ADDREF usages. r=mats
...
DETAILS ON THE CLEANUP:
* In nsFrameTraversal.cpp:
- Whitespace fix.
- Remove a useless nullptr assignment.
- Use "=" to initialize a nsCOMPtr, per coding style guideline ("initialize variables with nsFoo aFoo = bFoo and not nsFoo aFoo(bFoo)").
* In nsPresShell.cpp:
- Wrap a longish assignment to 2 lines (since next patch will make the first line longer, which would push the whole thing over 80 characters if it weren't wrapped).
- Add braces around "if" body.
* In nsTextFrame.cpp:
- Remove a useless nullptr assignment.
- Move the "metrics->GetThebesFontGroup()" call slightly earlier, so it happens *before* we've implicitly transferred ownership the object pointed to by "metrics".
- Add a code-comment.
MozReview-Commit-ID: LG6vgOmM9MK
--HG--
extra : rebase_source : 7754d4edefb09ae7992275b9dcb7e84371955d9c
2016-09-21 15:39:48 -07:00
Carsten "Tomcat" Book
4f900773f5
merge mozilla-inbound to mozilla-central a=merge
2016-09-21 12:03:31 +02:00
Mats Palmgren
0ffa12391e
Bug 1280798 part 2 - [css-grid] Take any specified [min-/max-]width/height into account when calculating the number of auto-fill/fit tracks for intrinsic sizing. r=dholbert
2016-09-21 02:14:40 +02:00
Mats Palmgren
782101ebba
Bug 1280798 part 1 - [css-grid] Simplify handling of min-size for repeat track calculation. r=dholbert
2016-09-21 02:14:39 +02:00
Xidorn Quan
6b6e2ad7b2
Bug 1299741 part 11 - Change text-{emphasis,fill,stroke}-color to using StyleComplexColor. r=dbaron
...
MozReview-Commit-ID: 1MlgGAkdPn8
--HG--
extra : rebase_source : 293aa61adaa091bb3d4350a4b86ec9cfbb40eb02
2016-09-16 14:40:45 +10:00
Ting-Yu Lin
4ecdeeb2ad
Bug 1297097 Part 1 - Remove preference "layout.css.vertical-text.enabled" in test files. r=jfkthame
...
MozReview-Commit-ID: LCegChkryHj
--HG--
extra : rebase_source : a491cbf457ebb4abaf7db18adea69393ac9cf3bd
2016-08-23 13:55:16 +08:00
Carsten "Tomcat" Book
0b196abd94
Merge mozilla-central to mozilla-inbound
...
--HG--
rename : devtools/shared/css-color-db.js => devtools/shared/css/color-db.js
rename : devtools/shared/css-color.js => devtools/shared/css/color.js
rename : devtools/shared/css-lexer.js => devtools/shared/css/lexer.js
rename : devtools/shared/css-parsing-utils.js => devtools/shared/css/parsing-utils.js
rename : devtools/shared/css-properties-db.js => devtools/shared/css/properties-db.js
extra : rebase_source : ee56c3191034e51bcc5e558e32c9a4f1b9da92cf
2016-09-16 13:06:24 +02:00
Ting-Yu Lin
52503527a3
Bug 1302758 Part 3 - Remove nullptr check of operator new in CreateFloatManager. r=dholbert
...
The operator new is infallable. Also change the return value to void
accordingly. The only caller doesn't even check the return value.
MozReview-Commit-ID: 3whf7s1d35q
--HG--
extra : rebase_source : 6c3a7010f77dad0ee5f50408205fc3a5418dacc9
2016-09-15 23:29:57 +08:00
Ting-Yu Lin
b66ea190f5
Bug 1302758 Part 2 - Replace NOISY_FLOATMANAGER with nsBlockFrame::gNoisyFloatManager. r=dholbert
...
To see the flag in action, export GECKO_BLOCK_DEBUG_FLAGS="float-manager" and
open a page containing float elements. For example:
$ GECKO_BLOCK_DEBUG_FLAGS="float-manager" ./mach run layout/reftests/floats/orthogonal-floats-1a.html
MozReview-Commit-ID: 7Rb45ophewf
--HG--
extra : rebase_source : f40703a2ec448bf39a4a49e98fcd50f5550bbdd3
2016-09-15 14:32:12 +08:00
Ting-Yu Lin
926abf8d9a
Bug 1302758 Part 1 - Minor cosmetic fixes in nsFloatManager. r=dholbert
...
These fixes are in the contextual of Part 2.
MozReview-Commit-ID: 3AJUozeIi8W
--HG--
extra : rebase_source : f03ea1e52a78295ad51165cb5b9d40fd9b2ac5d2
2016-09-15 11:29:14 +08:00
Xidorn Quan
6354ca8b8e
Bug 1301014 - Fix intrinsic inline-size of flex container in vertical writing modes. r=dholbert
...
MozReview-Commit-ID: 7ef2EqMxOI5
--HG--
extra : source : 05adfc934ff38205bf3d84ad621e6501f8b9ce86
2016-09-16 20:39:39 +10:00
Jonathan Kew
19eb5fe1ee
Bug 1302389 - patch 2 - Add ScrollFrameHelper::IsBidiLTR to return the inline-bidi direction, as opposed to physical LTR-ness, and use this in GetScrolledFrameDir(). r=dholbert
2016-09-15 10:41:36 +01:00
Jonathan Kew
01c9f80e52
Bug 1302389 - patch 1 - Rename ScrollFrameHelper::IsLTR to IsPhysicalLTR for clarity (no behavior change). r=dholbert
2016-09-15 10:41:28 +01:00
Jonathan Kew
75cd1bb487
Bug 1302734 - Don't restrict unicode-bidi:plaintext support to horizontal writing mode. r=dholbert
2016-09-15 10:36:28 +01:00
Neil Rashbrook
bf6bdf8c7c
Bug 1290158 Don't generate synthetic paint events for invisible documents r=mattwoodrow
2016-09-14 15:55:45 +01:00
Carsten "Tomcat" Book
9a2448ee1c
Merge mozilla-central to mozilla-inbound
2016-09-14 12:11:09 +02:00
Mike Conley
3682283a8c
Bug 1297996 - Add preference to show background colour between pageloads for non-e10s. r=tnikkel
...
Adds a hidden layout.show_previous_page pref for non-e10s that, when set to false,
will blank out the content area in between page loads instead of showing the
previous page.
MozReview-Commit-ID: 1EyDk4IabeK
--HG--
extra : rebase_source : efd4c745b2c249b1f57faedd8a3d5080c7445893
2016-08-17 17:55:49 -04:00
Carsten "Tomcat" Book
f77a18b1b7
merge mozilla-inbound to mozilla-central a=merge
2016-09-13 11:57:54 +02:00
Mats Palmgren
3f8612e2b9
Bug 1299133 - [css-grid] Subtract the grid-gaps in the span when collecting growable tracks. r=dholbert
...
--HG--
extra : source : 8898636baa30f66648f0265d48a050feac5dc76d
2016-09-12 23:13:08 +02:00
Wes Kocher
e03e64c99f
Backed out 2 changesets (bug 1299133) for win vm reftest failures a=backout CLOSED TREE
...
Backed out changeset fa010785b1ed (bug 1299133)
Backed out changeset 8898636baa30 (bug 1299133)
2016-09-12 15:53:52 -07:00
Mats Palmgren
c6c6b4a4e4
Bug 1299133 - [css-grid] Subtract the grid-gaps in the span when collecting growable tracks. r=dholbert
2016-09-12 23:13:08 +02:00
Ting-Yu Lin
2884834832
Bug 1301630 - Remove nsBlockFrame::SetFlags(). r=bz
...
Per bug 1299753 comment 20, SetFlags() is designed for flag propagation
to continuations during block reflow. To avoid misuse, I expand
SetFlags() directly in the only reasonable caller nsBlackFrame::Init(),
and replace other usages by AddStateBits().
MozReview-Commit-ID: GsbE2Z0Rps1
--HG--
extra : rebase_source : 72a64e9218870d638f67d1b586f533cd7d16c491
2016-09-09 15:26:57 +08:00
Matt Woodrow
c0a7b324b9
Bug 1300611 - Move overflow rect into correct coordinate space when computing perspective overflows so that it's not affected by scroll position. r=dbaron
2016-09-14 18:00:17 +12:00
Kaku Kuo
66f48b21c6
Bug 1284350. Reland on top of backouts "Bug 1282710 - part 2 - Plumb the visibility event from nsIFrame to nsIDOMMediaElemnt; r=seth" r=kaku
2016-06-29 17:36:24 +08:00
Timothy Nikkel
97166ec5f2
Bug 1284350. Ensure that if a frame is painted it is added to the approximately visible list. r=mstange
...
This takes the second hunk of https://hg.mozilla.org/mozilla-central/rev/82c3b4b81d82 only, but instead of the "in displayport" list we are adding to the "approximately visible" list. The "in displayport" list doesn't exist after the backouts that need to be done.
This ensures that all visible frames are in the approximately visible list.
By not taking the first chunk of the aforementioned changeset we don't remove frames that aren't painted from the approximately visible list. So the list only grows during a paint. But the next time the we do a full update of approximately visible images it can shrink.
We need this because the video element uses visibility to start/stop decoding (bug 1282710, bug 1299065) and we want frames that are painted to for sure be marked as visible.
2016-09-12 00:19:08 -05:00
Timothy Nikkel
0b6fd97ae9
Bug 1284350. Backed out changeset 69abdc731a99 (Bug 1261554 (Part 1) - Prepare for implementing in-displayport visibility tracking. r=mstange)
2016-09-12 00:19:08 -05:00
Timothy Nikkel
154ad5a083
Bug 1284350. Backed out changeset 82c3b4b81d82 (Bug 1261554 (Part 2) - Mark frames which are added to the display list when painting to the window as having Visibility::IN_DISPLAYPORT. r=mstange)
2016-09-12 00:19:08 -05:00
Timothy Nikkel
c630475661
Bug 1284350. Backed out changeset bb3bf463c0ec (Bug 1261554 (Part 3) - Visualize Visibility::IN_DISPLAYPORT regions in the APZ minimap visibility debugger. r=botond)
2016-09-12 00:19:08 -05:00
Timothy Nikkel
cb67cca872
Bug 1284350. Backed out changeset d6a286242f2d (Bug 1268348 - Pass the previous visibility state to OnVisibilityChange(). r=mstange)
2016-09-12 00:19:07 -05:00
Timothy Nikkel
88bb36312b
Bug 1284350. Backed out changeset 4517cddd204e (Bug 1269934 - Handle visible frame sets more generically in PresShell. r=mstange)
2016-09-12 00:19:07 -05:00
Timothy Nikkel
8c2253ad04
Bug 1284350. Backed out changeset 103dc4eddacf (Bug 1282710 - part 2 - Plumb the visibility event from nsIFrame to nsIDOMMediaElemnt; r=seth)
2016-07-26 17:43:58 -05:00
Kyle Machulis
f8661f72f8
Bug 820831 - Turn on ContentScaleFactor calculation on Windows; r=jimm
...
MozReview-Commit-ID: 5rqTURsO839
--HG--
extra : rebase_source : 2e2f71d825221723990049958d43d6e2eb40411d
2015-09-17 13:31:34 -07:00
Carsten "Tomcat" Book
c81bda3e2d
Merge mozilla-central to autoland
2016-09-09 12:19:59 +02:00
Carsten "Tomcat" Book
0f2c669a48
merge mozilla-inbound to mozilla-central a=merge
2016-09-09 12:02:43 +02:00
Ting-Yu Lin
13f0d4632f
Bug 1299753 Part 2 - Create block formatting context for DetailsFrame if needed. r=bz
...
nsCSSFrameConstructor::ConstructNonScrollableBlock() has logic to
determine whether to create a block formatting context for a block
frame. I refactor the function to make it reusable by
nsCSSFrameConstructor::ConstructDetailsFrame().
Also, make NS_NewBlockFrame() accept two arguments as other frame
factory functions so that it could be pointed by BlockFrameCreationFunc.
NS_NewBlockFormattingContext is changed accordingly.
The construction for a scrollable DetailsFrame will be further revised
in Part 3.
MozReview-Commit-ID: 8TwG9YMyGva
--HG--
extra : rebase_source : fffdd974df81a809a607491d2534aa8dd2d13ab1
2016-09-07 14:45:42 +08:00
Manish Goregaokar
aad318e17a
Bug 1300337
- Replace None_ variants from nsStyleConsts.h with None; r=heycam,TYLin
...
MozReview-Commit-ID: CxHzbEzjLxT
--HG--
extra : rebase_source : 232f90b8b107f7fb49f47a29a4e493660b8a7d87
2016-09-04 00:16:58 +05:30
Nicholas Nethercote
f4ec41d9b5
Bug 1297300 - Add missing checks to GetSpec() calls in layout/. r=dholbert,heycam.
...
--HG--
extra : rebase_source : b3a26866746cde4337f5ffeff94f370b2eb7da3e
2016-08-31 20:10:10 +10:00
cku
069847c2be
Bug 1295094 - Part 15. (follow up) Correct comments.(DONTBUILD) r=me
...
MozReview-Commit-ID: Kw8rrduASI2
--HG--
extra : rebase_source : c67b6b09563f223434889124d2c9f68e8a8fe9a9
extra : amend_source : dcb23bf43c12e527550f130793d61f10e4a395c1
2016-09-09 11:24:15 +08:00
Brad Werth
4ca89baabe
Bug 1281446 - Resolved value of grid-template-columns/rows now lists removed auto-fit tracks as 0px. r=mats
...
--HG--
extra : rebase_source : 1590c0690945a702ab519b6aa66c90e2a2e86222
2016-09-08 08:40:06 -07:00
Wes Kocher
c067786818
Merge m-c to inbound, a=merge CLOSED TREE
2016-09-08 15:28:31 -07:00
Daniel Holbert
f94ce2e824
(no bug) minor whitespace cleanup in nsVideoFrame.cpp. (no review, whitespace-only) DONTBUILD
...
MozReview-Commit-ID: EuW9ZzKcClm
2016-09-08 10:21:52 -07:00
Bas Schouten
4d5484cc37
Bug 1297427: Discount border dots with negative radii. r=jrmuizel
...
MozReview-Commit-ID: 1CONhbL8ZAb
--HG--
extra : rebase_source : 07766295f9b7e238882f8711720bb1ce48977ade
2016-09-08 14:00:54 +02:00
Kartikaya Gupta
0de88e9b65
Bug 1295019 - Suppress the APZ displayport while doing main-thread async scrolling. r=BenWa
...
MozReview-Commit-ID: 4xbotjcH3ZU
--HG--
extra : rebase_source : 56efef087af9e2675810c85611ee4bb2712e27ac
2016-09-08 13:30:04 -04:00
Wes Kocher
5cbc382303
Merge inbound to m-c a=merge
2016-09-07 17:54:24 -07:00
Carsten "Tomcat" Book
7c6c7db247
Merge mozilla-central to autoland
2016-09-07 17:26:11 +02:00
Carsten "Tomcat" Book
1c61ba654e
merge mozilla-inbound to mozilla-central a=merge
2016-09-07 17:20:12 +02:00
Kartikaya Gupta
f2a9facccf
Bug 1297419 - Ensure that APZ smooth scrolls don't get clobbered by the main thread as a side-effect of reflow. r=tnikkel
...
MozReview-Commit-ID: 9124WMy8SmD
--HG--
extra : rebase_source : 848664a73b2357bbbc49604df03288fe5986053b
2016-09-06 14:43:41 -04:00
Carsten "Tomcat" Book
656d6db419
Merge mozilla-central to mozilla-inbound
2016-09-07 17:21:27 +02:00
Michael Layzell
118a8b7507
Bug 1018486 - Part 4: Changes in layout/, r=bz
...
MozReview-Commit-ID: BsaKGHsoqOq
2016-09-07 10:50:40 -04:00
Jeremy Chen
ff6fbed7e1
Bug 1297306 - part7:replace StyleClear related NS_ASSERTION with MOZ_ASSERT. r=xidorn
...
MozReview-Commit-ID: Dzd3uOoQCI
--HG--
extra : rebase_source : 821b1b69be94796c1bf7d28142c8653498fb1930
2016-09-07 10:20:17 +08:00
Jeremy Chen
c6d0429830
Bug 1297306 - part6:replace NS_STYLE_CLEAR_* with StyleClear enum class. r=xidorn
...
After using enum class, a switch-case warning in CombineBreakType is caught.
This is one of such kind safty checks that we would like to gain.
Fix it by adding default case for switch-case in CombineBreakType.
MozReview-Commit-ID: BdS3LPN6qzX
--HG--
extra : rebase_source : 17f24a0d482ed6eb51b23e6942d0ac1c87375e0b
2016-09-07 10:20:17 +08:00
Jeremy Chen
59704a5d4b
Bug 1297306 - part3:make BreakTypeToString() to be a member of nsLineBox. r=xidorn
...
With this change, we could export BreakTypeToString() to other files that desire
to print break type for debugging.
MozReview-Commit-ID: 34m1BWAmZTB
--HG--
extra : rebase_source : 2d613e7caffb36ec23b684dab538a9f5d6e34f65
2016-09-07 10:20:16 +08:00
Jeremy Chen
0cd76e6b59
Bug 1297306 - part2:make the implementation of nsLineBox::LastChild() be behind DEBUG_FRAME_DUMP flag. r=xidorn
...
This should've been covered in Bug 956447. The declaration is already behind
DEBUG_FRAME_DUMP in nsLineBox.h. Just move the implementation to agreee with that.
MozReview-Commit-ID: 9N0WxKkajF1
--HG--
extra : rebase_source : b79b068b8a84c66f289d40deb5b5b9347fb7c4a4
2016-09-07 10:20:16 +08:00
Jeremy Chen
9ab3247b7d
Bug 1297306 - part1:remove unused NS_STYLE_CLEAR_* condition. r=xidorn
...
NS_STYLE_CLEAR_NONE has been defined to 0 for like forever, so this code should
never be run. Remove it.
MozReview-Commit-ID: IQ73H6QGsPX
--HG--
extra : rebase_source : 4a32e0e7cd4325b0741f542a796fd1da4de10075
2016-09-07 10:20:16 +08:00
Xidorn Quan
57e31c7faa
Bug 1260031 followup - Remove unused parameter of BlockReflowInput::ComputeBlockAvailSpace. r=dbaron
...
MozReview-Commit-ID: 7ZZ0xw9l4YZ
--HG--
extra : rebase_source : 7b0c0138cf1af76608db4fb997c313a590ef054e
2016-08-22 21:39:54 +10:00
Xidorn Quan
4e5bd79656
Bug 1260031 - Not force break before a block when calculating intrinsic width if the current line is empty and the block cannot intersect floats. r=dbaron
...
MozReview-Commit-ID: 9rNUDK5t5jg
--HG--
extra : rebase_source : 2a852efe3f9801884e558f22ae7d9550fae87836
2016-08-23 09:29:45 +10:00
Daniel Holbert
5efd12c5f0
Bug 1300206: Add some missing #includes & namespaces in layout/generic, to prevent unified build bustage. r=mats
...
MozReview-Commit-ID: ETITppCzDjo
--HG--
extra : rebase_source : ca6f99991c9dfb1cf00c716c57b959d825560858
2016-09-02 15:01:09 -07:00
Wes Kocher
1c8f6396c3
Merge m-c to autoland, a=merge
2016-09-02 13:34:45 -07:00
cku
fecac37ed2
Bug 1295094 - Part 14. Skip any filter effect while generating glyph mask for bg-clip:text. r=jfkthame
...
MozReview-Commit-ID: CTzu7uhAaQM
--HG--
extra : rebase_source : cf935bf3e8cc2b7081bd016fea94b8d5062ad014
2016-09-01 14:54:11 +08:00
cku
5760f377d3
Bug 1295094 - Part 12. nsDisplayFilter creation flow. r=mstange
...
MozReview-Commit-ID: 3Ts8GqYyNej
--HG--
extra : rebase_source : 96a2f2c7ad69328a62a0033603fa572341b25099
2016-09-01 11:11:54 +08:00
cku
78ca020a31
Bug 1295094 - Part 10. nsDisplayMask creation flow. r=mstange
...
MozReview-Commit-ID: Jk9B54WtThK
--HG--
extra : rebase_source : 199b71fef0cce209b048dc362f89ecd700fda3e9
2016-08-16 13:56:11 +08:00
cku
40235c5c47
Bug 1295094 - Part 9. Implement nsDisplayMask. r=mstange
...
MozReview-Commit-ID: CBszApBehRE
--HG--
extra : rebase_source : 94a1aee20a569e0e061d20cae81b1112275cd1a6
2016-08-10 03:02:45 +08:00
Wes Kocher
c28fdd5c48
Merge inbound to m-c a=merge
2016-09-01 17:51:22 -07:00
Kartikaya Gupta
3a210fcece
Bug 1247074 - When a compositor-based smooth scroll animation is in progress and the scrollframe is reconstructed, restore to the animation destination. r=tnikkel
...
MozReview-Commit-ID: 73juHWNfoQy
--HG--
extra : rebase_source : 2820533eeb48870956cd6e545bd7705c898a6cad
2016-08-29 20:28:40 -04:00
Mats Palmgren
70a3ff3851
Bug 1171419 part 10 - Rename RenumberLists() to RenumberList(). r=xidorn
2016-09-01 17:36:23 +02:00
Mats Palmgren
048fee4b1e
Bug 1171419 part 9 - Implement list-item numbering for flex containers. r=xidorn
2016-09-01 17:36:23 +02:00
Mats Palmgren
2e21f27897
Bug 1171419 part 8 - Implement list-item numbering for grid containers. r=xidorn
2016-09-01 17:36:23 +02:00
Mats Palmgren
fa28266c00
Bug 1171419 part 7 - Make nsBlockFrame::AttributeChanged look for flex/grid ancestors too, not just blocks. r=xidorn
2016-09-01 17:36:22 +02:00
Mats Palmgren
0d83513904
Bug 1171419 part 6 - Move nsBlockFrame::AttributeChanged <ol> handling to nsContainerFrame so that it works not just for blocks. r=xidorn
2016-09-01 17:36:22 +02:00
Mats Palmgren
a09260b96b
Bug 1171419 part 5 - Implement nsContainerFrame::RenumberChildFrames and make RenumberFrameAndDescendants deal with flex/grid containers too. r=xidorn
2016-09-01 17:36:22 +02:00
Mats Palmgren
68fa5f865f
Bug 1171419 part 4 - Move nsBlockFrame::RenumberLists to nsContainerFrame and generalize it. r=xidorn
2016-09-01 17:36:22 +02:00
Mats Palmgren
4d1e047ac5
Bug 1171419 part 3 - Override RenumberFrameAndDescendants in nsPlaceholderFrame instead and deal with it there rather than nsContainerFrame. r=xidorn
2016-09-01 17:36:22 +02:00
Mats Palmgren
6e54c147d1
Bug 1171419 part 2 - Remove useless aPresContext param from RenumberLists. r=xidorn
2016-09-01 17:36:22 +02:00
Mats Palmgren
caa4e63ee5
Bug 1171419 part 1 - Move some list-item numbering code from nsBlockFrame to nsContainerFrame. r=xidorn
...
Drop the aPresContext and aBlockFrame params from RenumberListsInBlock
and rename it RenumberChildFrames. Use 'this' instead of aBlockFrame.
Rename RenumberListsFor to RenumberFrameAndDescendants.
2016-09-01 17:36:22 +02:00
Andi-Bogdan Postelnicu
da76df17e5
Bug 1299102 - swap NS_PRECONDITION with MOZ_ASSERT in TransformString. r=jfkthame
...
MozReview-Commit-ID: 7X6QA8qazKL
--HG--
extra : rebase_source : 02bb2eaf574590a0414d60026eaa3a480f19ce09
2016-08-31 12:15:31 +03:00
Makoto Kato
ec124dbfbd
Bug 1299054 - Remove old Android support (API level < 15) from Gecko. r=snorp
...
MozReview-Commit-ID: K32YSqGsLf9
--HG--
extra : rebase_source : be0d3b3fc1146234efc75229171ea61258c46492
2016-08-30 14:11:55 +09:00