Jessica Jong
e854e57b5b
Bug 1278738 - Add 'week' to the list of valid types attributes for <input>. r=smaug
2016-08-15 23:15:00 -04:00
L. David Baron
ad0f663d00
Bug 1294918 - Use helper method nsIFrame::IsFixedPosContainingBlock. r=dholbert
...
MozReview-Commit-ID: 5fdGqLSOjvs
2016-08-12 18:39:45 -07:00
L. David Baron
287271d650
Bug 1294918 - Fix spelling of method name nsIFrame::IsAbsPosContainingBlock. r=dholbert
...
This misspelling was introduced in bug 1125767, changeset b9951cca6d1f.
MozReview-Commit-ID: KQNlLelY2Kn
2016-08-12 18:39:45 -07:00
Emilio Cobos Álvarez
d529d90d3b
Bug 1290335: Reuse the OverflowChangedTracker between both restyle managers. r=heycam
...
MozReview-Commit-ID: objnqfecZD
2016-08-03 15:11:15 -07:00
Bobby Holley
e2c6052b1b
Bug 1290214 - Remove NS_ERROR for XBL stylesheet management. r=emilio
2016-07-28 17:25:49 -07:00
Bobby Holley
b360d83801
Bug 1289624 - Switch to UniquePtr for managing ServoNodeData. r=heycam
2016-07-27 13:34:55 -07:00
Bobby Holley
1c9c1d221f
Bug 1289620 - Hook up initial styling. r=heycam
...
Aside from the parser-side hacks, this should subsume all the current scattered
logic in the stylo tree to handle initial styling.
2016-07-27 09:44:25 -07:00
Emilio Cobos Álvarez
95dc632f01
Bug 1286445: stylo: Support restyles of non-pseudo content on state change. r=heycam
...
This includes, for example :hover.
Also removes the call to IsStyledByServo() in the document constructor, it's not
only unnecessary, but also we call UpdateStyleBackendType() too early.
MozReview-Commit-ID: 4YfCdmLoSxu
2016-07-16 16:22:12 -07:00
Emilio Cobos Álvarez
948a479bad
Bug 1285474: stylo: Add dirtiness-tracking hooks for Servo and convenient methods. r=bholley
...
Also, guard with asserts the access to the new shared flags.
MozReview-Commit-ID: H9UFFHRPmiu
2016-07-12 00:33:57 -07:00
Jessica Jong
1a6a96c66a
Bug 1278737 - Add 'month' to the list of valid types attributes for <input>. r=smaug
2016-07-03 23:19:00 +02:00
Sebastian Hengst
b74bde4463
Backed out changeset 444a4a7233f7 (bug 1278737) for frequent web platform test 2 failure on OSX in form-validation-reportValidity.html. r=backout
2016-07-01 20:04:58 +02:00
Jessica Jong
88770ff520
Bug 1278737 - Add 'month' to the list of valid types attributes for <input>. r=smaug
2016-06-29 23:16:00 +02:00
Timothy Nikkel
f3bb7137e4
Bug 1278455. If the root element is grid or flex, allow it to be an absolute containing block. r=dholbert
...
If the root element is block or table then the PushAbsoluteContainingBlock call happens in ConstructBlock and ConstructTable respectively.
2016-06-26 12:25:11 -05:00
Astley Chen
f691419a15
Bug 1277131 : Part 3 - rename nsGkAtoms::tableOuterFrame and nsCSSAnonBoxes::tableOuter. r=heycam
...
MozReview-Commit-ID: 7GIjtUH9hdZ
2016-06-16 13:35:43 +01:00
Astley Chen
ca13d10ee9
Bug 1277131 : Part 1 - rename nsTableOuterFrame to nsTableWrapperFrame. r=heycam
...
MozReview-Commit-ID: KrSHLbmovTM
2016-06-16 13:14:08 +01:00
Cameron McCormack
7a7f05642d
Bug 1275452 - Part 2: Eagerly restyle native anonymous content in stylo. r=bholley
2016-05-25 16:55:49 +10:00
Robert Longson
dfd2532112
Bug 1260032 - drop support for altGlyph as a tspan. r=cam r=peterv (DOM Peer)
2016-05-10 10:02:20 +01:00
Cameron McCormack
da49d92837
Bug 1268404 - Part 1: Split out ResolveStyleForText from ResolveStyleForNonElement and pass in the text node. r=bholley
2016-04-29 14:01:44 +10:00
Xidorn Quan
15df861e15
Bug 1097499 part 3 - Add a separate anonbox for text nodes. r=heycam
...
MozReview-Commit-ID: 1GfoFEGhyka
2016-04-22 09:18:41 +10:00
L. David Baron
7511e4ea42
Bug 1053986 - Rename nsIFrame::IsBoxFrame to IsXULBoxFrame. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
But with additional manual changes in accessible/.
MozReview-Commit-ID: W0wUPoQsVH
2016-04-20 21:28:30 -07:00
Ting-Yu Lin
c1ae09c878
Bug 1258657 Part 2 - Remove SummaryFrame. r=bz
...
We can use nsBlockFrame to render summary elements.
This change undoes "Bug 591737 - Add SummaryFrame" and remove
summaryFrame usage in DetailsFrame and nsCSSFrameConstructor.
MozReview-Commit-ID: 4aJvHVPfsBb
2016-04-13 13:34:14 +08:00
Jonathan Watt
570328a826
Bug 1263787 - Kill off the deprecated nsINode::GetCrossShadowCurrentDoc. r=baku
2016-03-31 13:20:14 +01:00
Jonathan Watt
947f9705a7
Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku
2016-03-31 12:46:32 +01:00
Xidorn Quan
65028aeee9
Bug 1236828 part 2 - Make frame constructor support absolutely-positioned top layer frame. r=bz
...
MozReview-Commit-ID: 4imCeroEaVi
2016-04-11 15:30:48 +10:00
Bobby Holley
dfafc9a559
Bug 1261452 - do_AddRef shouldn't require an rvalue-reference. r=froydnj
2016-04-01 19:14:42 -07:00
Nicholas Nethercote
7f7c26ed62
Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
...
do_GetAtom() is currently just a synonym for NS_NewAtom().
2016-03-29 10:09:43 +11:00
Daniel Holbert
ff3a1cedde
Bug 1236400 part 2: Extend NeedsAnonFlexOrGridItem() & related code to wrap all inline-level -webkit-box children in an anonymous flex item. r=mats
...
MozReview-Commit-ID: LK4VW0xSI5m
2016-03-24 09:55:11 -07:00
Daniel Holbert
22b6cb5f0f
Bug 1236400 part 1: Add internal enum values to represent "display: -webkit-box" & "display: -webkit-inline-box". r=mats
...
These new enum values are added with same behavior as their modern flexbox
equivalents -- they're hooked up to NS_NewFlexContainerFrame, and they're
listed alongside the modern flexbox enums in 'switch' & 'if' statements.
There's one exception, which I call out with a comment at the end of the patch:
we don't treat -webkit-box the same as flexbox in IsFlexOrGridDisplayType(),
because that method is used to determine whether we should blockify
inline-level children of a flex/grid container, and we don't want to blockify
any children of a -webkit-box. (Instead, we want to wrap them in an anonymous
flex item. That happens in the next patch.)
MozReview-Commit-ID: 9BB4Ib2KpvE
2016-03-24 09:55:11 -07:00
Mats Palmgren
4335b255b0
Bug 1233191 part 1 - Implement sanity checks on the flex/grid container child frame list. Remove the anon grid item sanity checks that the frame constructor now does instead. r=dholbert
2016-03-18 19:52:08 +01:00
Mats Palmgren
e8cb1ff5c5
Bug 1144096 part 7 - [css-grid] Don't create PageBreakFrames inside a Grid container. The container will handle forced breaks on its items. r=dholbert
2016-03-11 17:39:26 +01:00
Mats Palmgren
d3defeee82
Bug 1144096 part 6 - [css-grid] Add support for creating Grid container continuations and deal with overflow containers. r=dholbert
2016-03-11 17:39:26 +01:00
Cameron McCormack
cbb5f757f4
Bug 1248864 - Part 3: Use RestyleManagerHandle instead of concrete restyle manager class. r=dholbert
2016-02-24 18:01:12 +11:00
Cameron McCormack
471cf640eb
Bug 1248864 - Part 1: Move RestyleManager.h to EXPORTS.mozilla. r=dholbert
2016-02-24 18:01:12 +11:00
Cameron McCormack
8a879b8032
Bug 1244068 - Part 4: Use StyleSetHandle instead of concrete style set class in most places. r=dholbert
2016-02-24 18:01:11 +11:00
Boris Chiou
32cdf253b7
Bug 1244049 - Part 2: Replace nsCSSPseudoElements::Type with CSSPseudoElementType. r=dbaron
...
Also, try to use forward declaraions for CSSPseudoElementType;
2016-02-17 21:37:00 +01:00
Boris Chiou
16edfa82cd
Bug 1244049 - Part 1: Define scoped enum for CSSPseudoElement type. r=dbaron
2016-02-16 23:07:00 +01:00
Ting-Yu Lin
36cb8f27fa
Bug 1246185 - Do not collapsed <details> when preference off. r=bz
...
To retain backward compatibility, <details> tags should not collapse its
children when dom.details_element.enabled = false.
2016-02-09 14:07:01 +08:00
Ting-Yu Lin
edb31b5f99
Bug 591737 - Add pref for details and summary elements. r=bz
2016-01-20 23:20:43 +08:00
Ting-Yu Lin
5ec9e745ba
Bug 591737 - Construct details and summary in nsCSSFrameConstructor. r=bz
2016-02-02 17:39:49 +08:00
Birunthan Mohanathas
bfee0fb40c
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d871b9515f
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
245cd6a02f
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Ting-Yu Lin
60711ad8f1
Bug 1227927 Part 3 - Use ranged-based for-loop to rewrite some simple loops in part 2. r=mats
2016-01-29 22:42:15 +08:00
Ting-Yu Lin
122e5b9aeb
Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
2016-01-29 22:42:14 +08:00
Xidorn Quan
506664c2df
Bug 1230034 part 7 - Convert nsIFrame::GenConProperty to be typed. r=dbaron
2016-01-28 14:23:59 +11:00
Xidorn Quan
8e2ada8719
Bug 1230034 part 4 - Make FramePropertyDescriptor to be a template. r=froydnj,dbaron
...
This patch makes methods of FramePropertyTable and FrameProperties to be
simple template wrapper functions. Then it converts all references to
FramePropertyDescriptor to use "void" parameter to simulate the current
unsafe behavior.
SmallValueHolder is used for storing small values like int32_t, float,
which can fit in the size of a pointer directly, and thus no lifetime
management is needed.
2016-01-28 14:23:59 +11:00
Xidorn Quan
56b9331e0f
Bug 1064843 part 10 - Create and render backdrop frame for top layer frames. r=dbaron
2016-01-28 10:11:00 +11:00
Xidorn Quan
fba483483d
Bug 1064843 part 9 - Change nsCSSFrameConstructor::CreatePlaceholderFrameFor to accept parent style context. r=dbaron
2016-01-28 10:11:00 +11:00
Xidorn Quan
4213a7c9b9
Bug 1064843 part 4 - Add a placeholder type for top layer. r=roc
2016-01-28 10:11:00 +11:00
Xidorn Quan
3552dbe981
Bug 1233135 - Do not touch display value of anonymous box for ruby. r=dbaron
2016-01-26 20:31:45 +11:00