| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
It is conditionally compiled to one implementation or the other
(Gecko or Servo) with `#[cfg(…)]`.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
StyleContext.
As a follow-up, we could move all the data living under a mutex in the
SharedLayoutContext only in order to create the local context to the same place.
This should increase animation performance when there are multiple animations in
one page that happen to be on different threads.
|
| |
|
| |
|
|
|
|
| |
Use the SharedStyleContext instead.
|
|
|
|
| |
This commit also removes StylistWrapper and uses Arc::get_mut instead.
|
|
|
|
| |
This is the first part of #10185. More to follow. I have built this locally with both servo and geckolib without errors; let's see if it succeeds on all platforms as well.
|
| |
|
|
This commit refactors the style crate to be completely independent of
the actual implementation and pseudo-elements supported.
This also adds a gecko backend which introduces parsing for the
anonymous box pseudo-elements[1], although there's still no way of
querying them.
https://mxr.mozilla.org/mozilla-central/source/layout/style/nsCSSAnonBoxList.h
|