| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
|
| |
Bug: 1403078
Reviewed-by: heycam
MozReview-Commit-ID: Ij3nMOKu5FO
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
|
|
|
|
|
|
|
|
| |
only traversal.
Bug: 1402472
Reviewed-by: bholley
MozReview-Commit-ID: IFPA7LJpvsZ
|
|
|
|
|
| |
This way all the borrows stay in the sharing code, and prevents an extra borrow
on a cache hit, which is not a big deal but nice.
|
|
|
|
|
|
|
|
|
|
|
| |
It's easy to construct examples where not inserting in those cases causes performance
to get worse (for example, any long list of siblings that match the same selectors
while having some non-effectual differences in LocalName/Class/Id/etc). And the LRU
nature of the cache already does the right thing of pruning non-useful entries.
Fixing this causes several hundred more sharing hits on wikipedia.
MozReview-Commit-ID: L7W8vcMnHaq
|
| |
|
|
|
|
|
| |
This avoids doing wasted work, at least in the recascade case, and pretty likely
in the other as well.
|
|
|
|
| |
MozReview-Commit-ID: AFTwtzi4P93
|
|
|
|
|
|
| |
We'll use these next to propagate information about style reuse to the ElementDataFlags.
MozReview-Commit-ID: Dya6vgzydpL
|
|
|
|
|
|
| |
This gives us more flexibility, and doesn't cost us anything.
MozReview-Commit-ID: CuvOEcLA3My
|
|
|
|
|
|
| |
Without this change, the previous commit increases the size of ElementData.
MozReview-Commit-ID: 87BZuXINiT9
|
|
|
|
| |
MozReview-Commit-ID: 8emE83lykh3
|
|
|
|
| |
MozReview-Commit-ID: 70w3bZ2FU0W
|
|
|
|
| |
MozReview-Commit-ID: 2x9BIhmwH83
|
|
|
|
| |
MozReview-Commit-ID: EcVQDLoxwFP
|
|
|
|
|
|
|
| |
Bug: 1395227
Reviewed-by: heycam
MozReview-Commit-ID: JCZJl2fmtJ9
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
|
|
|
|
|
|
|
|
|
| |
One less hack, a few more to go.
Bug: 1374235
Reviewed-by: bholley
MozReview-Commit-ID: 6katL1EGn2U
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
|
| |
|
|
|
|
| |
MozReview-Commit-ID: 3tX3gHFTBT
|
|
|
|
|
|
| |
unified adaptive driver.
MozReview-Commit-ID: ADVTNJntzmp
|
|
|
|
| |
traversal.
|
|
|
|
|
|
| |
Ignoring :
- **generated**.rs
- python/tidy/servo_tidy_tests/rust_tidy.rs
|
|
|
|
| |
MozReview-Commit-ID: A8O3JOpsv4E
|
| |
|
|
|
|
| |
MozReview-Commit-ID: LeMhhcKoLr9
|
|
|
|
|
|
| |
subtrees.
MozReview-Commit-ID: 9KQVOpdEjwF
|
|
|
|
| |
MozReview-Commit-ID: 76q5XxK2o2a
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The buggy animation handling isn't a regression, since currently we pass
UnstyledChildrenOnly in those cases, which blocks the animation traversal
in Servo_TraverseSubtree.
In general I really wanted to handle these two paths together. But there's
enough broken with the NewChildren path that I wanted to scope the buginess
as tightly as possible. And I really need to separate the handling here from
StyleDocument() to make the restyle root stuff work.
MozReview-Commit-ID: 9F0mcQl7AAX
|
|
|
|
| |
MozReview-Commit-ID: 4BK0JfkgjdC
|
|
|
|
|
|
|
| |
Doing anything else is non-sensical, since we're not guaranteed to reach all of
the bits from traversal Y when doing traversal X.
MozReview-Commit-ID: FQliRxBan70
|
|
|
|
| |
MozReview-Commit-ID: ETDL8KsInAn
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is in a display:none subtree).
After bug 1356141, the setup of animation-only dirty bit should have matched
to normal dirty bit's one (Though they don't match in post traversal due to
throttled animation flush). An unset_animation_only_dirty_descendants call
removed in this patch cleared dirty bits which are needed for post traversal if
there is a second animation-only traversal and if there is no need to restyle
for the second animation-only traversal.
The reftest in this patch fails without either this fix or the fix for bug
1367975.
See [Gecko bug 1384435 comment 12](https://bugzilla.mozilla.org/show_bug.cgi?id=1384435#c12)
for more detail what's going on at that time.
|
|
|
|
| |
MozReview-Commit-ID: BCJg0Ycsy6M
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
style: Allow styles to be computed ignoring existing element data.
From https://bugzilla.mozilla.org/show_bug.cgi?id=1384824.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17972)
<!-- Reviewable:end -->
|
| | |
|
|/ |
|
|
|
|
|
|
| |
These will be useful in followup work.
MozReview-Commit-ID: Dyp9R0PG36v
|
|
|
|
|
|
|
|
|
| |
traversals.
We already have a more-specific check further down in the file, which was added in the same revision.
I think this one was erroneous.
MozReview-Commit-ID: CnP0zCpBtnp
|
|
|
|
| |
MozReview-Commit-ID: EVUzgnL5coN
|
| |
|
|
|
|
| |
MozReview-Commit-ID: DV9HfvbUjBY
|
| |
|
|
|
|
| |
The callee checks this.
|
|
|
|
| |
MozReview-Commit-ID: Ieg2GJT0yUl
|
| |
|
|
|
|
|
|
|
|
| |
In animation-only restyle, we just need to check the element
has animation restyle hints or has recascade self which is a result
of animation-only restyle for ancestors.
has_current_styles() in Servo_ResolveStyle() is intentionally left there,
it will be changed in a subsequent patch.
|
| |
|
| |
|
|
|
|
| |
For undisplayed elements, at least.
|
|
|
|
| |
MozReview-Commit-ID: DIHXaVNzbFM
|