Emilio Cobos Álvarez
d7959cec21
Bug 1292618: Specialize ServoStyleSet::ResolveStyleForText to take into account generated nodes. r=heycam
...
Eventually, we might want to use the same mechanism that Gecko uses directly,
and stop styling text nodes from Servo.
This would have the benefit of removing the "stash the change on the parent"
thing.
MozReview-Commit-ID: IOxNR05jkh
2016-08-18 22:16:17 -07:00
Emilio Cobos Álvarez
9abb4abaeb
Bug 1292618: Support basic pseudo-element restyling. r=heycam
...
:before and :after only, for now.
MozReview-Commit-ID: 9hLFvVhqIrN
2016-08-18 22:16:16 -07:00
Manish Goregaokar
6eb3ca0a81
Bug 1275913 - Use already_addrefed properly when dealing with arcs sent from servo to gecko; r=bholley
...
MozReview-Commit-ID: 5FDS8J2Fo1G
2016-08-16 10:38:46 +05:30
Phil Ringnalda
a5bcb4d23c
Backed out 2 changesets (bug 1275913) for static analysis bustage
...
CLOSED TREE
Backed out changeset 4420244e8fba (bug 1275913)
Backed out changeset 324554b04f19 (bug 1275913)
2016-08-15 22:27:16 -07:00
Manish Goregaokar
af75fd460e
Bug 1275913 - Use already_addrefed properly when dealing with arcs sent from servo to gecko; r=bholley
...
MozReview-Commit-ID: 5FDS8J2Fo1G
2016-08-16 10:38:46 +05:30
Bobby Holley
627c54455e
Bug 1291885 - Use dont_AddRef for already-addrefed ServoComputedValues. r=emilio
2016-08-03 18:31:02 -07:00
Bobby Holley
f9ffa1c687
Bug 1291891 - Implement ServoStyleSet::ReplaceSheets. r=emilio
2016-08-03 18:30:56 -07:00
Bobby Holley
907138f9d9
Bug 1291891 - Don't segfault on null parent context in ServoStyleSet::ResolveStyleForOtherNonElement. r=emilio
2016-08-03 18:30:54 -07:00
Emilio Cobos Álvarez
38365be886
Bug 1290335: Improve error message of the anonymous box assertion. r=heycam
...
MozReview-Commit-ID: 6cJSBz03Yji
2016-08-03 15:11:15 -07:00
Bobby Holley
9edbeb583e
Bug 1290214 - Remove NS_ERROR for {un,partially-}implemented ServoRestyleManager and ServoStyleSet methods. r=emilio
...
These are core methods that we know we need to implement, and I'm not worried that
we'll forget about them. The warnings should be enough here.
2016-07-28 17:25:53 -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
df732f119d
Bug 1288873: Don't propagate the IS_DIRTY flag down the whole tree, just make it
...
imply that all descendants are dirty. r=heycam
We're probably going to be a lot more smarter than this in the future, but since
there is work in progress to figure out how should we avoid running
selector-matching on the elements, this helps a lot with perf in the meantime.
MozReview-Commit-ID: CEb15JwHAdH
2016-07-27 09:35:20 -07:00
Emilio Cobos Álvarez
029cda8ee4
Bug 1287951: stylo: Add support for computing style hints from Servo. r=heycam
...
MozReview-Commit-ID: ALuJxcfAMuL
2016-07-21 16:57:52 -07:00
Emilio Cobos Álvarez
ae8822a78a
Bug 1286445: Stub out HasStateDependentStyle. r=heycam
...
MozReview-Commit-ID: CbHfVNHFVS3
2016-07-16 16:22:12 -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
Cameron McCormack
7190d8a5a2
Bug 1275452 - Part 4: Remove anonymous content styling hack in ServoStyleSet. r=bholley
2016-05-25 16:55:50 +10:00
Cameron McCormack
78c45d4c94
Bug 1275452 - Part 1: Add Servo_RestyleSubtree for eagerly restyling a subtree of a document. r=bholley
2016-05-25 16:55:49 +10:00
Bobby Holley
ef4c0c2ac3
Bug 1270956 - Convert CSS_PSEUDO_ELEMENT_SUPPORTS_USER_ACTION_STATE assertion into a warning. r=me
2016-05-06 14:19:57 -07:00
Cameron McCormack
c0d4e40adb
Bug 1268759 - Make ServoStyleSet handle anonymous content incorrectly but without crashing. r=bholley
2016-05-06 14:19:57 -07:00
Cameron McCormack
55b473bc07
Bug 1270741 - Correctly resolve styles for non-elements. r=bholley
2016-05-06 00:32:00 +02:00
Cameron McCormack
0b0fb04138
Bug 1270374 - Create style context with correct pseudo tag in ServoStyleSet::ResolveAnonymousBoxStyle. r=bholley
2016-05-04 22:33:00 -04:00
Bobby Holley
6a8a891605
Bug 1268748 - Implement {Resolve,Probe}PseudoElementStyle. r=heycam
2016-04-29 19:21:48 -07:00
Cameron McCormack
2c08fa0488
Bug 1268404 - Part 2: Implement ServoStyleSet::ResolveStyleForText. r=bholley
2016-04-29 14:04:16 +10: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
Cameron McCormack
12bbd4ea6b
Bug 1268390 - Part 3: Add support for doc style sheets in ServoStyleSet. r=bholley
2016-04-29 14:01:44 +10:00
Bobby Holley
707dedecab
Bug 1267833 - Pass the RawServoStyleSet to Servo_GetComputedValuesForAnonymousBox. r=heycam
2016-04-26 23:39:44 -07:00
Cameron McCormack
65f6dce5fd
Bug 1267564 - Implement a couple of Servo-backed style object methods. r=bholley
2016-04-27 12:34:49 +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
Bobby Holley
174cb950de
Bug 1260310 - Create servo style contexts from ServoStyleSet. r=heycam
2016-03-29 22:16:38 -07:00
Bobby Holley
6358f5d78c
Bug 1251496 - Forward stylesheet management to RawServoStyleSet. r=heycam
2016-02-28 00:25:34 -08:00
Bobby Holley
2b44dda035
Bug 1251496 - Introduce a servo-side data structure to represent the style set. r=heycam
2016-02-28 00:25:33 -08:00
Cameron McCormack
bcc77d16f7
Bug 1250788 - Part 4: Implement enough of ServoStyleSet to handle the UA style sheets being added to it. r=bholley
2016-02-26 12:51:02 +11:00
Cameron McCormack
8de675032c
Bug 1250377 - Part 2: Stub out enough ServoStyleSet methods to be able to create one for a document. r=bholley
2016-02-24 18:01:12 +11:00
Cameron McCormack
c0e9a631c2
Bug 1244074 - Part 4: Use StyleSheetHandle instead of concrete style sheet class in most places. r=dholbert
2016-02-24 18:01:12 +11:00
Cameron McCormack
eb6f5a7218
Bug 1244068 - Part 2: Add skeleton ServoStyleSet and a StyleSetHandle smart pointer. r=dholbert
2016-02-24 18:01:10 +11:00