Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice sur class.csstidy_optimise.php : reverse_left_and_right_background_position( ) #62

Closed
marcimat opened this issue Oct 28, 2020 · 0 comments

Comments

@marcimat
Copy link
Contributor

En utilisant une fonction de transformation rtl, on obtient :
Notice: Undefined offset: 1 in … class.csstidy_optimise.php on line 1286

Dans la méthode reverse_left_and_right_background_position($value)

  • $value = "0 0"
  • $values = []

La trace indique qu’on arrive avec background: #fff, si ça peut aider...

^ array:27 [▼
  0 => array:7 [▼
    "file" => "class.csstidy_optimise.php"
    "line" => 1234
    "function" => "reverse_left_and_right_background_position"
    "class" => "csstidy_optimise"
    "object" => csstidy_optimise {#151 ▶}
    "type" => "->"
    "args" => array:1 [▼
      0 => "0 0"
    ]
  ]
  1 => array:7 [▼
    "file" => "class.csstidy_optimise.php"
    "line" => 1077
    "function" => "reverse_left_and_right_background"
    "class" => "csstidy_optimise"
    "object" => csstidy_optimise {#151 ▶}
    "type" => "->"
    "args" => array:1 [▼
      0 => "#fff"
    ]
  ]
  2 => array:7 [▼
    "file" => "class.csstidy_optimise.php"
    "line" => 79
    "function" => "reverse_left_and_right"
    "class" => "csstidy_optimise"
    "object" => csstidy_optimise {#151 ▶}
    "type" => "->"
    "args" => array:1 [▼
      0 => array:9 [▼
        "display" => "block"
        "margin" => "0"
        "padding" => "0"
        "min-height" => "3.2em"
        "background" => "#fff"
        "border" => "1px solid #ddd"
        "border-color" => "hsla(0,0%,0%,0.1)"
        "border-bottom-color" => "hsla(0,0%,0%,0.05)"
        "border-radius" => "6px 6px 0 0"
      ]
    ]
  ]
@Cerdic Cerdic closed this as completed in 4c9688f Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant