Emilio Cobos Álvarez
d1f4335361
Bug 1355351: Clean up pseudo-element props. r=heycam
...
MozReview-Commit-ID: JZAhEN3chPs
2017-04-19 10:27:33 +02:00
Emilio Cobos Álvarez
85a881db75
Bug 1355351: Add a node property to access the ::before and ::after pseudo-elements. r=heycam
...
MozReview-Commit-ID: FJxJp2U0Lxh
2017-04-16 17:29:49 +02:00
Emilio Cobos Álvarez
d133d0c021
Bug 1358570: Make PurgeCompletedTransitions lookup the correct animation collection. r=hiro
...
Probably GetAnimationCollection itself should assert against it, but that's a
bigger task right now...
MozReview-Commit-ID: JxFWXtgMAXy
2017-04-21 16:53:21 +02:00
Astley Chen
23e215d602
Bug 1355752 - Remove B2G code from nsCSSFrameConstructor.cpp. r=dholbert
...
MozReview-Commit-ID: Kvzn02nmzb0
2017-04-20 13:16:43 +08:00
Emilio Cobos Álvarez
be5f37c95d
Bug 1354886: null-check parent in FrameConstructor::StyleNewChildren. r=heycam
...
MozReview-Commit-ID: DLZxQu8LI4o
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io >
2017-04-13 00:30:00 +08:00
Cameron McCormack
c023cd4030
Bug 1353317 - stylo: For newly added content, note dirty descendants in the lazy frame construction case through the flattened tree parent. r=bholley
...
MozReview-Commit-ID: L6MhRK3zmSc
2017-04-04 18:28:05 +08:00
Cameron McCormack
7341326d0c
Bug 1351535 - Part 7: Call StyleSubtreeForReconstruct when doing frame reconstruction. r=bholley
...
MozReview-Commit-ID: HxoGLPKJpnt
2017-04-04 19:36:09 +08:00
Cameron McCormack
73a1b8bdaf
Bug 1351535 - Part 3: Only explicitly style newly inserted content if the parent is not in a display:none subtree. r=bholley
...
If we append children to an element inside a display:none tree and we
decide not to do lazy frame construction, StyleNewChildren will assert.
It's also unnecessary, anyway, since we want to keep the descendants
of the display:none element free of ElementData.
MozReview-Commit-ID: 19tuzAzAIDp
2017-04-04 19:21:05 +08:00
Cameron McCormack
21a32ad0d3
Bug 1351535 - Part 2: Explicitly indicate when a ContentRangeInserted call is for frame reconstruction. r=bholley
...
It wasn't clear to me whether the existing check for whether we are
under a restyle was sufficient to cover all cases of reconstructing
frames, so this patch makes it more explicit by passing that state
into ContentAppended and ContentRangeInserted.
MozReview-Commit-ID: HjlDCzJv97n
2017-04-04 19:17:35 +08:00
Xidorn Quan
95cf226194
Bug 1351957 - Create URLExtraData for holding base uri, referrer, and principal. r=heycam
...
MozReview-Commit-ID: 1wqTb3kvvWh
2017-03-30 18:54:48 +11:00
Sebastian Hengst
4111d5a496
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: EjvlThqFc40
2017-04-02 18:52:13 +02:00
Cameron McCormack
1dac83f970
Bug 1352785 - stylo: Ensure children of elements with invalid -moz-binding URLs get styled. r=bholley
...
MozReview-Commit-ID: 2zot13HgjWU
2017-04-02 15:15:44 +08:00
Olli Pettay
45822311b7
Bug 1351860 - Move mType from HTMLInputElement to nsIFormControl and make GetType non-virtual inlined, r=jessica
2017-03-31 22:49:00 -04:00
Emilio Cobos Álvarez
8e43bfcdc9
Bug 1351791: Simplify PostRestyleEventForLazyConstruction. r=bholley
...
MozReview-Commit-ID: 2jsrojLzYeo
2017-03-31 11:56:29 +02:00
Emilio Cobos Álvarez
529ee020ee
Bug 1351791: Move PostRestyleEventForLazyConstruction and PostRestyleEventInternal to GeckoRestyleManager. r=bholley
...
MozReview-Commit-ID: 5lrNlkbrnZb
2017-03-31 11:56:29 +02:00
Bobby Holley
b86b97cc10
Bug 1350244 - Back out bug 1348606 part 5 (Use a threadsafe array for counters). r=me
...
This reverts commit 07301f1c3f71b36dbe2345e8faa9bc6d643cfc97.
MozReview-Commit-ID: 8tLjUhki2C1
2017-03-29 11:05:17 -07:00
Bobby Holley
cf2cd53e13
Bug 1350441 - Clear servo data when tearing down frames for DestroyFramesFor. r=heycam
...
MozReview-Commit-ID: DWwu8FqSjdj
2017-03-29 09:27:24 -07:00
Boris Zbarsky
2ab5f6b014
Bug 1351139. Use only one kind of anonymous box for the block wrappers we create for a block-inside-inline split. r=dbaron
...
Note that this removes the useless (because this anon box is never absolutely
positioned) "clip: inherit" style.
MozReview-Commit-ID: iJJdv5VL06
2017-03-28 21:26:31 -04:00
Cameron McCormack
6893bbde8d
Bug 1349487 - stylo: Eagerly style content appended in a ShadowRoot. r=bholley
...
MozReview-Commit-ID: FnTwSW8YF2p
2017-03-24 14:44:11 +08:00
Cameron McCormack
6c077daa8b
Bug 1349134 - stylo: Style newly appended children of an element with a binding through their flattened tree parents. r=bholley
...
MozReview-Commit-ID: 3fQouTm2bw4
2017-03-24 14:27:22 +08:00
Ting-Yu Lin
357d8b7edc
Bug 1322570 Part 5 - Use GetParentAllowServo() related to first letter frame. r=bz
...
::first-letter is not support by stylo yet. (bug 1324618)
MozReview-Commit-ID: KwQk2jhn53c
2017-03-20 14:13:32 +08:00
Mats Palmgren
4729a520a5
Bug 1333482 part 2 - [css-ui] Change all consumers of StyleDisplay::mAppearance to use the accessor UsedAppearance() instead, and make mAppearance/mMozAppearance private. r=dholbert
...
MozReview-Commit-ID: 8JwLsY1CLDJ
2017-03-23 22:11:18 -07:00
Bobby Holley
c374cf6caa
Bug 1348606 - Use a threadsafe array for counters. r=xidorn
...
MozReview-Commit-ID: KgTgcD5mGqr
2017-03-23 10:56:49 -07:00
cku
94cb42c027
Bug 1349462 - Part 1. Rename IsSVGText as IsInSVGTextSubtree. r=heycam
...
MozReview-Commit-ID: LTo6c8tTtaf
2017-03-23 15:29:11 +08:00
Cameron McCormack
ca7d0a0adc
Bug 1349457 - stylo: Eagerly style generated content. r=bholley
...
MozReview-Commit-ID: Jv3hNEjUonp
2017-03-23 11:44:00 +08:00
Mats Palmgren
259eff1c5f
Bug 1348665 part 4 - Remove some params to SyncFrameViewProperties and make it a member function instead. Make the aView param optional, use the frame's view if none provided. r=tnikkel
...
MozReview-Commit-ID: KTUaiqr0cmT
2017-03-21 01:22:13 +01:00
Mats Palmgren
683f0d5571
Bug 1348665 part 2 - Remove the ViewProperty and store the nsView* in a field on the relevant frame classes instead. r=tnikkel
...
The relevant frame classes are:
SubDocumentFrame
ListControlFrame (only when used for (non-e10s?) comboboxes)
PluginFrame
ViewportFrame
MenuPopupFrame
The view is now created in the frame's Init() method, except for
ViewportFrame which has its view assigned by the frame constructor
via a SetView() call.
MozReview-Commit-ID: 4O7Hm1yqwIp
2017-03-21 01:22:13 +01:00
Mats Palmgren
fcf1999622
Bug 1348665 part 1 - Move a few nsView related methods from nsContainerFrame to nsIFrame/nsFrame (idempotent patch). r=dholbert
...
Views are used for PluginFrame which inherits nsFrame, not nsContainerFrame,
so it's more appropriate that these methods should live in nsIFrame/nsFrame.
MozReview-Commit-ID: 87EgCnkF5YT
2017-03-21 01:22:13 +01:00
Emilio Cobos Álvarez
c4199a94f8
Bug 1296516: Cleanup infallible or unchecked nsCSSFrameConstructor methods. r=heycam
...
MozReview-Commit-ID: IoMOQyAhadv
2017-03-20 22:28:16 +01:00
Cameron McCormack
0344da46e0
Bug 1330843 - Allow JS to create NAC pseudo-elements. r=bholley
...
MozReview-Commit-ID: 2aBPoCOsT6R
2017-03-17 15:30:34 +08:00
Cameron McCormack
19424dc867
Bug 1346623 - Part 1: Prevent canvas custom content from becoming NAC when reframing the root element. r=bholley
...
MozReview-Commit-ID: K7jcUuz6KI4
2017-03-16 17:43:44 +08:00
Carsten "Tomcat" Book
0aafff2239
Backed out changeset 9e40bc33e620 (bug 1346623) for perma leak in chrome-style stylo tests
2017-03-17 08:19:20 +01:00
Cameron McCormack
675ee29a7e
Bug 1346623 - Part 1: Prevent canvas custom content from becoming NAC when reframing the root element. r=bholley
...
MozReview-Commit-ID: K7jcUuz6KI4
2017-03-16 17:43:44 +08:00
Boris Zbarsky
2387c1930e
Bug 1347411 part 7. Change stylo to correctly recompute style of SVG anonymous wrapper boxes. r=heycam
...
This handles ::-moz-svg-marker-anon-child and ::-moz-svg-outer-svg-anon-child.
MozReview-Commit-ID: 8FcYeDG1CKZ
2017-03-15 14:00:44 -04:00
Boris Zbarsky
9e5abec7c5
Bug 1347411 part 6. Change stylo to correctly recompute style of column-content anonymous boxes. r=heycam
...
MozReview-Commit-ID: 2pNOSVUuLJK
2017-03-15 14:00:43 -04:00
Boris Zbarsky
135431d3d6
Bug 1347411 part 5. Change stylo to correctly recompute style on the anonymous boxes that hang off comboboxes. r=heycam
...
I did manual testing for ::-moz-dropdown-list. Unfortunately, the only way I
know to test it is to have a combobox in a non-e10s window and dynamically
change its background color, then drop down the dropdown and see whether it
picked up the changed background color.
MozReview-Commit-ID: B2RkW4otv4s
2017-03-15 14:00:43 -04:00
Boris Zbarsky
ffbc5b982b
Bug 1347411 part 3. Fix stylo to properly update styles for the content container frame of <fieldset>. r=heycam
...
MozReview-Commit-ID: D9D2xtjRldF
2017-03-15 14:00:43 -04:00
Boris Zbarsky
858d80dab7
Bug 1347411 part 2. Fix stylo to properly update styles for the various frames that use FCDATA_WITH_WRAPPING_BLOCK to wrap an anonymous block around their kids. r=heycam
...
This handles ::-moz-button-content, ::-moz-html-canvas-content, ::-moz-svg-text,
::-moz-svg-foreign-content.
MozReview-Commit-ID: 3xk7214X2uR
2017-03-15 14:00:43 -04:00
Boris Zbarsky
88f1ff35dd
Bug 1345362 part 6. Make ::-moz-pagebreak a non-inheriting anon box. r=heycam
...
MozReview-Commit-ID: ClqKv8HOFj4
2017-03-08 23:50:59 -05:00
Boris Zbarsky
60be80cd9e
Bug 1345362 part 4. Rename ResolveAnonymousBoxStyle to ResolveInheritingAnonymousBoxStyle. r=heycam
...
MozReview-Commit-ID: GVA1fTh0RDv
2017-03-08 23:50:28 -05:00
Boris Zbarsky
54f6f32286
Bug 1343879. Be consistent about the parent style context the document-level anonymous content container should get: it should get no parent style context. r=bholley
...
MozReview-Commit-ID: 8cVsXhVWBgS
2017-03-08 03:14:10 -05:00
Boris Zbarsky
52f4dcb32a
Bug 1343078 part 7. Make placeholders a non-inheriting anon box. r=dbaron
...
MozReview-Commit-ID: 3kQQroDRlr8
2017-03-08 00:18:40 -05:00
Boris Zbarsky
fda169de6c
Bug 1343078 part 1. Give placeholders and first-letter continuations different kinds of anonymous boxes. r=dbaron
...
MozReview-Commit-ID: B5IHgVUo1Rp
2017-03-08 00:18:32 -05:00
Bobby Holley
dc27ca735f
Bug 1343937 - Exempt scrollbar NAC from the new NAC semantics. r=bz
...
MozReview-Commit-ID: 8TbFkirYOy2
2017-03-07 13:54:38 -08:00
Bobby Holley
3a6abc4136
Bug 1343937 - Implement and use GetInFlowParent. r=bz
...
MozReview-Commit-ID: 3xMjHnVO2Az
2017-03-07 13:54:36 -08:00
Emilio Cobos Álvarez
19669e3337
Bug 1329877: Optimize AncestorFilter usage in lazy frame construction. r=bz
...
MozReview-Commit-ID: ErzurfQldHf
2017-02-27 23:35:06 +01:00
Boris Zbarsky
57c3f0661e
Bug 1340277. Fix stylo to properly update styles on the anonymous scrolled-content frame inside a scrollframe. r=emilio
...
MozReview-Commit-ID: DE4C6pIp8SC
2017-03-03 16:16:11 -05:00
Boris Zbarsky
279393753b
Bug 1343771. Fix stylo to properly update styles on the anonymous block inside a table cell. r=emilio
...
MozReview-Commit-ID: 8LnPTKVxxVc
2017-03-03 16:14:39 -05:00
Boris Zbarsky
76369661b5
Bug 1337696. Fix change hint computation for table-outer frames to be more correct. r=emilio
...
MozReview-Commit-ID: LgRmTlWsM6o
2017-03-03 15:54:47 -05:00
Boris Zbarsky
194b86b428
Bug 1340723 part 3. Fix stylo to properly update styles on the anonymous blocks we create in a block-inside-inline situation when the style of the inline changes. r=emilio
...
MozReview-Commit-ID: JYz6g1ZJInT
2017-03-03 15:45:40 -05:00