mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Implement getComputedStyle
This commit is contained in:
parent
416931f4be
commit
e484d6b5e3
24 changed files with 886 additions and 152 deletions
|
@ -618,7 +618,7 @@ impl BlockFlow {
|
|||
|
||||
pub fn transform_requires_layer(&self) -> bool {
|
||||
// Check if the transform matrix is 2D or 3D
|
||||
if let Some(ref transform_list) = self.fragment.style().get_effects().transform {
|
||||
if let Some(ref transform_list) = self.fragment.style().get_effects().transform.0 {
|
||||
for transform in transform_list {
|
||||
match transform {
|
||||
&transform::ComputedOperation::Perspective(..) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue